Felsenstein's tree-pruning algorithm
In statistical genetics, Felsenstein's tree-pruning algorithm (or Felsenstein's tree-peeling algorithm), attributed to Joseph Felsenstein, is an algorithm for efficiently computing the likelihood of an evolutionary tree from nucleic acid sequence data. [1][2]
The algorithm is often used as a subroutine in a search for a maximum likelihood estimate for an evolutionary tree. Further, it can be used in a hypothesis test for whether evolutionary rates are constant (by using likelihood ratio tests). It can also be used to provide error estimates for the parameters describing an evolutionary tree.
Details
[edit]![](http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Tree_exemple.png/220px-Tree_exemple.png)
The likelihood of a tree is, by definition, the probability of observing certain data ( being a nucleotide sequence alignment for example i.e. a succession of DNA site ) given the tree. It is often written : .
Here is an example of an evolutionary tree on arbitrary sequence data :
This is a key value and is often quite complicated to compute. To ease the computations, Felsenstein and his colleagues used several assumptions that are still widely used today. The main assumption is that mutations between DNA sites are independent of each other. This permits to compute the likelihood as a simple product of probabilities. Now you can divide the data between several for each nucleotide site inside of . The global likelihood of the tree will be the product of the likelihoods of each site:
![](http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Tree_partial_exemple.png/220px-Tree_partial_exemple.png)
If I reuse the example above, tree would be:
The second assumption concerns the models of DNA sequence evolution. The computation of the likelihood needs the nucleotide frequencies as well as the transition probabilities (when a mutation occurs, probability of going from a nucleotide to another). The simplest model is the Jukes-Cantor model, assuming equal nucleotide frequencies and equal transition probabilities from to ( and ) and idem for the other bases. Here is the global mutation rate of the model.
Felsenstein proposed to decomposed computations even more by using "partial likelihoods" in the computation of . Here is how it works.
Assume we are on a node on the tree . has two daughter nodes and and, for each DNA base present on , we can define a partial likelihood such as:
where and are also DNA bases. is the transition probability from nucleotide to nucleotide (idem for ). is the partial likelihood of the daughter node , evaluated on nucleotide (idem for ).
Using this formula, one has to start from the tips of the tree , then move towards the root and compute the partial likelihoods of each necessary node on the way (4 partial likelihoods per node). Having finished at the root of the tree, the likelihood of the tree (for this particular site) is then the sum of the partial likelihoods of the root times the appropriated nucleotide frequency.
After doing so for every site , one can finally obtain the likelihood of the global evolutionary tree by multiplying each "sublikelihood".
Algorithm
[edit]Simple Example
[edit]References
[edit]- ^ Felsenstein, J. (1973). "Maximum Likelihood and Minimum-Steps Methods for Estimating Evolutionary Trees from Data on Discrete Characters". Systematic Biology. 22 (3): 240–249. doi:10.1093/sysbio/22.3.240.
- ^ Felsenstein, J. (1981). "Evolutionary trees from DNA sequences: A maximum likelihood approach". Journal of Molecular Evolution. 17 (6): 368–376. Bibcode:1981JMolE..17..368F. doi:10.1007/BF01734359. PMID 7288891. S2CID 8024924.