mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Correct the orientation of the mutation pattern
This commit is contained in:
@ -315,7 +315,7 @@ func buildSamplePairs(seqs *[]*seqPCR, workers int) int {
|
|||||||
father := (*seqs)[j]
|
father := (*seqs)[j]
|
||||||
d, pos, a1, a2 := obialign.D1Or0(son.Sequence, father.Sequence)
|
d, pos, a1, a2 := obialign.D1Or0(son.Sequence, father.Sequence)
|
||||||
if d > 0 {
|
if d > 0 {
|
||||||
son.Edges = append(son.Edges, makeEdge(j, d, pos, a1, a2))
|
son.Edges = append(son.Edges, makeEdge(j, d, pos, a2, a1))
|
||||||
father.SonCount++
|
father.SonCount++
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user