mismatches * Math.log10(probMismatch) +
matches * Math.log10(1-probMismatch);
}
return model;
}
<BUG>private int getNumberOfMismatches(byte[] data, Collection<Byte> refBase) {
</BUG>
int mismatches = 0;
for (byte seqBase : data) {
if (!refBase.contains(seqBase))

mismatches * Math.log10(probMismatch) +
matches * Math.log10(1-probMismatch);
}
return model;
}
private int getNumberOfMismatches (byte[] data, Collection<Byte> refBase) {
int mismatches = 0;
for (byte seqBase : data) {
if (!refBase.contains(seqBase))
