From 7e3ece53bd9fd76660b8d1dcc499ea010a382ec1 Mon Sep 17 00:00:00 2001 From: Sofia Stamouli <91951607+sofstam@users.noreply.github.com> Date: Tue, 29 Nov 2022 13:31:00 +0100 Subject: [PATCH] Update modules.config --- conf/modules.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/modules.config b/conf/modules.config index a2852d5..0f54301 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -447,12 +447,12 @@ process { withName: MOTUS_PROFILE { ext.args = { - [ + [ params.save_ncbi_id ? "-p" : "", params.save_read_counts ? "-c" : "", params.save_mgc_counts ? "-M ${task.ext.prefix}.mgc" : "" ].join(',').replaceAll(','," ") - } + } ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" } publishDir = [ path: { "${params.outdir}/motus/${meta.db_name}/" },