I used plink2 to make a vcf file from my .bed, .bim, and .fam files. This produced a vcf v4.3 file. Just realized that vcftools only supports 4.0, 4.1, and 4.2. How can I convert my file to a lower version?
I used plink2 to make a vcf file from my .bed, .bim, and .fam files. This produced a vcf v4.3 file. Just realized that vcftools only supports 4.0, 4.1, and 4.2. How can I convert my file to a lower version?
In plink2 there is a vcf-4.2 option .
EDIT: As genomax said, the VCFv4.3 doc seems to include the changes from 4.2 - I guess they did not make the same omission twice :-)
The tip mentioned here might be of use if you wish to find the difference between v4.3 and v4.2: https://bioinformatics.stackexchange.com/questions/344/whats-the-difference-between-vcf-spec-versions-4-1-and-4-2
you can download both specs in .tex format and do
diff
.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Oh dear, VCF versions rarely have tangible change logs or backwards compatible tools. I had to go from VCF4.2 to a rough 4.1 by removing all problematic loci I found, no clue what's changed in 4.3 :-(
List of changes at the end of VCF spec file. Hard to decipher.
Thank you. I actually just downloaded plink version 1.9 instead of 2.0 and then made the vcf file again from the original data.
Have you actually tried whatever you want to do? It may still very well work. The changes in v4.3 aren't all that extreme and mostly consist of a few new tags and making hard lines about how certain tags should be formatted and named.
I'd try it first. At worst, you might have to change some of the header lines.