diff --git a/src/nextflow.config b/src/nextflow.config index 54b4f32ef72ca89aea7e874c8dbab8e87b7146a5..b11d292647d4f2b4146c07b84371b78ab15d3955 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -46,4 +46,26 @@ profiles { } } } + singularity { + singularity.enabled = true + singularity.cacheDir = "./bin/" + process { + errorStrategy = 'finish' + memory = '16GB' + withLabel: big_mem_mono_cpus { + cpus = 1 + } + withLabel: big_mem_multi_cpus { + cpus = 4 + } + withLabel: small_mem_mono_cpus { + cpus = 1 + memory = '2GB' + } + withLabel: small_mem_multi_cpus { + cpus = 4 + memory = '2GB' + } + } + } }