Skip to content

t-whalley/tajima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tajima's D

What is Tajima's D

Tajima's D is the difference of two population genetics measures, the average number of pairwise differences and the total number of segregating sites (bases where these differences occur). This is scaled to be behaving such that this would be the same as in a neutrally evolving population of constant size.

The equation is as follows:

alt text

where 0t is the number of pairwise differences and 0w is the number of segregating sites.

installation

To install locally:

python setup.py install

or via pip:

pip install tajima

Running the script

tajima -F fasta_file

and to perform alignment using MUSCLE (if the FASTA is not of equal length):

tajima -F fasta_file -M

About

Quick and simple implementation of Tajima's D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages