This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to calculate SNP frequency for each population in bfile using plink?

I want to calculate frequency of a SNP for each population in bfile using plink...Please help..!!Thanks in advance

frequency

What have you tried?

I have tried 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?

0 answers

No answers yet.

Log in to answer this question.