From edde1ee64dffd02a922a78c1fba54f0a74fb4281 Mon Sep 17 00:00:00 2001 From: MaxUlysse Date: Wed, 20 Nov 2019 16:03:27 +0100 Subject: [PATCH] fix container/module collision --- conf/pipeline/sarek/munin.config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/pipeline/sarek/munin.config b/conf/pipeline/sarek/munin.config index eccd147..b7b92f2 100644 --- a/conf/pipeline/sarek/munin.config +++ b/conf/pipeline/sarek/munin.config @@ -18,8 +18,10 @@ params { vep_cache = '/data1/cache/VEP/' } -// Specific nf-core/sarek configuration -withLabel:sentieon { - module = {params.sentieon ? 'sentieon/201808.05' : ''} - if (params.sentieon) container = '' -} +// Specific nf-core/sarek process configuration +process { + withLabel:sentieon { + beforeScript = {params.sentieon ? 'module load sentieon/201808.05' : ''} + container = {params.sentieon ? '' : 'nfcore/sarek:dev'} + } +} \ No newline at end of file