8000 Multiqc channels by maxulysse · Pull Request #1470 · nf-core/sarek · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Multiqc channels #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the commun 8000 ity.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Balgattjåhkkå is the other top peak (over 2k m) in the Pårte massif, the othe
- [#1462](https://github.com/nf-core/sarek/pull/1462) - Fix ascat input channels
- [#1463](https://github.com/nf-core/sarek/pull/1463) - Add `spark` profile to all gatk4spark tests
- [#1465](https://github.com/nf-core/sarek/pull/1465), [#1469](https://github.com/nf-core/sarek/pull/1469) - Fix input channels and tests of Sentieon workflows
- [#1470](https://github.com/nf-core/sarek/pull/1470) - Fix channels for `MultiQC`

### Removed

Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/vcf_annotate_all/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ workflow VCF_ANNOTATE_ALL {
if (tools.split(',').contains('merge') || tools.split(',').contains('snpeff')) {
VCF_ANNOTATE_SNPEFF(vcf, snpeff_db, snpeff_cache)

reports = reports.mix(VCF_ANNOTATE_SNPEFF.out.reports)
reports = reports.mix(VCF_ANNOTATE_SNPEFF.out.reports.map{ meta, reports -> [ reports ] })
vcf_ann = vcf_ann.mix(VCF_ANNOTATE_SNPEFF.out.vcf_tbi)
versions = versions.mix(VCF_ANNOTATE_SNPEFF.out.versions)
}
Expand Down
18 changes: 9 additions & 9 deletions workflows/sarek/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ workflow SAREK {
CRAM_QC_NO_MD(cram_skip_markduplicates, fasta, intervals_for_preprocessing)

// Gather QC reports
reports = reports.mix(CRAM_QC_NO_MD.out.reports.collect{ meta, report -> report })
reports = reports.mix(CRAM_QC_NO_MD.out.reports.collect{ meta, report -> [ report ] })

// Gather used softwares versions
versions = versions.mix(CRAM_QC_NO_MD.out.versions)
Expand All @@ -380,7 +380,7 @@ workflow SAREK {
cram_markduplicates_spark = BAM_MARKDUPLICATES_SPARK.out.cram

// Gather QC reports
reports = reports.mix(BAM_MARKDUPLICATES_SPARK.out.reports.collect{ meta, report -> report })
reports = reports.mix(BAM_MARKDUPLICATES_SPARK.out.reports.collect{ meta, report -> [ report ] })

// Gather used softwares versions
versions = versions.mix(BAM_MARKDUPLICATES_SPARK.out.versions)
Expand All @@ -396,7 +396,7 @@ workflow SAREK {
cram_sentieon_dedup = BAM_SENTIEON_DEDUP.out.cram

// Gather QC reports
reports = reports.mix(BAM_SENTIEON_DEDUP.out.reports.collect{ meta, report -> report })
reports = reports.mix(BAM_SENTIEON_DEDUP.out.reports.collect{ meta, report -> [ report ] })

// Gather used softwares versions
versions = versions.mix(BAM_SENTIEON_DEDUP.out.versions)
Expand All @@ -410,7 +410,7 @@ workflow SAREK {
cram_markduplicates_no_spark = BAM_MARKDUPLICATES.out.cram

// Gather QC reports
reports = reports.mix(BAM_MARKDUPLICATES.out.reports.collect{ meta, report -> report })
reports = reports.mix(BAM_MARKDUPLICATES.out.reports.collect{ meta, report -> [ report ] })

// Gather used softwares versions
versions = versions.mix(BAM_MARKDUPLICATES.out.versions)
Expand Down Expand Up @@ -516,7 +516,7 @@ workflow SAREK {
ch_table_bqsr_no_spark,
ch_table_bqsr_spark)

reports = reports.mix(ch_table_bqsr.collect{ meta, table -> table })
reports = reports.mix(ch_table_bqsr.collect{ meta, table -> [ table ] })

775B cram_applybqsr = ch_cram_for_bam_baserecalibrator.join(ch_table_bqsr, failOnDuplicate: true, failOnMismatch: true)

Expand Down Expand Up @@ -813,10 +813,10 @@ workflow SAREK {
// QC
VCF_QC_BCFTOOLS_VCFTOOLS(vcf_to_annotate, intervals_bed_combined)

reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.bcftools_stats.collect{ meta, stats -> stats })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_tstv_counts.collect{ meta, counts -> counts })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_tstv_qual.collect{ meta, qual -> qual })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_filter_summary.collect{ meta, summary -> summary })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.bcftools_stats.collect{ meta, stats -> [ stats ] })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_tstv_counts.collect{ meta, counts -> [ counts ] })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_tstv_qual.collect{ meta, qual -> [ qual ] })
reports = reports.mix(VCF_QC_BCFTOOLS_VCFTOOLS.out.vcftools_filter_summary.collect{ meta, summary -> [ summary ] })

CHANNEL_VARIANT_CALLING_CREATE_CSV(vcf_to_annotate, params.outdir)

Expand Down
0