Skip to content

Commit

Permalink
Replace numeric with named outputs for GATK_HAPLOTYPECALLER (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot authored Nov 20, 2024
1 parent 38d3263 commit edec19b
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions hello-nextflow/hello-config/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down
4 changes: 2 additions & 2 deletions hello-nextflow/hello-modules/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down
6 changes: 3 additions & 3 deletions hello-nextflow/hello-nf-test/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ workflow {
ref_dict_file,
intervals_file
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down
4 changes: 2 additions & 2 deletions hello-nextflow/solutions/hello-config/final-main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down
4 changes: 2 additions & 2 deletions hello-nextflow/solutions/hello-modules/final-main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down
4 changes: 2 additions & 2 deletions hello-nextflow/solutions/hello-operators/hello-operators-2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB datastore
GATK_GENOMICSDB(
Expand Down
4 changes: 2 additions & 2 deletions hello-nextflow/solutions/hello-operators/hello-operators-3.nf
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ workflow {
)

// Collect variant calling outputs across samples
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out[0].collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out[1].collect()
all_gvcfs_ch = GATK_HAPLOTYPECALLER.out.vcf.collect()
all_idxs_ch = GATK_HAPLOTYPECALLER.out.idx.collect()

// Combine GVCFs into a GenomicsDB data store and apply joint genotyping
GATK_JOINTGENOTYPING(
Expand Down

0 comments on commit edec19b

Please sign in to comment.