-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabled GVCF type filtering support in SelectVariants #7193
Conversation
|
||
final IntegrationTestSpec spec = new IntegrationTestSpec( | ||
baseTestString(" --select-type-to-include SNP --ignore-non-ref-in-types ",testFile), | ||
Collections.singletonList(getToolTestDataDir() + "expected/" + "testSelectVariants_VariantTypeSelectionForGVCF.vcf") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been trying to move away from brittle exact match integration tests, but I think that this is fine here since there are no opportunities for numerical changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, very useful!
@michaelgatzen is this ready to be merged? |
I remember now why this was a draft for the longest time, and also probably why Travis failed - this was waiting for a release of htsjdk after samtools/htsjdk#1544, but I see that GATK master is using 3.0.1, which does include that htsjdk PR. It's probably still a good idea to run Travis |
- Added optional argument `--ignore-non-ref-in-types` to support correct handling of VariantContexts that contain a NON_REF allele - Default behavior does not change - Note that this only enables correct handling of GVCF input. The filtered output files are VCF (not GVCF) files, since reference blocks are not extended when a variant is filtered out - Added integration test
e9ca277
to
298037f
Compare
Dependent on HTSJDK release after samtools/htsjdk#1544
Fixes #7111
--ignore-non-ref-in-types
to support correct handling of VariantContexts that contain a NON_REF allele