Calculating Tajima's D from SNP frequency data
0
0
Entering edit mode
9.3 years ago

I have recently run some forward simulations that produce a table with with the major allele frequency for every SNP along single chromosome in my simulations populations. The table looks something like:

chr pos ref pop1    pop2    pop3
3R  56  A   0.833   0.902   0.523
3R  89  C   0.711   0.622   0.623
...

I was primarily interested in doing some heterzygosity calculations and Fst estimations to compare to results from my real data set, which was straight forward enough. However, if possible, I would also like to do Tajima's D calculations across 50kb windows from this simulated data set. Apologize if this is actually something really simple, but not quite sure how to do this with just SNP frequencies based on what I have read on how to do this calculation.

SNP R • 4.1k views
ADD COMMENT
0
Entering edit mode

Did you ever find a way to do this?

ADD REPLY
0
Entering edit mode

I don't think it's possible from this summarized data. Tajima's D is calculated within a population and requires knowing the number of pairwise differentiated sites between individuals.

ADD REPLY

Login before adding your answer.

Traffic: 2650 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6