iobio / vcf.iobio.io

MIT License
27 stars 11 forks source link

Error in index file nref=0 #31

Open AlistairNWard opened 8 years ago

AlistairNWard commented 8 years ago

The below files only contain chr22 or chrY and the compression is messed up. nref=0 in the index. We should catch the error and handle rather than opening app.

http://vcf.iobio.io/?vcf=https://s3.amazonaws.com/iobio/app_testing/vcf_files/fails_to_load_2.vcf.gz

http://vcf.iobio.io/?vcf=https://s3.amazonaws.com/iobio/app_testing/vcf_files/fails_to_load_3.vcf.gz

tonydisera commented 8 years ago

commit [a07aaef] fixed for local files. Still need to check n_ref in vcfReadDepther.