gatk-3.8/protected/java
Mark DePristo 6d22485a4c Critical bugfix to ReduceRead functionality of the GATKSAMRecord
-- The function getReducedCounts() was returning the undecoded reduced read tag, which looks like [10, 5, -1, -5] when the depths were [10, 15, 9, 5].  The only function that actually gave the real counts was getReducedCount(int i) which did the proper decoding.  Now GATKSAMRecord decodes the tag into the proper depths vector so that getReduceCounts() returns what one reasonably expects it to, and getReduceCount(i) merely looks up the value at i.  Added unit test to ensure this behavior going forward.
-- Changed the name of setReducedCounts() to setReducedCountsTag as this function assumes that counts have already been encoded in the tag way.
2013-04-08 12:47:50 -04:00
..
src/org/broadinstitute/sting Critical bugfix to ReduceRead functionality of the GATKSAMRecord 2013-04-08 12:47:50 -04:00
test/org/broadinstitute/sting HaplotypeCaller no longer creates haplotypes that involve cycles in the SeqGraph 2013-04-08 12:47:50 -04:00