EBIvariation / vcf-validator

Validation suite for Variant Call Format (VCF) files, implemented using C++11
Apache License 2.0
130 stars 39 forks source link

Warn if the input VCF is compressed #104

Closed cyenyxe closed 6 years ago

cyenyxe commented 6 years ago

If a compressed file or stream is provided using the -i parameter, regular errors are reported, but there's no clue that the input should be uncompressed.

A solution may involve reading magic numbers or extensions, although extra care must be taken in the case of reading from stdin.