From 8b9744723caf27536d42814ce4a150d31faba8f3 Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 4 May 2022 14:13:24 +0200 Subject: [PATCH] Fixes hasta java memory issues --- conf/hasta.config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/hasta.config b/conf/hasta.config index c5dd5e4..7db9b4c 100644 --- a/conf/hasta.config +++ b/conf/hasta.config @@ -21,6 +21,14 @@ params { process { executor = 'slurm' clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" } + + withName: QUALIMAP_BAMQC { + memory = 64.GB + ext.args = "--java-mem-size=60G" + } + withName: 'PICARD_COLLECTHSMETRICS|PICARD_COLLECTMULTIPLEMETRICS|COLLECTREADCOUNTS|DENOISEREADCOUNTS' { + clusterOptions = { task.memory ? "-l h_vmem=${task.memory.bytes/task.cpus}+2" : null } + } } profiles {