mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Stabilize the obipairing output. whant run twice on the same dataset results are identical
This commit is contained in:
1 parent
a6af0abdd8
commit
4117cbdd08
3 files changed
+33
-22
No files matched your search
@@ -122,6 +122,10 @@ func FastShiftFourMer(index [][]int, seq *obiseq.BioSequence, buffer *[]byte) (i
|
||||
if count > maxcount {
|
||||
maxshift = shift
|
||||
maxcount = count
|
||||
} else {
|
||||
if count == maxcount && shift < maxshift {
|
||||
maxshift = shift
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user