diff --git a/src/nextflow.config b/src/nextflow.config index 482bd94feab1c3119479ada97d7302a740297491..ed18089184a57f8d348816627c1aa399bb28c633 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -235,4 +235,34 @@ profiles { } } } + pollux_singularity { + singularity.enabled = true + singularity.cacheDir = "/opt/singularity/" + singularity.runOptions = "-B /home -B /data" + process { + memory = '16GB' + withLabel: big_mem_mono_cpus { + cpus = 1 + } + withLabel: big_mem_multi_cpus { + cpus = 8 + } + withLabel: small_mem_mono_cpus { + cpus = 1 + memory = '2GB' + } + withLabel: small_mem_multi_cpus { + cpus = 8 + memory = '2GB' + } + withLabel: mid_mem_mono_cpus { + cpus = 1 + memory = '8GB' + } + withLabel: mid_mem_multi_cpus { + cpus = 4 + memory = '8GB' + } + } + } }