*/
public GraphBasedLikelihoodCalculationEngine(final int gapExtensionPenalty, final double log10GlobalReadMismappingRate,
final HeterogeneousKmerSizeResolution heterogeneousKmerSizeResolution,
final boolean debug, final boolean debugHaplotypeGraphAndLikelihoods) {
gcpHMM = (byte) gapExtensionPenalty;
hmm = new FastLoglessPairHMM(gcpHMM);
this.log10GlobalReadMismappingRate = log10GlobalReadMismappingRate;
this.heterogeneousKmerSizeResolution = heterogeneousKmerSizeResolution;
debugMode = debugHaplotypeGraphAndLikelihoods ? DebugMode.EXTRA_DEBUG : debug ? DebugMode.DEBUG : DebugMode.NONE;
}