Skip to content

Gingr incorrectly displays lowercase VCF entries #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joshwkearney opened this issue Jun 10, 2021 · 0 comments
Open

Gingr incorrectly displays lowercase VCF entries #19

joshwkearney opened this issue Jun 10, 2021 · 0 comments

Comments

@joshwkearney
Copy link

I'm using Gingr (v1.3) to visualize SNPs and I found that certain VCF files are displayed incorrectly. This happens when the ref or alt columns in the VCF files are lowercase instead of uppercase. The VCF spec defines these fields to be case-insensitive.

What's expected:
Gingr should display variant bases below reference bases and emphasize variant positions. Load the attached test.vcf and ref.fa for an example.

What happens:
When the ref and alt VCF columns are lowercase, Gingr does not display variant bases and instead shows the reference base for all genomes. The entire column is emphasized instead of only the variant bases. Load the attached test-lower.vcf and ref.fa for an example.

test.vcf.txt
test-lower.vcf.txt
ref.fa.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant