Skip to content

Commit

Permalink
Refactor peak_call_grouped.smk to use define_memory_requested functio…
Browse files Browse the repository at this point in the history
…n for memory resource calculation
  • Loading branch information
alsmith151 committed Jul 25, 2024
1 parent dccdc8e commit 8bd274b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqnado/workflow/rules/peak_call_grouped.smk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rule lanceotron_no_input_consensus:
peaks="seqnado_output/peaks/merged/lanceotron/{group}.bed",
threads: 8
resources:
runtime=lambda wildcards, attempt: define_time_requested(initial_value=4, attempts=attempt, scale=SCALE_RESOURCES),
runtime=lambda wildcards, attempt: define_time_requested(initial_value=4, attempts=attempt, scale=SCALE_RESOURCES),
mem=lambda wildcards, attempt: define_memory_requested(initial_value=10, attempts=attempt, scale=SCALE_RESOURCES),
params:
outdir="seqnado_output/peaks/merged/lanceotron",
Expand Down

0 comments on commit 8bd274b

Please sign in to comment.