将vcf文件转化为plink格式并且保持phasing状态

VCFtools can convert VCF files into formats convenient for use in other programs. One such example is the ability to convert into PLINK format. The following function will output the variants in .ped and .map files.

./vcftools --vcf input_data.vcf --plink --chr 1 --out output_in_plink

原文地址:https://www.cnblogs.com/chenwenyan/p/9279980.html