Skip to content

Commit ca95b69

Browse files
author
Jose Soto
committed
lower allowable nubmer of variants qc check to 3 milliion from 10 million in array imputation qc wdl
1 parent 59e915a commit ca95b69

6 files changed

Lines changed: 18 additions & 8 deletions

File tree

pipelines/wdl/arrays/imputation_beagle/ImputationBeagle.changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.5.1
2+
2026-2-04 (Date of Last Commit)
3+
4+
* Update input_qc_version to 1.2.5 to match the latest changes in InputQC wdl.
5+
16
# 2.5.0
27
2026-01-27 (Date of Last Commit)
38

pipelines/wdl/arrays/imputation_beagle/ImputationBeagle.wdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import "../../../../tasks/wdl/ImputationTasks.wdl" as tasks
55
import "../../../../tasks/wdl/ImputationBeagleTasks.wdl" as beagleTasks
66

77
workflow ImputationBeagle {
8-
String pipeline_version = "2.5.0"
9-
String input_qc_version = "1.2.5"
8+
String pipeline_version = "2.5.1"
9+
String input_qc_version = "1.3.0"
1010
String quota_consumed_version = "1.1.0"
1111

1212
input {

pipelines/wdl/arrays/imputation_beagle/input_qc/ArrayImputationQC.changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.3.0
2+
2026-02-04 (Date of Last Commit)
3+
4+
* Lower variant number check to 3 million from 10 million to further prevent whole genome inputs from being submitted
5+
16
# 1.2.5
27
2025-12-23 (Date of Last Commit)
38

pipelines/wdl/arrays/imputation_beagle/input_qc/ArrayImputationQC.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "../../../../../tasks/wdl/ImputationBeagleQcTasks.wdl" as tasks
44

55
workflow InputQC {
66
# if this changes, update the input_qc_version value in ImputationBeagle.wdl
7-
String pipeline_version = "1.2.5"
7+
String pipeline_version = "1.3.0"
88

99

1010
input {

pipelines/wdl/arrays/imputation_beagle/input_qc/test_inputs/Plumbing/NA12878_wgs_chr20_qc_fails_too_many_records.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ArrayImputationQC.multi_sample_vcf": "gs://broad-gotc-test-storage/imputation_beagle/input_qc/scientific/vcfs/NA12878.annotated.chr20.g.vcf.gz",
2+
"ArrayImputationQC.multi_sample_vcf": "gs://broad-gotc-test-storage/imputation_beagle/input_qc/scientific/vcfs/NA12878.annotated.chr20_over_three_million_sites.g.vcf.gz",
33
"ArrayImputationQC.ref_dict": "gs://gcp-public-data--broad-references/hg38/v0/Homo_sapiens_assembly38.dict",
44
"ArrayImputationQC.reference_panel_path_prefix": "gs://broad-gotc-test-storage/imputation_beagle/scientific/1000G_HGDP_no_singletons_reference_panel/hgdp.tgp.gwaspy.AN_added.bcf.ac2",
55
"ArrayImputationQC.contigs": ["this_contig_is_not_in_inputs_1", "this_contig_is_not_in_inputs_2", "this_contig_is_not_in_inputs_3"],

tasks/wdl/ImputationBeagleQcTasks.wdl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ task QcChecks {
1818
# create empty qc messages file
1919
touch qc_messages.txt
2020
21-
# check for a large number of variants in input vcf and exit if greater than 10 million
21+
# check for a large number of variants in input vcf and exit if greater than 3 million
2222
line_count=$(bcftools stats ~{vcf_input} | grep "number of records:" | awk '{print $6}')
23-
if [ "$line_count" -gt 10000000 ]; then
24-
echo "Greater than 10 million variants found in the input VCF." >> qc_messages.txt
23+
if [ "$line_count" -gt 3000000 ]; then
24+
echo "Greater than 3 million variants found in the input VCF." >> qc_messages.txt
2525
echo "false" > passes_qc.txt
2626
exit 0
2727
else
28-
echo "Less than or equal to 10 million variants found in input VCF."
28+
echo "$line_count variants found in input VCF."
2929
fi
3030
3131
# grab header from vcf

0 commit comments

Comments
 (0)