Skip to content

Commit 4058246

Browse files
committed
chore: increase trimming and contaminant screening memory request
1 parent 5c6845e commit 4058246

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Snakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ rule trim_paired:
476476
r2_fastq=f"{cfg.data_root}/{{tissue}}/trim/{{tissue}}_{{tag}}_2.fastq.gz",
477477
r2_report=f"{cfg.data_root}/{{tissue}}/trim/{{tissue}}_{{tag}}_2_trimming_report.txt",
478478
resources:
479-
mem_mb=lambda wildcards, attempt: 1024 * attempt,
479+
mem_mb=lambda wildcards, attempt: 4096 * attempt,
480480
runtime=lambda wildcards, attempt: 45 * attempt,
481481
tissue=lambda wildcards: wildcards.tissue,
482482
threads: 4
@@ -771,7 +771,7 @@ rule contaminant_screen_paired:
771771
params:
772772
output_dir=f"{cfg.data_root}/{{tissue}}/fq_screen",
773773
resources:
774-
mem_mb=lambda wildcards, attempt: 1024 * attempt,
774+
mem_mb=lambda wildcards, attempt: 4069 * attempt,
775775
runtime=lambda wildcards, attempt: 10 * attempt,
776776
tissue=lambda wildcards: wildcards.tissue,
777777
threads: 5
@@ -824,7 +824,7 @@ rule contaminant_screen_single:
824824
params:
825825
output_dir=f"{cfg.data_root}/{{tissue}}/fq_screen"
826826
resources:
827-
mem_mb=lambda wildcards, attempt: 1024 * attempt,
827+
mem_mb=lambda wildcards, attempt: 4096 * attempt,
828828
runtime=lambda wildcards, attempt: 20 * attempt,
829829
tissue=lambda wildcards: wildcards.tissue,
830830
threads: 5

0 commit comments

Comments
 (0)