



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




When we infer a tree from genetic data using parsimony we minimize the amount of change along the branches of the tree. Similarly when we use the likelihood principle we minimize change conditional on a specific mutation model. The mutation model is crucial. The model can take into account that we do not observe all substitution events, because recent events might hide ancient events. Parsimony is therefore undercounting the number of changes and so might have a shorter tree than the true tree. Likelihood does not escape this problem either, we have either a tree that is shorter or the same length as the true tree.
An alternative to likelihood or parsimony is an approach based on evolutionary distances between a pair of sequences, where the distance is accounting for all unseen events, for example using similar mutation models as likelihood.
Pairwise distance methods are not so popular anymore because the are outperformed by likelihood methods. Pairwise methods evaluate all pairs of sequences and transform the differences into a distance. This essentially is a data reduction from a possibly many state difference to a single number. Combining these distances to estimate a tree must be less powerful than the full likelihood approach. In addition, an identical distance can be generated from different sequence pairs and once we only analyze the distance matrix that difference is lost. Using the number of different sites as a distance measure makes quickly clear that we can arrive at the same measure from different sequences.
Distance methods have still their merit because once the distance matrix is calculated the tree building can be very fast and under many circumstances are the trees generated with such methods not all that terrible and often are identical to the likelihood tree.
Table 1: Example of a problematic data sets for distance methods, the used distance is simply counting sites that are different between pairs.
Individual Sequence one ATTAGC two ATTGGC three ATGGGC four GTGGGC
Individual one two three four one - 1 2 3 two - 1 2 three - 1 four -
1 Additive distances
If we could estimate branch length on a tree with absolute certainty all distances on a tree would be additive, for example the distances between all the tips of the tree in Figure 1 are
dAB = v 1 + v 2 dAC = v 1 + v 3 + v 4 dAD = v 1 + v 3 + v 5 dBC = v 2 + v 3 + v 4 dBD = v 2 + v 3 + v 5 dCD = v 4 + v 5
Additive trees satisfy the four-point metric condition, for any four taxa A, B, C, and D,
dAB + dCD ≤ max(dAC + dBD, dAD + dBC )
Figure 1: Addititive tree.
weighting to separate the taxa i and j, and α can take values such as 1 or 2. With a value of α = 2 one uses a least-squares minimization. If α = 1 then the absolute differences will be minimized. The weightings wij can accommodate previous knowledge about the data, but often it is unclear what we know. The most common weightings are
wij = 1 All errors of the distances are the same wij = 1/d^2 ij percentage error is the same wij = 1/dij square root of the error is the same wij = 1/σ^2 error is inversely correlated to the expected variance of the measurements of dij
Missing data can be easily accommodated by setting the wij involving missing data to zero. If the variation of σ^2 is known this weighting would be preferred. Problems might arise when identical sequences are in the dataset.
For an unrooted tree there are 2T − 3 independent branches defining the pij values, and there are T (T − 1)/2 distinct distances. We can represent the tree as an indicator matrix A of T (T − 1)/ 2 rows and 2T − 3 columns. An element of this matrix is 1 if the branch k is part of connecting taxon i to taxon j otherwise it is zero. The p values can now be expresses as the
Av = p
v 1 v 2 v 3 v 4 v 5
pAB pAC pAD pBC pBD pCD
If the distances were additive then p = d for all pairs and we could solve the equation directly. but due to the imperfection of the data we use formula 2 to eliminate p in formula 1. Assuming α = 2 and wij = 1 we can find the branch length
v = (AT^ A)−^1 (AT^ d)
Still we need an appropriate search strategy to search for the best tree, but we can use any heuristic strategy can be used to do that.
Sometimes the solution of the above equation results in negative branch length, several strategies are described but most simply the negative branch length are set to zero without adjust the other branch lengths. If the data does not propose negative branch lengths the error estimate E will be accurate but when negative branch length are encountered the estimates of E will be too low.
Errors using this procedure come from two two sources: (1) we assuem each pairwise distance is independent of each other, this is certainly untrue. (2) any error in the data will be amplified by the pairwise use and underestimates similarity by state compared to similarity by descent (homoplasy).
Minimal evolution sets the weights to 1 and α = 2 and simply assumes that the sum of all branches are minimized (instead of all individual branches by itself)
L =
i 1
|vij | (3)
This was described by Kidd and Sgaramella-Zonta (1971). This was (re)described in 1992 by Rzhetsky and Nei as minimal evolution in a very similar form
L =
i 1
vij (4)
the newer version takes the absolute value which seems a big drawback but under realistic condition is often of no big concern. Some proponent claim that ME is superior to other techniques, although others have shown that the simple Fitch-Margoliash method works as well as ME with enough data.
3 Distance measures
To get a distance we need to have some model of change between the two sequences and a possible way to about this is to look at the frequency of changes between the two taxa:
nAA/N nAC /N nAG/N nAT /N nCA/N nCC /N nCG/N nCT /N nGA/N nGC /N nGG/N nGT /N nT A/N nT C /N nT G/N nT T /N
a b c d e f g h i j k l m n o p
Ambiguities are not coded correctly usign the above scheme, the uncertainties might be counted more than once, for example a Purine would be an A or a G and will overestimate the similarity.
The most simply distance is the p-distance or dissimilarity D. It is
dXY =b + c + d + e + g + h + i + j + l + m + n + o =1 − (a + f + k + p)
Algorithm 1 Neighbor joining
ri =
k=
dji
where N is the number of terminal nodes in the current matrix. Note that the assumption that dii = 0, otherwise the summation would need to skip over k = i.
Mij = dij − (ri − rj )/(N − 2)
only states i 6 = j are interesting, even only the minimum needs to be known.
viu =
dij 2 + (ri^ −^ rj^ ) 2(N − 2) vju^ =^ dij^ −^ viu
dku = (dik + djk + dij )/ 2