File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
exercises/03_first_pipeline/solutions Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,11 @@ include { multiqc } from "${projectDir}/../../modules/multiqc"
218218
219219workflow {
220220 ...
221- multiqc((fastqc_raw.out.fastqc_out).mix(fastqc_trim.out.fastqc_out).collect())
221+ multiqc_input = fastqc_raw.out.fastqc_out
222+ .mix(fastqc_trim.out.fastqc_out)
223+ .collect()
224+
225+ multiqc(multiqc_input)
222226}
223227```
224228````
Original file line number Diff line number Diff line change @@ -71,5 +71,9 @@ workflow {
7171 star_alignment(trimmomatic. out. trim_fq, star_idx. out. index, gtf)
7272
7373 // Multi QC on all results
74- multiqc((fastqc_raw. out. fastqc_out). mix(fastqc_trim. out. fastqc_out). collect())
74+ multiqc_input = fastqc_raw. out. fastqc_out
75+ .mix(fastqc_trim. out. fastqc_out)
76+ .collect()
77+
78+ multiqc(multiqc_input)
7579}
Original file line number Diff line number Diff line change @@ -71,7 +71,11 @@ workflow {
7171 star_alignment(trimmomatic. out. trim_fq, star_idx. out. index, gtf)
7272
7373 // Multi QC on all results
74- multiqc((fastqc_raw. out. fastqc_out). mix(fastqc_trim. out. fastqc_out). collect())
74+ multiqc_input = fastqc_raw. out. fastqc_out
75+ .mix(fastqc_trim. out. fastqc_out)
76+ .collect()
77+
78+ multiqc(multiqc_input)
7579}
7680
7781workflow. onComplete {
Original file line number Diff line number Diff line change @@ -64,7 +64,11 @@ workflow {
6464 salmon_quant(salmon_idx. out, read_pairs_ch)
6565
6666 // Multi QC on all results
67- multiqc((fastqc_raw. out. fastqc_out). mix(fastqc_trim. out. fastqc_out). collect())
67+ multiqc_input = fastqc_raw. out. fastqc_out
68+ .mix(fastqc_trim. out. fastqc_out)
69+ .collect()
70+
71+ multiqc(multiqc_input)
6872}
6973
7074workflow. onComplete {
You can’t perform that action at this time.
0 commit comments