diff --git a/conf/modules.config b/conf/modules.config index 9494e02..a2852d5 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -446,12 +446,12 @@ process { } withName: MOTUS_PROFILE { - ext.args = { + ext.args = { [ - params.save_ncbi_id ? "-p" : "", - params.save_read_counts ? "-c" : "", - params.save_mgc_counts ? "-M ${task.ext.prefix}.mgc" : "" - ].join(',').replaceAll(','," ") + 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 = [