Fix for bug reported on GetSatisfaction

This commit is contained in:
Eric Banks 2011-11-09 20:33:36 -05:00
parent d00b2c6599
commit 04b122be29
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ public class BaseCounts extends InfoFieldAnnotation {
int[] counts = new int[4];
for ( Map.Entry<String, AlignmentContext> sample : stratifiedContexts.entrySet() ) {
if ( !sample.getValue().hasBasePileup() )
continue;
for (byte base : sample.getValue().getBasePileup().getBases() ) {
int index = BaseUtils.simpleBaseToBaseIndex(base);
if ( index != -1 )