This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bcftools view error

Hello, I have been running into this error.

[E::bgzf_uncompress] Inflate operation failed: 1
Error: BCF read error

I am trying to create bcf files from vcf.gz, but it keeps running into this error. Does this mean my vcf.gz files are corrupted?

bcftools

first show us the output of

gunzip -t the.vcf.gz

also, show us the bcftools command line.

The bcftools command line is as follows:

The output of gunzip is as follows (which I am assuming means that there is some issue with the downloading of this file):

gzip: 1kGP_high_coverage_Illumina.chr1.filtered.SNV_INDEL_SV_phased_panel.vcf.gz: invalid compressed data--crc error

gzip: 1kGP_high_coverage_Illumina.chr1.filtered.SNV_INDEL_SV_phased_panel.vcf.gz: invalid compressed data--length error

The output of gunzip is as follows (which I am assuming means that there is some issue with the downloading of this file):

your files are broken

1 answer

The output of gunzip is as follows (which I am assuming means that there is some issue with the downloading of this file):

your files are corrupted/broken or not gzip compressed.

Download them again.

Okay, thank you. I will try that.

Log in to answer this question.