Disable caching in BQSR for now since it significantly slows down computation; will look into this in a bit.
This commit is contained in:
parent
e9d750297a
commit
96ea334bf2
|
|
@ -112,10 +112,12 @@ public class BaseRecalibration {
|
||||||
|
|
||||||
if (originalQualityScore >= QualityUtils.MIN_USABLE_Q_SCORE) { // only recalibrate usable qualities (the original quality will come from the instrument -- reported quality)
|
if (originalQualityScore >= QualityUtils.MIN_USABLE_Q_SCORE) { // only recalibrate usable qualities (the original quality will come from the instrument -- reported quality)
|
||||||
final int[] keySet = fullReadKeySet[offset]; // get the keyset for this base using the error model
|
final int[] keySet = fullReadKeySet[offset]; // get the keyset for this base using the error model
|
||||||
Byte recalibratedQualityScore = (Byte) qualityScoreByFullCovariateKey[errorModel.index].get(wrapKeySet(keySet));
|
//final Object[] wrappedKeySet = wrapKeySet(keySet);
|
||||||
|
//Byte recalibratedQualityScore = (Byte) qualityScoreByFullCovariateKey[errorModel.index].get(wrappedKeySet);
|
||||||
|
Byte recalibratedQualityScore = null;
|
||||||
if (recalibratedQualityScore == null) {
|
if (recalibratedQualityScore == null) {
|
||||||
recalibratedQualityScore = performSequentialQualityCalculation(keySet, errorModel); // recalibrate the base
|
recalibratedQualityScore = performSequentialQualityCalculation(keySet, errorModel); // recalibrate the base
|
||||||
qualityScoreByFullCovariateKey[errorModel.index].put(recalibratedQualityScore, keySet);
|
//qualityScoreByFullCovariateKey[errorModel.index].put(recalibratedQualityScore, wrappedKeySet);
|
||||||
}
|
}
|
||||||
quals[offset] = recalibratedQualityScore;
|
quals[offset] = recalibratedQualityScore;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue