Skip to content

Commit 3dd1f1f

Browse files
author
Jose Soto
committed
fix bad wdl
1 parent 334c0f2 commit 3dd1f1f

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

pipelines/wdl/arrays/imputation_beagle/ImputationBeagle.wdl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,20 +321,20 @@ workflow ImputationBeagle {
321321
322322
call beagleTasks.SelectVariantRecordsOnly {
323323
input:
324-
vcf = UpdateHeader.output_vcf,
325-
vcf_index = UpdateHeader.output_vcf_index,
324+
vcf = CreateIndexForGatheredChunkVcfs.output_vcf,
325+
vcf_index = CreateIndexForGatheredChunkVcfs.output_vcf_index,
326326
basename = referencePanelContig_2.contig + ".imputed.no_overlaps.update_header.only_variants",
327327
}
328328
329329
call beagleTasks.CreateHomRefSitesOnlyVcf {
330330
input:
331-
vcf = UpdateHeader.output_vcf,
332-
vcf_index = UpdateHeader.output_vcf_index,
331+
vcf = CreateIndexForGatheredChunkVcfs.output_vcf,
332+
vcf_index = CreateIndexForGatheredChunkVcfs.output_vcf_index,
333333
basename = referencePanelContig_2.contig + ".imputed.no_overlaps.update_header.only_hom_ref.sites_only",
334334
}
335335
336336
File chromosome_vcf = SelectVariantRecordsOnly.output_vcf
337-
File chromsome_hom_ref_sites_only_vcfs = CreateHomRefSitesOnlyVcf.output_vcf
337+
File chromsome_hom_ref_sites_only_vcf = CreateHomRefSitesOnlyVcf.output_vcf
338338
}
339339
340340
call beagleTasks.GatherVcfsNoIndex {
@@ -353,7 +353,7 @@ workflow ImputationBeagle {
353353
354354
call beagleTasks.GatherVcfsNoIndex as GatherHomRefSitesOnlyVcfs {
355355
input:
356-
input_vcfs = chromsome_hom_ref_sites_only_vcfs,
356+
input_vcfs = chromsome_hom_ref_sites_only_vcf,
357357
output_vcf_basename = output_basename + ".imputed.hom_ref_sites_only",
358358
gatk_docker = gatk_docker
359359
}

tasks/wdl/ImputationBeagleTasks.wdl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,8 +1022,6 @@ task SelectVariantRecordsOnly {
10221022
set -e -o pipefail
10231023
10241024
bcftools view -i 'GT[*]="alt"' -Oz -o ~{basename}.vcf.gz ~{vcf}
1025-
1026-
bcftools index -t ~{basename}.vcf.gz
10271025
}
10281026

10291027
runtime {
@@ -1037,7 +1035,6 @@ task SelectVariantRecordsOnly {
10371035

10381036
output {
10391037
File output_vcf = "~{basename}.vcf.gz"
1040-
File output_vcf_index = "~{basename}.vcf.gz.tbi"
10411038
}
10421039
}
10431040

@@ -1065,8 +1062,6 @@ task CreateHomRefSitesOnlyVcf {
10651062
bcftools query -e 'GT[*]="alt"' -f '%CHROM\t%POS\t%ID\t%REF\t%ALT\t%QUAL\t%FILTER\t%INFO\n' ~{vcf} >> ~{basename}.vcf
10661063
10671064
bgzip ~{basename}.vcf
1068-
1069-
bcftools index -t ~{basename}.vcf.gz
10701065
}
10711066

10721067
runtime {
@@ -1080,6 +1075,5 @@ task CreateHomRefSitesOnlyVcf {
10801075

10811076
output {
10821077
File output_vcf = "~{basename}.vcf.gz"
1083-
File output_vcf_index = "~{basename}.vcf.gz.tbi"
10841078
}
10851079
}

0 commit comments

Comments
 (0)