From b3f70a767fdf2d73207dbc9fca6979ac494c6461 Mon Sep 17 00:00:00 2001 From: CChahrour Date: Wed, 24 Apr 2024 14:15:32 +0100 Subject: [PATCH] increase resources for attempts for macs --- seqnado/workflow/rules/peak_call_chip.smk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seqnado/workflow/rules/peak_call_chip.smk b/seqnado/workflow/rules/peak_call_chip.smk index 39de4dfb..6cc9f462 100644 --- a/seqnado/workflow/rules/peak_call_chip.smk +++ b/seqnado/workflow/rules/peak_call_chip.smk @@ -64,7 +64,7 @@ rule macs2_with_input: basename=lambda wc, output: output.peaks.replace(".bed", ""), threads: 1 resources: - mem="2GB", + mem=lambda wildcards, attempt: f"{2 * 2 ** (attempt)}GB", runtime="2h", log: "seqnado_output/logs/macs/{sample}_{treatment}.log", @@ -87,7 +87,7 @@ rule macs2_no_input: basename=lambda wc, output: output.peaks.replace(".bed", ""), threads: 1 resources: - mem="2GB", + mem=lambda wildcards, attempt: f"{2 * 2 ** (attempt)}GB", runtime="2h", log: "seqnado_output/logs/macs/{sample}_{treatment}.log",