66
77include { FASTQC } from ' ../modules/nf-core/fastqc/main'
88
9- include { MULTIQC } from ' ../modules/nf-core/multiqc/main'
9+ include { MULTIQC as MULTIQC_GLOBAL } from ' ../modules/nf-core/multiqc/main'
1010include { MULTIQC as MULTIQC_PER_LANE } from ' ../modules/nf-core/multiqc/main'
1111include { MULTIQC as MULTIQC_PER_GROUP } from ' ../modules/nf-core/multiqc/main'
1212include { MULTIQC as MULTIQC_PER_RUNDIR } from ' ../modules/nf-core/multiqc/main'
@@ -84,7 +84,7 @@ workflow SEQINSPECTOR {
8484 )
8585 )
8686
87- MULTIQC (
87+ MULTIQC_GLOBAL (
8888 ch_multiqc_files
8989 .map { meta , file -> file }
9090 .mix(ch_multiqc_extra_files)
@@ -97,9 +97,8 @@ workflow SEQINSPECTOR {
9797 // Generate reports by lane
9898 multiqc_extra_files_per_lane = ch_multiqc_files
9999 .filter { meta, sample -> meta. lane }
100- .map { meta, sample -> meta. lane }
100+ .map { meta, sample -> [ lane : meta. lane] }
101101 .unique()
102- .map { lane -> [lane :lane] }
103102 .combine(ch_multiqc_extra_files)
104103
105104 lane_mqc_files = ch_multiqc_files
@@ -209,7 +208,7 @@ workflow SEQINSPECTOR {
209208 )
210209
211210 emit :
212- global_report = MULTIQC . out. report. toList() // channel: /path/to/multiqc_report.html
211+ global_report = MULTIQC_GLOBAL . out. report. toList() // channel: /path/to/multiqc_report.html
213212 lane_reports = MULTIQC_PER_LANE . out. report. toList() // channel: [ /path/to/multiqc_report.html ]
214213 group_reports = MULTIQC_PER_GROUP . out. report. toList() // channel: [ /path/to/multiqc_report.html ]
215214 rundir_reports = MULTIQC_PER_RUNDIR . out. report. toList() // channel: [ /path/to/multiqc_report.html ]
0 commit comments