Adds option to tune the pairing of the sequences in obipairing and some stats to the results

Former-commit-id: a6cf9cb4d4ab20a433a2534fd7d11cd3ca8ebbaa
This commit is contained in:
2023-11-24 12:29:37 +01:00
parent ec31ae86b9
commit b556e045e5
7 changed files with 178 additions and 102 deletions

View File

@@ -14,7 +14,7 @@ import (
func IPCRTagPESequencesBatch(iterator obiiter.IBioSequence,
gap float64, delta, minOverlap int,
minIdentity float64,
minIdentity float64, fastAlign, fastScoreRel,
withStats bool) obiiter.IBioSequence {
if !iterator.IsPaired() {
@@ -50,7 +50,8 @@ func IPCRTagPESequencesBatch(iterator obiiter.IBioSequence,
B := A.PairedWith()
consensus := obipairing.AssemblePESequences(
A.Copy(), B.ReverseComplement(false),
gap, delta, minOverlap, minIdentity, withStats, true, arena,
gap, delta, minOverlap, minIdentity, withStats, true,
fastAlign, fastScoreRel, arena,
)
consensus, err = ngsfilter.ExtractBarcode(consensus, true)