Commit e22b9645 authored by Thomas Van Parys's avatar Thomas Van Parys
Browse files

More memory for jobs spread over 4 cpus (#19)

parent 541ec443
...@@ -1040,8 +1040,9 @@ process wgd_mcl{ ...@@ -1040,8 +1040,9 @@ process wgd_mcl{
publishDir "${params.output}/wgd/mcl", mode: 'copy' publishDir "${params.output}/wgd/mcl", mode: 'copy'
tag "$species - $databaseSpecies" tag "$species - $databaseSpecies"
module 'mcl' module 'mcl'
memory '8 GB' memory '16 GB'
time '1h' time '1h'
cpus 4
input: input:
set file(blast_results), val(species), val(databaseSpecies) from new_species_blasts_tagged set file(blast_results), val(species), val(databaseSpecies) from new_species_blasts_tagged
...@@ -1095,7 +1096,7 @@ process wgd_ksd_paranome{ ...@@ -1095,7 +1096,7 @@ process wgd_ksd_paranome{
time '1h' time '1h'
memory { 4.GB + 2.GB * task.attempt } memory { 4.GB + 4.GB * task.attempt }
errorStrategy { task.attempt < 5 ? 'retry' : 'finish' } errorStrategy { task.attempt < 5 ? 'retry' : 'finish' }
maxRetries 4 maxRetries 4
...@@ -1127,7 +1128,7 @@ process wgd_ksd_one_v_one{ ...@@ -1127,7 +1128,7 @@ process wgd_ksd_one_v_one{
time '1h' time '1h'
memory { 4.GB + 1.GB * task.attempt } memory { 4.GB + 4.GB * task.attempt }
errorStrategy { task.attempt < 5 ? 'retry' : 'finish' } errorStrategy { task.attempt < 5 ? 'retry' : 'finish' }
maxRetries 4 maxRetries 4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment