return 1;
}
catch(exception& e) {
- m->errorOut(e, "QualityScores", "flipQScores");
+ m->errorOut(e, "QualityScores", "stripQualWindowAverage");
exit(1);
}
try {
int index = 0;
- for(int i=stop-1;i>=start;i--){
+ for(int i=stop-1;i>=start-1;i--){
reverseMap[index++][qScores[i]] += weight;
}
}
catch(exception& e) {
- m->errorOut(e, "QualityScores", "updateForwardMap");
+ m->errorOut(e, "QualityScores", "updateReverseMap");
exit(1);
}
}