1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-21 15:56:03 +00:00

More tweaks

This commit is contained in:
James Fellows Yates 2023-04-04 16:29:37 +02:00
parent ca9c0cf8fd
commit e5e0aab59d

View file

@ -339,6 +339,7 @@ process {
mode: params.publish_dir_mode,
enabled: params.perform_shortread_hostremoval,
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 }
]
]
@ -381,9 +382,10 @@ process {
[
path: { "${params.outdir}/analysis_ready_fastqs" },
mode: params.publish_dir_mode,
pattern: '*.fastq.gz',
pattern: '*.fq.gz',
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 }
]
]
}