mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-13 18:50:26 +00:00
Adds some stats in obiparing about fast align results
Former-commit-id: 44f6d6538e759dd7dc1db068a812957f6b20f50d
This commit is contained in:
@@ -108,7 +108,7 @@ func AssemblePESequences(seqA, seqB *obiseq.BioSequence,
|
||||
inplace bool,
|
||||
arenaAlign obialign.PEAlignArena) *obiseq.BioSequence {
|
||||
|
||||
score, path := obialign.PEAlign(seqA, seqB, gap, delta, arenaAlign)
|
||||
score, path, fastscore, over := obialign.PEAlign(seqA, seqB, gap, delta, arenaAlign)
|
||||
cons, match := obialign.BuildQualityConsensus(seqA, seqB, path, true)
|
||||
|
||||
left := path[0]
|
||||
@@ -123,6 +123,8 @@ func AssemblePESequences(seqA, seqB *obiseq.BioSequence,
|
||||
identity = 0
|
||||
}
|
||||
annot := cons.Annotations()
|
||||
annot["paring_fast_score"] = fastscore
|
||||
annot["paring_fast_overlap"] = over
|
||||
|
||||
if aliLength >= minOverlap && identity >= minIdentity {
|
||||
annot["mode"] = "alignment"
|
||||
@@ -216,7 +218,6 @@ func IAssemblePESequencesBatch(iterator obiiter.IBioSequence,
|
||||
nworkers = sizes[0]
|
||||
}
|
||||
|
||||
|
||||
newIter := obiiter.MakeIBioSequence()
|
||||
|
||||
newIter.Add(nworkers)
|
||||
|
||||
Reference in New Issue
Block a user