mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 00:56:04 +00:00
More tweaks
This commit is contained in:
parent
ca9c0cf8fd
commit
e5e0aab59d
1 changed files with 4 additions and 2 deletions
|
@ -339,6 +339,7 @@ process {
|
||||||
mode: params.publish_dir_mode,
|
mode: params.publish_dir_mode,
|
||||||
enabled: params.perform_shortread_hostremoval,
|
enabled: params.perform_shortread_hostremoval,
|
||||||
pattern: '*.fastq.gz',
|
pattern: '*.fastq.gz',
|
||||||
|
// Don't know why `!` doesn't work here, but `== false` makes it work...
|
||||||
saveAs: { ( params.perform_runmerging == false || params.perform_runmerging && !meta.is_multirun ) && params.perform_shortread_hostremoval && params.save_analysis_ready_fastqs ? it : null }
|
saveAs: { ( params.perform_runmerging == false || params.perform_runmerging && !meta.is_multirun ) && params.perform_shortread_hostremoval && params.save_analysis_ready_fastqs ? it : null }
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -381,9 +382,10 @@ process {
|
||||||
[
|
[
|
||||||
path: { "${params.outdir}/analysis_ready_fastqs" },
|
path: { "${params.outdir}/analysis_ready_fastqs" },
|
||||||
mode: params.publish_dir_mode,
|
mode: params.publish_dir_mode,
|
||||||
pattern: '*.fastq.gz',
|
pattern: '*.fq.gz',
|
||||||
enabled: params.save_analysis_ready_fastqs,
|
enabled: params.save_analysis_ready_fastqs,
|
||||||
saveAs: { ( !params.perform_runmerging | params.perform_runmerging && !meta.is_multirun ) && params.perform_longread_hostremoval && params.save_analysis_ready_fastqs ? it : null }
|
// Don't know why `!` doesn't work here, but `== false` makes it work...
|
||||||
|
saveAs: { ( !params.perform_runmerging || params.perform_runmerging && !meta.is_multirun ) && params.perform_longread_hostremoval && params.save_analysis_ready_fastqs ? it : null }
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue