From 770a35d7aca245ef12f9d820b90d639c398bdfb0 Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Tue, 29 Nov 2022 12:49:20 +0100 Subject: [PATCH] Update conf/modules.config --- conf/modules.config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/modules.config b/conf/modules.config index 7327a2b..9494e02 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -446,11 +446,13 @@ 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.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}/" },