Hi, I would like to know how could I procede to calculate the MAF for each SNP from a dataset of this type (output of impute2):
1 154970 rs184960399:50050116:G:A G A 1 0 0 1 0 0 1 0 0
2 154970 22:50050187:A:G A G 1 0 0 0.999 0.001 0 1 0 0
3 154970 22:50050266:G:A G A 1 0 0 1 0 0 1 0 0
4 154970 rs76985604:50050385:A:G A G 1 0 0 0.992 0.008 0 1 0 0
Each row is a SNP and from column 6th I have the probabilities of the three genotypes for each individual.
Thanks
You should have .info file from impute2's run. That file has exp_freq_a1 column per SNP. It tells frequency for a1 allele.