continue;
if (captureSubtitutionScores) {
byte score = (byte) (QS_asciiOffset + qualityScore[i
+ fromPosInRead]);
features.add(new BaseQualityScore(oneBasedPositionInRead,
score));
qualityAdded = true;
}
}
if (noQS)
continue;
if (!qualityAdded && refSNPs != null) {
byte snpOrNot = refSNPs[refCoord];
if (snpOrNot != 0) {
byte score = (byte) (QS_asciiOffset + qualityScore[i
+ fromPosInRead]);
features.add(new BaseQualityScore(oneBasedPositionInRead,
score));
qualityAdded = true;
landedRefMaskScores++;
}
}
if (!qualityAdded && refPile != null) {
if (refPile.shouldStore(refCoord, refBase)) {
byte score = (byte) (QS_asciiOffset + qualityScore[i
+ fromPosInRead]);
features.add(new BaseQualityScore(oneBasedPositionInRead,
score));
qualityAdded = true;
landedPiledScores++;
}
}
qualityMasked = (qualityScore[i + fromPosInRead] < uncategorisedQualityScoreCutoff);
if (!qualityAdded && qualityMasked) {
byte score = (byte) (QS_asciiOffset + qualityScore[i
+ fromPosInRead]);
features.add(new BaseQualityScore(oneBasedPositionInRead, score));
qualityAdded = true;
}
if (qualityAdded)
landedTotalScores++;