Entering edit mode
4.9 years ago
AHW
▴
90
I have a VCF file and the genotypes look like
1|0 1|0 0|1 1|0 0|1 0|1 0|1 0|0
In my other file, I have genotypes like AA, AB and BB
I was wondering if I can represent them in an equivalent form.
1|0 1|0 1|1 1|0 0|1 0|0
AB AB AA AB BA BB
Are both the same thing?
Thanks!. I have SNP calls, so how can I convert them in genotypes such as
AA, AB, and BB
.You can convert your genotype file into PED/MAP format by plink
For example
Thanks, it is not giving me anything like
AA, AB, BB
. It gives me two output files (.map, .ped), but not the information I am looking for. For example for SNPrs10001 G T
, I would like to have somethingrs10001 G T, AB
.