mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
FastLCS with maxError=-1 is equivalent to FullLCS.
This commit is contained in:
1 parent
4375dbd9bb
commit
f674200a6e
3 files changed
+10
-119
No files matched your search
@@ -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