From 67bb0273579d9da674d2a1014ae48c627bb28d68 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Wed, 19 Apr 2023 09:18:19 +0200 Subject: [PATCH] add singularity profile --- src/nextflow.config | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/nextflow.config b/src/nextflow.config index 54b4f32..b11d292 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' + } + } + } } -- GitLab