Fix for bug reported on GetSatisfaction
This commit is contained in:
parent
d00b2c6599
commit
04b122be29
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in New Issue