1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-24 09:09:56 +00:00

Updated resources requested by pipelines

This commit is contained in:
lquayle88 2022-09-23 17:01:58 +01:00
parent ab1ad832df
commit c42a5a9a94
4 changed files with 20 additions and 20 deletions

View file

@ -24,19 +24,19 @@ process {
// process labels // process labels
withLabel:process_low { withLabel:process_low {
cpus = { check_max( 5 * task.attempt, 'cpus' ) } cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) } time = { check_max( 4.h * task.attempt, 'time' ) }
} }
withLabel:process_medium { withLabel:process_medium {
cpus = { check_max( 10 * task.attempt, 'cpus' ) } cpus = { check_max( 4 * task.attempt, 'cpus' ) }
memory = { check_max( 12.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 6.h * task.attempt, 'time' ) } time = { check_max( 6.h * task.attempt, 'time' ) }
} }
withLabel:process_high { withLabel:process_high {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) } time = { check_max( 8.h * task.attempt, 'time' ) }
} }

View file

@ -24,19 +24,19 @@ process {
// process labels // process labels
withLabel:process_low { withLabel:process_low {
cpus = { check_max( 5 * task.attempt, 'cpus' ) } cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) } time = { check_max( 4.h * task.attempt, 'time' ) }
} }
withLabel:process_medium { withLabel:process_medium {
cpus = { check_max( 10 * task.attempt, 'cpus' ) } cpus = { check_max( 4 * task.attempt, 'cpus' ) }
memory = { check_max( 12.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 6.h * task.attempt, 'time' ) } time = { check_max( 6.h * task.attempt, 'time' ) }
} }
withLabel:process_high { withLabel:process_high {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) } time = { check_max( 8.h * task.attempt, 'time' ) }
} }

View file

@ -24,19 +24,19 @@ process {
// process labels // process labels
withLabel:process_low { withLabel:process_low {
cpus = { check_max( 5 * task.attempt, 'cpus' ) } cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) } time = { check_max( 4.h * task.attempt, 'time' ) }
} }
withLabel:process_medium { withLabel:process_medium {
cpus = { check_max( 10 * task.attempt, 'cpus' ) } cpus = { check_max( 4 * task.attempt, 'cpus' ) }
memory = { check_max( 12.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 6.h * task.attempt, 'time' ) } time = { check_max( 6.h * task.attempt, 'time' ) }
} }
withLabel:process_high { withLabel:process_high {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 8 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) } time = { check_max( 8.h * task.attempt, 'time' ) }
} }

View file

@ -24,19 +24,19 @@ process {
// process labels // process labels
withLabel:process_low { withLabel:process_low {
cpus = { check_max( 5 * task.attempt, 'cpus' ) } cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) } time = { check_max( 4.h * task.attempt, 'time' ) }
} }
withLabel:process_medium { withLabel:process_medium {
cpus = { check_max( 10 * task.attempt, 'cpus' ) } cpus = { check_max( 6 * task.attempt, 'cpus' ) }
memory = { check_max( 12.GB * task.attempt, 'memory' ) } memory = { check_max( 12.GB * task.attempt, 'memory' ) }
time = { check_max( 6.h * task.attempt, 'time' ) } time = { check_max( 6.h * task.attempt, 'time' ) }
} }
withLabel:process_high { withLabel:process_high {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 12 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) } time = { check_max( 8.h * task.attempt, 'time' ) }
} }
@ -53,13 +53,13 @@ process {
// process name // process name
withName:'BWAMEM1_MEM|BWAMEM2_MEM' { withName:'BWAMEM1_MEM|BWAMEM2_MEM' {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 12 * task.attempt, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) } time = { check_max( 8.h * task.attempt, 'time' ) }
} }
withName:'FASTP' { withName:'FASTP' {
cpus = { check_max( 15 * task.attempt, 'cpus' ) } cpus = { check_max( 12 * task.attempt, 'cpus' ) }
} }
withName:'FASTQC|FASTP|MOSDEPTH|SAMTOOLS_CONVERT' { withName:'FASTQC|FASTP|MOSDEPTH|SAMTOOLS_CONVERT' {