Question: vg call has very different variant number between xg and hg
1
gravatar for xwwang
11 weeks ago by
xwwang20
Gerogia , USA
xwwang20 wrote:

I find that the vg call has a very different number of variants between calling from the xg, xg packed file and hg (hashgraph), hg packed file. How to explain this? Which one is recommended?

command: tested vg version 1.27, 1.29

## For xg mode:
vg pack -x $graph.xg -g $graph.gam  -t 10 -o $graph.gam.pack
vg call -t 10 -m 1,2 $graph.vg  -k $graph.gam.pack  -a >$graph.gam.xg.vcf

## For hg mode:
vg convert $graph.vg -a >$graph.hg
vg pack -x $graph.hg -g $graph.gam -t 10 -o $graph.gam.hg.pack
vg call -t 10 -m 1,2 $graph.hg  -k $graph.gam.hg.pack  -a >$graph.gam.hg.vcf
vg • 176 views
ADD COMMENTlink modified 8 weeks ago by glenn.hickey220 • written 11 weeks ago by xwwang20

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

ADD REPLYlink written 11 weeks ago by Ram32k
1
gravatar for glenn.hickey
8 weeks ago by
glenn.hickey220
glenn.hickey220 wrote:

It is important that the same graph be used for both the pack and call commands. In your xg example, you are packing with the xg and calling with the vg. This will produce undefined results. If you pack and call with the same graph, the output should be identical regardless of the format.

ADD COMMENTlink written 8 weeks ago by glenn.hickey220
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1917 users visited in the last hour
_