I would like to use GWAsimulator to simulate GWAS data for different populations. This tool consider only phased data as input. Each row is a phased chromosome with bi allelic SNP, each allele coded as 0 or 1.
I choosed to simulate data using Hapmap3 for YRI population as input:
But, it is coded as A C G T and not as 0 1.
Do you know how can I convert it to 0 1 encoding? What package do I need to use? Otherwise, there are also the plink files format in the hapmap website,, can I convert ped file to hap file?
Thanks in advance for your suggestions.