1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

Moves qualimap arg to pipeline-specific config

This commit is contained in:
Emil 2022-05-30 12:58:12 +02:00
parent 29fa08c434
commit 8453f6b41a
2 changed files with 3 additions and 4 deletions

View file

@ -22,10 +22,6 @@ params {
process { process {
executor = 'slurm' executor = 'slurm'
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" } clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
withName: QUALIMAP_BAMQC {
ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" }
}
} }
profiles { profiles {

View file

@ -7,4 +7,7 @@ process {
cpus = { check_max( 16 * task.attempt, 'cpus' ) } cpus = { check_max( 16 * task.attempt, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) } memory = { check_max( 80.GB * task.attempt, 'memory' ) }
} }
withName:'QUALIMAP_BAMQC' {
ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" }
}
} }