Skip to content

tweaking M2 germline filter - #5595

Merged
davidbenjamin merged 1 commit into
masterfrom
db_bug_again
Jan 24, 2019
Merged

davidbenjamin merged 1 commit into
masterfrom
db_bug_again

Conversation

@davidbenjamin

Copy link
Copy Markdown
Contributor

@LeeTL1220 Can you review? This fixes your bug. I'm not putting in a regression test yet because i the upcoming filtering refactoring it will become much easier to unit test for bugs like this.

@madduran Yours too.

@codecov-io

codecov-io commented Jan 23, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5595 into master will decrease coverage by 0.005%.
The diff coverage is 87.5%.

@@               Coverage Diff               @@
##              master     #5595       +/-   ##
===============================================
- Coverage     86.838%   86.833%   -0.005%     
  Complexity     31439     31439               
===============================================
  Files           1928      1928               
  Lines         145340    145343        +3     
  Branches       16089     16089               
===============================================
- Hits          126211    126206        -5     
- Misses         13301     13308        +7     
- Partials        5828      5829        +1
Impacted Files Coverage Δ Complexity Δ
.../broadinstitute/hellbender/utils/QualityUtils.java 85.366% <100%> (+2.439%) 14 <0> (-1) ⬇️
...r/tools/walkers/mutect/Mutect2FilteringEngine.java 80.743% <85.714%> (-4.581%) 89 <3> (ø)
...nder/utils/runtime/StreamingProcessController.java 67.773% <0%> (-0.948%) 33% <0%> (-1%)
...ithwaterman/SmithWatermanIntelAlignerUnitTest.java 90% <0%> (+30%) 2% <0%> (ø) ⬇️
...utils/smithwaterman/SmithWatermanIntelAligner.java 90% <0%> (+40%) 3% <0%> (+2%) ⬆️

@LeeTL1220 LeeTL1220 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@davidbenjamin If there is no MathUtils.sum(int[]) that would allow you to avoid the int case, then merge away. Otherwise, get rid of the int case.

Either way, feel free to merge when addressed.


final int refCount = alleleCounts[0];

final int totalCount = (int) MathUtils.sum(alleleCounts);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am assuming that there is no int MathUtils.sum(int[])...

@davidbenjamin

Copy link
Copy Markdown
Contributor Author

These are failing with:

Error: (converted from warning) unable to access index for repository http://lib.stat.cmu.edu/R/CRAN/src/contrib
Execution halted
The command "if [[ $TEST_DOCKER != true ]]; then sudo mkdir -p /usr/local/lib/R/; sudo mkdir -p site-library; sudo ln -sFv ~/site-library /usr/local/lib/R/site-library; sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9; sudo add-apt-repository "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/"; sudo apt-get update; sudo apt-get install -y --force-yes r-base-dev=3.1.3-1trusty; sudo apt-get install -y --force-yes r-base-core=3.1.3-1trusty; sudo Rscript scripts/docker/gatkbase/install_R_packages.R; fi;" failed and exited with 1 during

which has nothing to do with the PR.

@LeeTL1220

Copy link
Copy Markdown
Contributor

@davidbenjamin I think @jonn-smith (or someone else on the engine team) knows how to get around the R issue.

@LeeTL1220

Copy link
Copy Markdown
Contributor

@davidbenjamin (Maybe just rebase to master)

@davidbenjamin
davidbenjamin merged commit f44a8ce into master Jan 24, 2019
@davidbenjamin
davidbenjamin deleted the db_bug_again branch January 24, 2019 15:51
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