I want to calculate frequency of a SNP for each population in bfile using plink...Please help..!!Thanks in advance
What have you tried?
I have tried plink --bfile data --freq --out freq
plink --bfile data --freq --out freq
Always mention what you need, what you have tried, what you get from your trials and how this differs from what you need. Outlining the above will help you and others solve your problem quickly.
above command give overall frequency, i want frequency for each population separately..
How are you incorporating the sample to population mapping? Imagine an Excel spreadsheet with variants in each row and samples in each column. Where is the information that gives you the population identifier given the sample identifier?
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy