I am trying to convert vcf format to plink format. I use this dataset (ALL.2of4intersection.20100804.genotypes.vcf.gz). Following is the command I used in my cmd:
plink2 --vcf ALL.2of4intersection.20100804.genotypes.vcf.gz --make-bed --out ALL.2of4intersection.20100804.genotypes
However, I have an error as follows: Error: --vcf file decompression faliure: Malformed BGZF block
Then, I tried to unzip the gz file as follows to check whether I can unzip it: gzip -d ALL.2of4intersection.20100804.genotypes.vcf.gz
Again, there is an error as follows: gzip: ALL.2of4intersection.20100804.genotypes.vcf.gz: invalid compressed data--crc error gzip: ALL.2of4intersection.20100804.genotypes.vcf.gz: invalid compressed data--length error
It would be very helpful if you could give me your suggestion for this error messages. Thank you!