Finalyse the obimultiplex with indels

Former-commit-id: cef0ac39dac0e02d16d4bd321966a0f8a67f2c85
This commit is contained in:
2023-03-21 22:01:02 +07:00
parent 27d6c60e25
commit d09011fac2
3 changed files with 10 additions and 2 deletions

View File

@ -370,10 +370,11 @@ func (pattern ApatPattern) BestMatch(sequence ApatSequence, begin, length int) (
score, lali := obialign.FastLCSEGFScoreByte(
(*cseq)[start:end],
(*cpattern)[0:int(pattern.pointer.pointer.patlen)],
nerr*2, true, &buffer)
nerr, true, &buffer)
nerr = lali - score
start = best[0] + int(pattern.pointer.pointer.patlen) - lali
end = start + lali
log.Println("results", score, lali, start, nerr)
return
}