mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Finalyse the obimultiplex with indels
Former-commit-id: cef0ac39dac0e02d16d4bd321966a0f8a67f2c85
This commit is contained in:
@ -49,6 +49,10 @@ func FastLCSEGFScoreByte(bA, bB []byte, maxError int, endgapfree bool, buffer *[
|
||||
|
||||
delta := lA - lB
|
||||
|
||||
if endgapfree {
|
||||
maxError += delta
|
||||
}
|
||||
|
||||
// The difference of length is larger the maximum allowed errors
|
||||
if delta > maxError {
|
||||
return -1, -1
|
||||
@ -170,6 +174,9 @@ func FastLCSEGFScoreByte(bA, bB []byte, maxError int, endgapfree bool, buffer *[
|
||||
// score = _setout(score)
|
||||
// }
|
||||
|
||||
if x == 0 || x == (even-1) {
|
||||
score = _setout(score)
|
||||
}
|
||||
// // BEGINNING OF DEBUG CODE //
|
||||
// if i < 2 && j < 5 {
|
||||
// log.Debugf("[%d,%d]\n",i,j)
|
||||
|
Reference in New Issue
Block a user