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}/" },