When I tried as follows, the edge was gone.
$ vg view -Fv test.gfa > test.vg
$ vg index -x test.xg test.vg
$ vg annotate -b test.bed -x test.xg -p > output.gam
$ vg augment -i test.vg output.gam > merged.vg
$ vg view merged.vg
graph path 'x' invalid: edge from 3 end to 3 end does not exist
[vg view] warning: graph is invalid!
H VN:Z:1.0
S 1 AT
S 2 GA
S 3 A
P x 1+,2+,3+,3-,2-,1- 2M,2M,1M,1M,2M,2M
P y 2+ 2M
L 1 + 2 + 0M
L 2 + 3 + 0M
Here are the contents of the files I used.
$ cat test.gfa
H VN:Z:1.0
S 1 ATGAA
P x 1+,1- 5M,5M
L 1 + 1 - 0M
$ cat test.bed
x 2 4 y
The version used is v1.23.0
I'd like to annotate without cutting the edge.
Can you help me?
When I tried as follows, the edge was gone.
Here are the contents of the files I used.
The version used is v1.23.0
I'd like to annotate without cutting the edge.
Can you help me?