diff --git a/conf/cbe.config b/conf/cbe.config index c303f92..aed9866 100755 --- a/conf/cbe.config +++ b/conf/cbe.config @@ -8,25 +8,15 @@ params { process { executor = 'slurm' module = 'singularity/3.2.1' - queue = 'c' + queue = { task.memory <= 170.GB ? 'c' : 'm' } + clusterOptions = { task.time <= 8.h ? '--qos short': task.time <= 48.h ? '--qos medium' : '--qos long' } } singularity.enabled = true params { - target_qos = 'medium' - params.max_cpus = 36 - params.max_memory = 170.GB - igenomesIgnore = true -} - -if (params.target_qos == 'short') { - params.max_time = 8.h - process.clusterOptions = '--qos short' -} else if (params.target_qos == 'medium') { - params.max_time = 2.d - process.clusterOptions = '--qos medium' -} else { params.max_time = 14.d - process.clusterOptions = '--qos long' -} + params.max_cpus = 36 + params.max_memory = 4.TB + igenomesIgnore = true +} \ No newline at end of file