-
Notifications
You must be signed in to change notification settings - Fork 594
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
Completes #5260 on GitHub. #5464
Conversation
… by ';' in a VCF file.
…broke due to the change in the test file complexExample1.vcf. I modified the file testSelectVariants_KeepSelectionID.vcf appropriately so that the tests pass as they should.
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.
Bak to @MartonKN
src/main/java/org/broadinstitute/hellbender/engine/filters/VariantIDsVariantFilter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/engine/filters/VariantIDsVariantFilter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/engine/filters/VariantIDsVariantFilter.java
Outdated
Show resolved
Hide resolved
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.
Made the requested changes -- thank you.
src/main/java/org/broadinstitute/hellbender/engine/filters/VariantIDsVariantFilter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/engine/filters/VariantIDsVariantFilter.java
Outdated
Show resolved
Hide resolved
.../java/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/HaplotypeCallerEngine.java
Outdated
Show resolved
Hide resolved
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.
Couple more changes.
@MartonKN Looks good! You can merge once tests pass. |
Codecov Report
@@ Coverage Diff @@
## master #5464 +/- ##
===============================================
- Coverage 86.986% 86.984% -0.002%
+ Complexity 31203 31201 -2
===============================================
Files 1909 1909
Lines 144195 144195
Branches 15951 15951
===============================================
- Hits 125429 125426 -3
- Misses 12997 13000 +3
Partials 5769 5769
|
@MartonKN Don't forget to delete the branch. Note that a link to do so pops up when you merge a PR. |
Changed SelectVariants so that it can handle multiple rsIDs separated by ';' in a VCF file.
The corresponding entry gets removed if any of those rsIDs has been set by the user to be deleted.
I also changed testExcludeSelectionIDFromFile() in SelectVariantsIntegrationTest to check this case.