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

Addressing issue #4712 #4770

Merged
merged 2 commits into from
May 18, 2018
Merged

Addressing issue #4712 #4770

merged 2 commits into from
May 18, 2018

Conversation

jonn-smith
Copy link
Collaborator

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).

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-io
Copy link

codecov-io commented May 15, 2018

Codecov Report

Merging #4770 into master will decrease coverage by 0.002%.
The diff coverage is 86.364%.

@@               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
Impacted Files Coverage Δ Complexity Δ
...llbender/utils/codecs/gencode/GencodeGtfCodec.java 55.328% <0%> (-0.228%) 49 <0> (ø)
.../tools/funcotator/dataSources/DataSourceUtils.java 56.79% <100%> (+0.359%) 35 <0> (+2) ⬆️
...dataSources/gencode/GencodeFuncotationFactory.java 82.334% <92.857%> (+0.337%) 150 <0> (+4) ⬆️
...utils/smithwaterman/SmithWatermanIntelAligner.java 50% <0%> (-30%) 1% <0%> (-2%)

Copy link
Contributor

@LeeTL1220 LeeTL1220 left a 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[][] {
// {
Copy link
Contributor

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?

Copy link
Collaborator Author

@jonn-smith jonn-smith May 15, 2018

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;
Copy link
Contributor

Choose a reason for hiding this comment

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

Extract constant.

@jonn-smith jonn-smith merged commit 62d0d53 into master May 18, 2018
@jonn-smith jonn-smith deleted the jts_utr_oob_fix_4712 branch May 18, 2018 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants