1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-09-21 06:02:03 +00:00

Makes qualimap fix work for most memory amounts

This commit is contained in:
Emil 2022-05-30 11:06:48 +02:00
parent e938f3606f
commit 19497a4183

View file

@ -23,8 +23,7 @@ process {
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
withName: QUALIMAP_BAMQC {
memory = 64.GB
ext.args = "--java-mem-size=60G"
ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" }
}
}