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

Update conf/modules.config

This commit is contained in:
James A. Fellows Yates 2022-11-29 12:49:20 +01:00 committed by GitHub
parent ba727a81ae
commit 770a35d7ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -446,11 +446,13 @@ 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}/" },