How to obtain the nodes in the graph corresponding to the variant in VCF
1
0
Entering edit mode
3 months ago
Wenhai • 0

I constructed a variation graph with a vcf file and a reference genome using vg construct. I hope to obtain the nodes in the graph corresponding to the variant in VCF. But I don't find the easy way to get it, although I believe that information can be obtained by traversing the reference path and connecting edges. Could you please help me? Thanks.

vg • 642 views
ADD COMMENT
0
Entering edit mode
3 months ago

Straightforward way is using vg deconstruct -a {vg_graph.gbz} > {variants_in_graph.vcf}. The variants can be refered back to the input vcf based on the position and REF/ALT alleles. Note that the variant ID is modified in the graph.

ADD COMMENT

Login before adding your answer.

Traffic: 6622 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6