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
I tried to load a vcf to igv.org/app and it didn't show any variants. On checking the vcf, I noticed there were tabs at the end of each line. So I removed the tabs from some lines and then the corresponding data showed up.
There are other whitespace problems with this file, I tried to validate it with the htsjdk and ran into this right away, although igv.js lets it slide.
The VCF specification does not allow for whitespace in the INFO field. Offending field value was "AN=6;AC=4;Het=0;Hom=2;AF=0.6667;TEN=case2HOM,case3HOM ", for input source: /Users/jrobinso/Downloads/tab_test.vcf.gz
You can probably fix this in the file js/variant/vcfParser around line 142 by trimming the line before splitting. However I suggest you also fix whatever is producing these files as they aren't going to work in other tools, certainly tools that use the htsjdk (such as IGV desktop, and the GATK tools).
I tried to load a vcf to igv.org/app and it didn't show any variants. On checking the vcf, I noticed there were tabs at the end of each line. So I removed the tabs from some lines and then the corresponding data showed up.
Attaching the file itself for reference.
tab_test.vcf.gz
Unfortunately, we have lots of such files and hoping something could be fixed at igv.js side.
I am happy to work on it if someone can point me to the relevant code.
Thank you
The text was updated successfully, but these errors were encountered: