From 8453f6b41a31146d512694175490b9e478a44a0d Mon Sep 17 00:00:00 2001 From: Emil Date: Mon, 30 May 2022 12:58:12 +0200 Subject: [PATCH] Moves qualimap arg to pipeline-specific config --- conf/hasta.config | 4 ---- conf/pipeline/raredisease/hasta.config | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/conf/hasta.config b/conf/hasta.config index 862676a..7e97e5a 100644 --- a/conf/hasta.config +++ b/conf/hasta.config @@ -22,10 +22,6 @@ params { process { executor = 'slurm' clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" } - - withName: QUALIMAP_BAMQC { - ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" } - } } profiles { diff --git a/conf/pipeline/raredisease/hasta.config b/conf/pipeline/raredisease/hasta.config index 96e3332..a076dbc 100644 --- a/conf/pipeline/raredisease/hasta.config +++ b/conf/pipeline/raredisease/hasta.config @@ -7,4 +7,7 @@ process { cpus = { check_max( 16 * task.attempt, 'cpus' ) } memory = { check_max( 80.GB * task.attempt, 'memory' ) } } + withName:'QUALIMAP_BAMQC' { + ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" } + } } \ No newline at end of file