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 24, 2024
1 parent b757016 commit c438e75
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 @@ -8,7 +8,7 @@ rule lanceotron_no_input_consensus:
threads: 8
resources:
runtime=lambda wildcards, attempt: define_time_requested(initial_value=4, attempts=attempt, scale=SCALE_RESOURCES),
mem=lambda wildcards, attempt: f"{10 * 2 ** (attempt - 1)}GB",
mem=lambda wildcards, attempt: define_memory_requested(initial_value=10, attempts=attempt, scale=SCALE_RESOURCES),,
params:
outdir="seqnado_output/peaks/merged/lanceotron",
options=check_options(config["lanceotron"]["callpeak"])
Expand Down

0 comments on commit c438e75

Please sign in to comment.