11#! /usr/bin/env nextflow
22
33// Nextflow Pipeline Version
4- params. release = " v0.2.4 "
5- params. releasedate = " 11-25-2024 "
6- params. githublink = " https://github.com/ohsu-cedar-comp-hub/WGS-nextflow-workflow/releases/tag/v0.2.4 "
4+ params. release = " "
5+ params. releasedate = " "
6+ params. githublink = " https://github.com/ohsu-cedar-comp-hub/WGS-nextflow-workflow/releases/tag/"
77
88// Import tools
99include { TUMORONLYGETPILEUPSUMMARIES } from ' ../../tools/gatk/get_pileup_summaries.nf'
@@ -33,15 +33,15 @@ workflow {
3333
3434 // gatk getpileupsummaries
3535 TUMORONLYGETPILEUPSUMMARIES (tumor_ch, tumor_ch_bai, params. exac)
36- tumor_table = GETPILEUPSUMMARIES . out
36+ tumor_table = TUMORONLYGETPILEUPSUMMARIES . out
3737
3838 // gatk calculate contamination from pileup summaries
3939 TUMORONLYCALCULATECONTAMINATION (tumor_table)
40- contam_table = CALCULATECONTAMINATION . out. contamination. collect()
41- segment_table = CALCULATECONTAMINATION . out. segment. collect()
40+ contam_table = TUMORONLYCALCULATECONTAMINATION . out. contamination. collect()
41+ segment_table = TUMORONLYCALCULATECONTAMINATION . out. segment. collect()
4242
4343 // Merge and prepare VCF
44- BGZIP (MUTECT2 . out. vcf) // concatenation requires bgzip'd files
44+ BGZIP (TUMORONLYMUTECT2 . out. vcf) // concatenation requires bgzip'd files
4545 vcfs_ch = BGZIP . out. vcf. collect() // collect all bgzip vcf outputs into a channel
4646 split_vcf_index = BGZIP . out. index. collect() // collect all bgzip index outputs into a channel
4747 // concatenate, normalize, and sort the VCF
@@ -50,13 +50,13 @@ workflow {
5050 unfiltered_vcf_index = PREPAREVCF . out. index
5151
5252 // Merge stats file
53- stats = MUTECT2 . out. stats
53+ stats = TUMORONLYMUTECT2 . out. stats
5454 stats_ch = stats. collect()
5555 MERGESTATS (stats_ch, params. sample_id)
5656 filter_stats = MERGESTATS . out
5757
5858 // Merge f1r2 read orientation files
59- f1r2files = MUTECT2 . out. f1r2
59+ f1r2files = TUMORONLYMUTECT2 . out. f1r2
6060 f1r2_ch = f1r2files. collect()
6161 LEARNORIENTATION (f1r2_ch, params. sample_id)
6262 orientationmodel = LEARNORIENTATION . out
0 commit comments