Closed AndreaGuarracino closed 1 year ago
Still buggy
cat t.gfa
H VN:Z:1.0
S 1 ATCG
P x 1+ *
odgi inject -i t.gfa -b <(echo -e "x\t1\t3\tA\nx\t1\t2\tB") -o - > /dev/null
[odgi::algorithms::inject_ranges] injection end point for interval B is not at a node boundary: off by 2 vs 3 on a node 1bp long
Inverting the end coordinates works:
odgi inject -i t.gfa -b <(echo -e "x\t1\t2\tA\nx\t1\t3\tB") -o - > /dev/null
This was leading to invalid paths when there were overlapping annotations to inject. See #475.