lh3 / bgt

Flexible genotype query among 30,000+ samples whole-genome
MIT License
96 stars 10 forks source link

[W::vcf_parse1] can't find '10' in the sequence dictionary #13

Closed SmDonkey closed 3 years ago

SmDonkey commented 3 years ago

HI! when i try to run compress order: ./bgt import -S -o archive input.vcf Error occured

lh3 commented 3 years ago

Probably because your VCF doesn't have ##contig lines.

SmDonkey commented 3 years ago

Probably because your VCF doesn't have ##contig lines.

It is from 1000 gp, download address is http://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/1000_genomes_project/release/20190312_biallelic_SNV_and_INDEL/ In addition to,And I found some other VCF files that it couldn't compress

lh3 commented 3 years ago

As I said, there no ##contig lines. You need to provide sequence names and lengths with -t.