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!
Plink provides its own functionality for converting vcf (and other format) files to plink-compatible ones. The command you're looking for is recode and the actual command would look like this:
plink --vcf myfile.vcf.gz --recode --out myfile