mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
FastLCS with maxError=-1 is equivalent to FullLCS.
This commit is contained in:
@@ -69,6 +69,10 @@ func FastLCSScore(seqA, seqB *obiseq.BioSequence, maxError int, buffer *[]uint64
|
||||
lA, lB = lB, lA
|
||||
}
|
||||
|
||||
if maxError == -1 {
|
||||
maxError = lA*2
|
||||
}
|
||||
|
||||
delta := lA - lB
|
||||
|
||||
// The difference of length is larger the maximum allowed errors
|
||||
|
||||
Reference in New Issue
Block a user