-
Notifications
You must be signed in to change notification settings - Fork 592
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
Addressing issue #4712 #4770
Addressing issue #4712 #4770
Conversation
Added in a script to pull down the latest Gencode data source. Fixed an issue in 5' UTR processing that would cause variant alleles with length > 1 to throw an exception (issue 4712). Added three test cases to prevent regression of issue 4712. Updated Gencode codec to be compatible with latest Gencode release (v28). Fixed a bug in the version detection for Funcotator data sources that would prevent newer data source versions from being detected as compatible (date comparison error).
Codecov Report
@@ Coverage Diff @@
## master #4770 +/- ##
===============================================
- Coverage 80.097% 80.095% -0.002%
- Complexity 17402 17406 +4
===============================================
Files 1080 1080
Lines 63067 63076 +9
Branches 10174 10181 +7
===============================================
+ Hits 50515 50521 +6
- Misses 8566 8569 +3
Partials 3986 3986
|
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.
@jonn-smith Minor stuff
@@ -181,20 +181,26 @@ private static void addManualAnnotationsToArguments(final ArgumentsBuilder argum | |||
@DataProvider | |||
public Object[][] provideForLargeDataValidationTest() { | |||
return new Object[][] { | |||
// { |
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 we get rid of commented code?
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.
Comments were added for testing, but these are valid tests that should be preserved.
Comments removed!
@@ -1074,32 +1073,38 @@ private GencodeFuncotation createUtrFuncotation(final VariantContext variant, | |||
// Get the 5' UTR sequence here. | |||
// Note: We grab 3 extra bases at the end (from the coding sequence) so that we can check for denovo starts | |||
// even if the variant occurs in the last base of the UTR. | |||
final int numExtraLeadingBases = 2; |
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.
Extract constant.
Added in a script to pull down the latest Gencode data source.
Fixed an issue in 5' UTR processing that would cause variant alleles with length > 1 to throw an exception (issue 4712).
Added three test cases to prevent regression of issue 4712.
Updated Gencode codec to be compatible with latest Gencode release (v28).
Fixed a bug in the version detection for Funcotator data sources that would prevent newer data source versions from being detected as compatible (date comparison error).