Tajima's D Using SNP data ONLY
2
0
Entering edit mode
7.6 years ago
aberry814 ▴ 80

Hi all,

I am new to selection studies, so I have poor intuition regarding Tajima's D interpretation. I have a dataset with 20,000 SNPs distributed across a haploid genome for ~150 samples. The whole genome is ~50Mb. I have been using the SNP alignment to calculate summary statistics like Tajima's D, rather than the whole genome alignment (because it takes exponentially shorter to calculate stats with 3Mb than 7.5 Gb). Does this affect my Tajima's D calculation? My understanding is that pi and theta only use segregating sites anyway, so as long as the window includes the same SNPs, the total window length shouldn't matter, meaning that a graph of D over the genome will look the same assuming the window sizes are proportional.

I appreciate your input.

Alex

Tajima's D SNP • 5.0k views
ADD COMMENT
0
Entering edit mode

Hi,

As you said Tajima's D is computed thanks to segregating sites, so it's ok to use only SNPs information to obtain it.

ADD REPLY
0
Entering edit mode
7.6 years ago
Pierre • 0

Hello,

I handle the same question as you except that I only have SNP data (and their relative position on the genome). Looking closer, Tajima's D seems to only require segregating sites. So, i guess that using SNP should be adequate. Nevertheless, I am questionning on the accuracy of the Tajima's D output.

ADD COMMENT
0
Entering edit mode

Even I also have SNP data, can you please suggest how to compute Tajima's D without vcf files?

Thank you!

ADD REPLY
0
Entering edit mode
3 months ago
xoaib • 0

Yes, your understanding is right. You can use this tool called vcf2tajima https://github.com/xoaib4/vcf2tajima

ADD COMMENT

Login before adding your answer.

Traffic: 2018 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