1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-11 00:23:08 +00:00

Apply review suggestions

This commit is contained in:
Sofia Stamouli 2022-11-29 11:58:23 +01:00
parent fb6be69d7e
commit 71b52b9c94
2 changed files with 6 additions and 2 deletions

View file

@ -446,7 +446,11 @@ process {
} }
withName: MOTUS_PROFILE { 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}" } ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
publishDir = [ publishDir = [
path: { "${params.outdir}/motus/${meta.db_name}/" }, path: { "${params.outdir}/motus/${meta.db_name}/" },

View file

@ -743,7 +743,7 @@
}, },
"save_read_counts": { "save_read_counts": {
"type": "boolean", "type": "boolean",
"description": "Print mOTUs result as counts instead of relative abundances.." "description": "Print mOTUs result as counts instead of relative abundances."
} }
} }
} }