Skip to content

By annotating, the edge is gone. #3017

@Masaki-Hongo

Description

@Masaki-Hongo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions