-
Notifications
You must be signed in to change notification settings - Fork 597
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
Populating the DB SNP validation status field properly #5046
Conversation
…hat is left is one more integration test.
Codecov Report
@@ Coverage Diff @@
## master #5046 +/- ##
===============================================
- Coverage 86.382% 85.374% -1.008%
- Complexity 28674 28718 +44
===============================================
Files 1785 1791 +6
Lines 132713 134756 +2043
Branches 14766 15131 +365
===============================================
+ Hits 114640 115047 +407
- Misses 12746 14348 +1602
- Partials 5327 5361 +34
|
@jonn-smith Looks like the travis failures are transient... |
@jonn-smith Can you review this? |
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.
One question and minor request.
if (doesRegion1ContainAnnotation && doesRegion2ContainAnnotation) { | ||
|
||
// Both regions contain an annotation and presumably these are of different values. | ||
return conflictFunction.apply(funcotation1.getField(fieldName), |
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.
Should we do anything differently if the values of the funcotations are the same?
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.
It already does nothing. Just takes the value. I think this is the correct behavior. No action.
|
||
import static org.broadinstitute.hellbender.tools.funcotator.mafOutput.MafOutputRendererConstants.MAF_RENDERING_DATASOURCE_DUMMY_NAME; | ||
import static org.broadinstitute.hellbender.tools.funcotator.mafOutput.MafOutputRendererConstants.*; |
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.
Can you remove the static import and reference the constants by full name instead?
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.
Done
@jonn-smith Can I merge if the tests pass? |
Travis error is transient. |
dbSNP_Val_Status
is incorrect when rendering MAF files. #4985