bioinformaticsvcftoolsvcf-variant-call-format

How to convert vcf file to ped file using plink?


I am trying to convert a .vcf file to a .ped file using plink. I have read some manuals and posts online, but it seems that no one specifically mentions how to convert vcf to ped.

I am hoping that there may be some experts here who have experience with plink to convert vcf to ped. I would appreciate it if you could share the knowledge. Moreover, if there is another way (non-plink) of doing that, please do share it.

Thank you!


Solution

  • I convert my vcf files to PLINK formats (ped, fam, map) using VCFtools: https://vcftools.github.io/man_latest.html

    My commands look like this:

    vcftools --vcf my_data.vcf --out my_data --plink