Skip to content

Commit

Permalink
adding hugemem to taxpasta partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminJPerry authored Sep 29, 2024
1 parent d691809 commit 148e804
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions workflow/GBS-TaFFE-214.smk
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ rule taxpasta_Kraken2_GTDB214_domain:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -524,7 +524,7 @@ rule taxpasta_Kraken2_GTDB214_phylum:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -552,7 +552,7 @@ rule taxpasta_Kraken2_GTDB214_order:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -580,7 +580,7 @@ rule taxpasta_Kraken2_GTDB214_class:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -608,7 +608,7 @@ rule taxpasta_Kraken2_GTDB214_family:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -636,7 +636,7 @@ rule taxpasta_Kraken2_GTDB214_genus:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -664,7 +664,7 @@ rule taxpasta_Kraken2_GTDB214_species:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -692,7 +692,7 @@ rule taxpasta_Kraken2_GTDB214_Biom:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 8),
time = lambda wildcards, attempt: 1440 + ((attempt - 1) * 1440),
partition = "compute"
partition = "compute,hugemem"
shell:
"taxpasta merge "
"-p kraken2 "
Expand Down Expand Up @@ -721,7 +721,7 @@ rule kraken2_host_filter:
resources:
mem_gb = lambda wildcards, attempt: 32 + ((attempt - 1) * 32),
time = lambda wildcards, attempt: 30 + ((attempt - 1) * 30),
partition = "compute"
partition = "compute,hugemem"
shell:
"kraken2 "
"--gzip-compressed "
Expand All @@ -748,7 +748,7 @@ rule kraken2_host_filter_gz:
resources:
mem_gb = lambda wildcards, attempt: 8 + ((attempt - 1) * 16),
time = lambda wildcards, attempt: 20 + ((attempt - 1) * 20),
partition = "compute"
partition = "compute,hugemem"
shell:
"pigz -p 12 "
"{input.k2_filtered_read} "
Expand Down

0 comments on commit 148e804

Please sign in to comment.