mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-23 12:29:55 +00:00
MultiQC optimisations for DIAMOND and Falco
This commit is contained in:
parent
0ed110c529
commit
1eb951715f
2 changed files with 7 additions and 3 deletions
|
@ -37,8 +37,7 @@ run_modules:
|
||||||
|
|
||||||
sp:
|
sp:
|
||||||
diamond:
|
diamond:
|
||||||
contents: "diamond v"
|
fn_re: ".*.diamond.log$"
|
||||||
num_lines: 10
|
|
||||||
fastqc/data:
|
fastqc/data:
|
||||||
fn_re: ".*(fastqc|falco)_data.txt$"
|
fn_re: ".*(fastqc|falco)_data.txt$"
|
||||||
fastqc/zip:
|
fastqc/zip:
|
||||||
|
|
|
@ -270,7 +270,12 @@ workflow TAXPROFILER {
|
||||||
ch_multiqc_files = ch_multiqc_files.mix(CUSTOM_DUMPSOFTWAREVERSIONS.out.mqc_yml.collect())
|
ch_multiqc_files = ch_multiqc_files.mix(CUSTOM_DUMPSOFTWAREVERSIONS.out.mqc_yml.collect())
|
||||||
|
|
||||||
if ( params.preprocessing_qc_tool == 'falco' ) {
|
if ( params.preprocessing_qc_tool == 'falco' ) {
|
||||||
ch_multiqc_files = ch_multiqc_files.mix(FALCO.out.txt.collect{it[1]}.ifEmpty([]))
|
// only mix in files acutally used by MultiQC
|
||||||
|
ch_multiqc_files = ch_multiqc_files.mix(FALCO.out.txt
|
||||||
|
.map { meta, reports -> reports }
|
||||||
|
.flatten()
|
||||||
|
.filter { path -> path.name.endsWith('_data.txt')}
|
||||||
|
.ifEmpty([]))
|
||||||
} else {
|
} else {
|
||||||
ch_multiqc_files = ch_multiqc_files.mix(FASTQC.out.zip.collect{it[1]}.ifEmpty([]))
|
ch_multiqc_files = ch_multiqc_files.mix(FASTQC.out.zip.collect{it[1]}.ifEmpty([]))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue