From 022f4ecea75b2c9f76829f79866dffdca3d15664 Mon Sep 17 00:00:00 2001 From: dimalvovs Date: Fri, 17 May 2024 11:18:54 -0400 Subject: [PATCH] move profiles down to see if those will overwrite resources --- nextflow.config | 61 ++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/nextflow.config b/nextflow.config index 49c94e6..2e4814d 100644 --- a/nextflow.config +++ b/nextflow.config @@ -1,34 +1,3 @@ -// ways to run the pipeline - -profiles { - docker { - docker.enabled = true - docker.userEmulation = true - } - - singularity { - singularity.enabled = true - singularity.autoMounts = true - } - - slurm { - singularity.enabled = true - singularity.autoMounts = true - process { - executor = 'slurm' - cpus = 10 - memory = '10 GB' - } - } - test { - process { - withName: COGAPS { - cpus = 1 - } - } - } -} - // default params params { outdir = 'out' @@ -157,4 +126,34 @@ process { errorStrategy = 'retry' maxRetries = 2 } +} + +// profiles to run the pipeline +profiles { + docker { + docker.enabled = true + docker.userEmulation = true + } + + singularity { + singularity.enabled = true + singularity.autoMounts = true + } + + slurm { + singularity.enabled = true + singularity.autoMounts = true + process { + executor = 'slurm' + cpus = 10 + memory = '10 GB' + } + } + test { + process { + withName: COGAPS { + cpus = 1 + } + } + } } \ No newline at end of file