Thanks!. I have SNP calls, so how can I convert them in genotypes such as AA, AB, and BB.
How to represent genotypes of form 1|1
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?
• 1,769 views
•
link
1 answer
• 0 views
•
link
You can convert your genotype file into PED/MAP format by plink
For example
plink1.9 --vcf your.vcf --recode --out example
• 0 views
•
link
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 SNP rs10001 G T, I would like to have something rs10001 G T, AB.
• 0 views
•
link
Log in to answer this question.