diff --git a/configs/node.config b/configs/node.config index 314e3a1..c9705b5 100644 --- a/configs/node.config +++ b/configs/node.config @@ -1,12 +1,12 @@ process { - withLabel: minimap2 { cpus = 24; memory = 24.GB } - withLabel: bwa { cpus = {24 * task.attempt}; memory = {24.GB * task.attempt } ; maxRetries = 3 ; errorStrategy = { task.exitStatus in 130..140 ? 'retry' : 'terminate' } } - withLabel: bbmap { cpus = 24; memory = 24.GB } - withLabel: smallTask { cpus = 1; memory = 2.GB } - withLabel: pysam { cpus = 2; memory = 4.GB } - withLabel: fastqc { cpus = {2 * task.attempt}; memory = {4.GB * task.attempt } ; maxRetries = 3 ; errorStrategy = { task.exitStatus in 130..140 ? 'retry' : 'terminate' } } - withLabel: multiqc { cpus = 4; memory = 4.GB } - withLabel: nanoplot { cpus = 8; memory = 8.GB } - withLabel: quast { cpus = 8; memory = 8.GB } + withLabel: minimap2 { cpus = 24; memory = {24.GB * task.attempt}; maxRetries = 4 ; errorStrategy = { task.exitStatus in 1 || 130..140 ? 'retry' : 'terminate' }; } + withLabel: bwa { cpus = 24; memory = {24.GB * task.attempt}; maxRetries = 3 ; errorStrategy = { task.exitStatus in 130..140 ? 'retry' : 'terminate' } } + withLabel: bbmap { cpus = 24; memory = {24.GB * task.attempt}; maxRetries = 6 ; errorStrategy = { task.exitStatus in 1 || 130..140 ? 'retry' : 'terminate' }; } + withLabel: smallTask { cpus = 1; memory = 2.GB } + withLabel: pysam { cpus = 2; memory = 4.GB } + withLabel: fastqc { cpus = 2; memory = {4.GB * task.attempt } ; maxRetries = 3 ; errorStrategy = { task.exitStatus in 130..140 ? 'retry' : 'terminate' }; } + withLabel: multiqc { cpus = 4; memory = 4.GB } + withLabel: nanoplot { cpus = 8; memory = 8.GB } + withLabel: quast { cpus = 8; memory = 8.GB } }