Skip to content

Commit

Permalink
Merge pull request #666 from SusiJo/multiqc_channels
Browse files Browse the repository at this point in the history
Simplify multiqc config channels
  • Loading branch information
maxulysse authored Jul 20, 2022
2 parents e5a4ffb + d83794f commit d1402dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#650](https://github.com/nf-core/sarek/pull/650) - Fix intervals checks
- [#654](https://github.com/nf-core/sarek/pull/654) - Allow any step but annotation to start from BAM files
- [#658](https://github.com/nf-core/sarek/pull/658) - Fix split fastq names in multiqc-report
- [#666](https://github.com/nf-core/sarek/pull/666) - Simplify multiqc config channel input

### Deprecated

Expand Down
9 changes: 4 additions & 5 deletions workflows/sarek.nf
Original file line number Diff line number Diff line change
Expand Up @@ -973,13 +973,12 @@ workflow SAREK {
ch_workflow_summary = Channel.value(workflow_summary)

ch_multiqc_files = Channel.empty().mix(ch_version_yaml,
Channel.from(ch_multiqc_config),
ch_multiqc_custom_config.collect().ifEmpty([]),
ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml'),
ch_reports.collect()
)
ch_reports.collect())

MULTIQC(ch_multiqc_files.collect(), ch_multiqc_config)
ch_multiqc_configs = Channel.from(ch_multiqc_config).mix(ch_multiqc_custom_config).ifEmpty([])

MULTIQC(ch_multiqc_files.collect(), ch_multiqc_configs.collect())
multiqc_report = MULTIQC.out.report.toList()
}
}
Expand Down

0 comments on commit d1402dd

Please sign in to comment.