Skip to content

Quickstart VCFTable example doesn't work #95

@ovesh

Description

@ovesh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions