You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected token 'I', "Internal S"... is not valid JSON #493
Hello. I encountered an error.
Unexpected token 'I', "Internal S"... is not valid JSON
When I only add the .xg file, it can be output. However, adding the .gbwt file causes the following error. This is the command I used to generate the .gbwt file. vg index -g c244_HA_Chr8A.gbwt c244_HA_Chr8A.vg
Could you help me take a look when you have time? Thank you very much.
To make the GBWT, you probably need a VCF, and a .vg file that was made with the -a option to vg construct.
To fix this bug, we need to add some machinery to detect when what was submitted as a GBWT file isn't actually a GBWT file, and produce a useful error message instead of this kind of internal error.
Activity
adamnovak commentedon Sep 8, 2025
I think that
vg index -gbuilds a GCSA2 index, not a GBWT. If you need a GBWT, you would use thevg gbwtsubcommand, which is documented at https://github.com/vgteam/vg/wiki/VG-GBWT-SubcommandTo make the GBWT, you probably need a VCF, and a
.vgfile that was made with the-aoption tovg construct.To fix this bug, we need to add some machinery to detect when what was submitted as a GBWT file isn't actually a GBWT file, and produce a useful error message instead of this kind of internal error.