2021-09-28 08:38:15 +00:00
|
|
|
process {
|
|
|
|
|
|
|
|
withName:'PICARD_MARKDUPLICATES' {
|
2022-02-21 15:19:17 +00:00
|
|
|
memory = { check_max( 90.GB * task.attempt, 'memory' ) }
|
2021-09-28 08:38:15 +00:00
|
|
|
}
|
|
|
|
withName:'DEEPVARIANT' {
|
|
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
2022-06-09 08:28:20 +00:00
|
|
|
|
|
|
|
// Java memory fixes
|
2022-05-30 10:58:12 +00:00
|
|
|
withName:'QUALIMAP_BAMQC' {
|
2022-06-09 08:28:20 +00:00
|
|
|
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''} ${task.memory ? "--mem ${task.memory.mega * 1.15 as long}M" : ''}" }
|
2022-05-30 10:58:12 +00:00
|
|
|
}
|
2022-06-09 08:28:20 +00:00
|
|
|
withName:'PICARD_MARKDUPLICATES' {
|
|
|
|
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''} ${task.memory ? "--mem ${task.memory.mega * 1.15 as long}M" : ''}" }
|
|
|
|
}
|
|
|
|
|
2021-09-28 08:38:15 +00:00
|
|
|
}
|