mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Work on iterators and recycling of biosequences
This commit is contained in:
@ -282,6 +282,11 @@ func PEAlign(seqA, seqB obiseq.BioSequence,
|
||||
_InitDNAScoreMatrix()
|
||||
}
|
||||
|
||||
// log.Println("==============")
|
||||
// log.Println(seqA.String())
|
||||
// log.Println(seqB.String())
|
||||
// log.Println("--------------")
|
||||
|
||||
index := obikmer.Index4mer(seqA,
|
||||
&arena.pointer.fastIndex,
|
||||
&arena.pointer.fastBuffer)
|
||||
@ -294,6 +299,10 @@ func PEAlign(seqA, seqB obiseq.BioSequence,
|
||||
over = seqB.Length() + shift
|
||||
}
|
||||
|
||||
// log.Println(seqA.String())
|
||||
// log.Println(seqB.String())
|
||||
// log.Printf("Shift : %d Score : %d Over : %d La : %d:%d Lb: %d:%d\n", shift, fastScore, over, seqA.Length(), len(seqA.Qualities()), seqB.Length(), len(seqB.Qualities()))
|
||||
|
||||
if fastScore+3 < over {
|
||||
if shift > 0 {
|
||||
startA = shift - delta
|
||||
|
Reference in New Issue
Block a user