mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
Reduce MPILEUP to 5GB
This commit is contained in:
parent
d0662a3acb
commit
8ae3cba5e3
1 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,10 @@ process {
|
||||||
beforeScript = 'module load apps/singularity/3.8.0'
|
beforeScript = 'module load apps/singularity/3.8.0'
|
||||||
executor = 'pbs'
|
executor = 'pbs'
|
||||||
|
|
||||||
|
errorStrategy = {task.exitStatus in [143,137,104,134,139,140] ? 'retry' : 'finish'}
|
||||||
|
maxErrors = '-1'
|
||||||
|
maxRetries = 3
|
||||||
|
|
||||||
withLabel:process_low {
|
withLabel:process_low {
|
||||||
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
||||||
|
@ -35,7 +39,7 @@ process {
|
||||||
|
|
||||||
withName: 'SAMTOOLS_MPILEUP' {
|
withName: 'SAMTOOLS_MPILEUP' {
|
||||||
cpus = 1
|
cpus = 1
|
||||||
memory = { 8.GB * task.attempt }
|
memory = { 5.GB * task.attempt }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue