Skip to content
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

Quickstart VCFTable example doesn't work #95

Open
ovesh opened this issue Sep 23, 2024 · 0 comments
Open

Quickstart VCFTable example doesn't work #95

ovesh opened this issue Sep 23, 2024 · 0 comments

Comments

@ovesh
Copy link
Contributor

ovesh commented Sep 23, 2024

Trying to open the file in the example results in this error:

>>> vcf = VCFTable.from_vcf("test.vcf.gz", Genome("hg19"), info_ids=["AF"], fmt_ids=["GT", "AD"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/foo/GenomeKit/genome_kit/vcf_table.py", line 247, in from_vcf
    VCFTable.build_vcfbin(
ValueError: src/variant_table.cpp:983: In VCF file: test.vcf.gz:9
  src/variant_table.cpp:751: Invalid REF "-".

The correct contents of the file are in demos/query_vcf.py

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