Skip to content
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

Fixed Concordance tool to allow for no variation alleles in the truth data. #5718

Merged
merged 2 commits into from
Feb 26, 2019

Conversation

jonn-smith
Copy link
Collaborator

Fixed Concordance tool to allow for no variation alleles in the truth data.

@codecov-io
Copy link

codecov-io commented Feb 25, 2019

Codecov Report

Merging #5718 into master will decrease coverage by 0.002%.
The diff coverage is 86.667%.

@@               Coverage Diff               @@
##              master     #5718       +/-   ##
===============================================
- Coverage     87.069%   87.067%   -0.003%     
- Complexity     31875     31880        +5     
===============================================
  Files           1940      1940               
  Lines         146738    146756       +18     
  Branches       16226     16229        +3     
===============================================
+ Hits          127764    127776       +12     
- Misses         13061     13065        +4     
- Partials        5913      5915        +2
Impacted Files Coverage Δ Complexity Δ
...walkers/validation/ConcordanceIntegrationTest.java 98.601% <100%> (-1.399%) 8 <6> (+2)
...llbender/tools/walkers/validation/Concordance.java 87.179% <50%> (-1.417%) 41 <0> (+2)
...oadinstitute/hellbender/utils/pairhmm/PairHMM.java 74.82% <0%> (-3.597%) 24% <0%> (ø)
...hellbender/utils/pairhmm/VectorLoglessPairHMM.java 85.526% <0%> (-1.316%) 12% <0%> (ø)
...nder/utils/runtime/StreamingProcessController.java 67.299% <0%> (-0.474%) 33% <0%> (ø)
...ithwaterman/SmithWatermanIntelAlignerUnitTest.java 60% <0%> (ø) 2% <0%> (ø) ⬇️
...e/hellbender/engine/AbstractConcordanceWalker.java 89.412% <0%> (+2.353%) 13% <0%> (ø) ⬇️
...utils/smithwaterman/SmithWatermanIntelAligner.java 80% <0%> (+30%) 3% <0%> (+2%) ⬆️

Copy link
Contributor

@davidbenjamin davidbenjamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments. You can merge without sending it back.

// we assume that the truth has a single alternate allele
final boolean containsAltAllele = eval.getAlternateAlleles().contains(truth.getAlternateAllele(0));
final boolean containsAltAllele =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the comment on line 294.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!


@Test
public void testDoesNotCrashWithNO_VARIATIONAlleles() {
final String testDir = toolsTestDir + "concordance/";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears elsewhere in this test class, so perhaps extract a static constant for it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! Fixed!

runCommandLine(args);

try {
final ConcordanceSummaryRecord.Reader reader = new ConcordanceSummaryRecord.Reader(summary);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some strange spacing here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. I didn't reformat the code before I checked it in. I like to align my blocks of variable definitions.

Fixed!

@jonn-smith jonn-smith merged commit e20bdea into master Feb 26, 2019
@jonn-smith jonn-smith deleted the jts_Concordance_fix_for_missing_alt_alleles branch February 26, 2019 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants