Skip to content

Commit

Permalink
memory/time fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdayris committed Dec 18, 2023
1 parent 2dbea37 commit f3dd770
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/agat/gff2gtf.smk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ rule agat_gff2gtf:
gtf="reference/{species}.{build}.{release}.gtf",
threads: 1
resources:
# Reserve 14Gb per attempt (max_vms: 12786.95 on Flamingo)
mem_mb=lambda wildcards, attempt: (1024 * 14) * attempt,
# Reserve 16Gb per attempt (max_vms: 12786.95 on Flamingo)
mem_mb=lambda wildcards, attempt: (1024 * 16) * attempt,
# Reserve 20min per attempts (hg38: 0:14:50 on Flamingo)
runtime=lambda wildcards, attempt: 20 * attempt,
tmpdir="tmp",
Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/raw_data/genome_variation.smk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ rule get_genome_vcf_variations:
resources:
# Reserve 700Mb per attempt (max_vms: 691.63 on Flamingo)
mem_mb=lambda wildcards, attempt: 700 * attempt,
# Reserve 45min per attempts (hg38: 0:42:53 on Flamingo)
runtime=lambda wildcards, attempt: 45 * attempt,
# Reserve 1h per attempts (hg38: 0:56:07 on Flamingo)
runtime=lambda wildcards, attempt: 60 * attempt,
tmpdir="tmp",
log:
"logs/get_genome/fasta_sequence/{species}.{build}.{release}.{datatype}.log",
Expand Down

0 comments on commit f3dd770

Please sign in to comment.