- assigned_to: Petr Danecek
vcf-validator expecting/crashing gzip format in non gzip file.
I'm guessing that the bug is looking for ".gz" in the filename and not requiring it to be at the end of the filename.
For a non-gzipped file:
gzip: clinvar_20130118.vcf.gz.pathogenic.cancer.txt.vcf: not in gzip format
Error reading VCF file.
at /home/achalk/software/vcftools_0.1.9/perl/Vcf.pm line 177
Vcf::throw('Vcf=HASH(0xec9850)', 'Error reading VCF file.\x{a}') called at /home/achalk/software/vcftools_0.1.9/perl/Vcf.pm line 314
Vcf::next_line('Vcf=HASH(0xec9850)') called at /home/achalk/software/vcftools_0.1.9/perl/Vcf.pm line 231
Vcf::_open('Vcf=HASH(0xec9850)') called at /home/achalk/software/vcftools_0.1.9/perl/Vcf.pm line 171
Vcf::new('Vcf', 'file', 'clinvar_20130118.vcf.gz.pathogenic.cancer.txt.vcf', 'warn_duplicates', 0) called at /usr/local/bin/vcf-validator line 56
main::do_validation('HASH(0xeacd80)') called at /usr/local/bin/vcf-validator line 14
achalk@svi2932:~/snp$ cp clinvar_20130118.vcf.gz.pathogenic.cancer.txt.vcf clinvar_20130118.pathogenic.cancer.vcf