1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 17:09:54 +00:00

Update modules.config

This commit is contained in:
Sofia Stamouli 2022-11-29 13:31:00 +01:00 committed by GitHub
parent 0088b07220
commit 7e3ece53bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,12 +447,12 @@ process {
withName: MOTUS_PROFILE { withName: MOTUS_PROFILE {
ext.args = { ext.args = {
[ [
params.save_ncbi_id ? "-p" : "", params.save_ncbi_id ? "-p" : "",
params.save_read_counts ? "-c" : "", params.save_read_counts ? "-c" : "",
params.save_mgc_counts ? "-M ${task.ext.prefix}.mgc" : "" params.save_mgc_counts ? "-M ${task.ext.prefix}.mgc" : ""
].join(',').replaceAll(','," ") ].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}/" },