Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Validate VariantContext AC and AF without genotypes #757
Comments
ronlevine
self-assigned this
Nov 25, 2016
ronlevine
changed the title from
Validate VariantContext AC and AF with missing genotypes to Validate VariantContext AC and AF without genotypes
Nov 25, 2016
ronlevine
referenced
this issue
Nov 27, 2016
Merged
Validate VariantContext AC and AF without genotypes #759
|
Closing since #759 is merged. |
ronlevine
closed this
Dec 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ronlevine commentedNov 25, 2016
Verify
From broadinstitute/gsa-unstable#1053 (comment)
Subject of the issue
A VC with a locus with no genotypes should check that
ANandAFhave the same number items as alternate alleles.Your environment
Steps to reproduce
Add
1 768589 . A C,G 76 PASS AC=1;AF=0.00047;AN=2120to the DataProvider forVariantContextUnitTest#testValidateChromosomeCountsFailureand run the test:./gradlew test --tests htsjdk.variant.variantcontext.VariantContextUnitTestExpected behaviour
A
TribbleExceptionshould be thrown.Actual behaviour
No exception is thrown.