Systematic Biology · 2012 · 70 citations · 31 references
Life SciencesBiologyEvolutionary BiologyEvolutionary TheoryMolecular EvolutionPhylogeneticsMolecular PhylogeneticsMolecular PhylogenyPhylogenetic AnalysisPhylogenetic InferencePhylogenetic TheoryPhylogenetic Tree ReconstructionPhylogenetic Model ComparisonPhylogenetic Reconstruction Models
The general time-reversible (GTR) model (Tavaré 1986) has been the workhorse of molecular phylogenetics for the last decade. GTR sits at the top of the ModelTest hierarchy of models (Posada and Crandall 1998) and, usually with the addition of invariant sites and a gamma distribution of rates across sites, is currently by far the most commonly selected model for phylogenetic inference (see Table 1). Popularity of phylogenetic models of DNA substitution as measured by the number of hits in Google Scholar (search conducted 21 January 2012) Notes: There are a small number of false positives and false negatives. JC69 is the Jukes–Cantor model (Jukes and Cantor 1969), K80 is the Kimura two-parameter model (Kimura 1981), F81 is the Felsenstein model (Felsenstein 1981), HKY was introduced in Hasegawa et al. (1985), and GMM is the general Markov model (Barry and Hartigan 1987). Popularity of phylogenetic models of DNA substitution as measured by the number of hits in Google Scholar (search conducted 21 January 2012) Notes: There are a small number of false positives and false negatives. JC69 is the Jukes–Cantor model (Jukes and Cantor 1969), K80 is the Kimura two-parameter model (Kimura 1981), F81 is the Felsenstein model (Felsenstein 1981), HKY was introduced in Hasegawa et al. (1985), and GMM is the general Markov model (Barry and Hartigan 1987). However, a recent publication (Sumner et al. 2012) shows that GTR, along with several other commonly used models, has an undesirable mathematical property that may be a cause of concern for the thoughtful phylogeneticist. In mathematical terms, the problem is simple: matrix multiplication of two GTR substitution matrices does not return another GTR matrix. It is the purpose of this article to give examples that demonstrate why this lack of closure may pose a problem for phylogenetic analysis and thus add GTR to the growing list of factors that are known to cause model misspecification in phylogenetics. The phylogenetics literature is rich with other examples of model misspecification, each with the potential to cause problems for inference. For example, Galtier (2004) considers the effect of nonindependence of sites, whereas Galtier and Gouy (1995) and Jermiin et al. (2004) have considered the effect of ignoring changing base composition across the tree. Lockhart et al. (1998), Lockhart et al. (2000) found instances of covarion evolution where the sites that are free to vary are different in distinct lineages, and Grievink et al. (2010) showed the potential for phylogenetic error in these scenarios. Kolaczkowski and Thornton (2004) looked at the effect on phylogenetic accuracy when different partitions of the data have different branch lengths (heterotachy). To exhibit that GTR could be causing model misspecification, we proceed as follows. Consider a single molecular sequence where each site evolves under the same, albeit heterogeneous, Markov process (we assume that sites evolve independently and under identical conditions). For time t = 0 to t1, the sequence evolves under a time-homogeneous Markov process with substitutions governed by a rate matrix Q1 whose ijth entry is the rate at which state i changes to state j, so that the corresponding probability substitution matrix is given by M1 = eQ1t1. Then a disruption occurs, and over time t2, the sequence again evolves under a time-homogeneous Markov process but with a different rate matrix Q2 governing the substitution rates, so that the corresponding substitution matrix for this time period is M2 = eQ2t2. This scenario is illustrated in Figure 1. Can an heterogeneous process with a single disruption be represented as a homogeneous process? The rate matrix Q^ satisfies eQ^(t1+t2)=eQ1t1eQ2t2. If Q1 and Q2 belong to a particular model class, Q− is the rate matrix in the same model class subject to the condition that eQ−(t1+t2) be as close to eQ1t1eQ2t2 as possible. As a consequence of the Markov assumption for the overall process, the substitution matrix that describes the probability of substitutions between time t = 0 and t = t1 + t2 can be expressed as the matrix product M^=M1M2. So far, so good, but then two questions naturally arise: 1. Is there a single rate matrix Q^ that can be used to describe the process from t = 0 to t = t1 + t2 as a homogeneous Markov process with eQ^(t1+t2)=M^? 2. If Q1 and Q2 are in a particular model class and (1) is true, will Q^ necessarily belong to the same class? The answer to the first question is “usually.” It is possible that, if Q1 and Q2 are very different, then Q^ may not be stochastic, that is, Q^ may have some negative or even complex off-diagonal entries. This possibility was noted by Baake and Haeseler (1999) and, in a slightly different context, Davies (2010) provides a useful review paper together with some illuminating examples. For the second question, Sumner et al. (2012) show that the answer is “sometimes,” depending on the model considered, and give conditions that ensure a “yes” answer. If the definition of a model class is extended to substitution matrices (some of which may not occur as the exponential of a rate matrix), the same conditions still ensure a “yes” answer to the modified question: 2′. If M1 and M2 are in a particular model class, will M^ necessarily belong to the same class? Critical to our present discussion, Sumner et al. (2012) show that for GTR the answer to either version of the second question is a definitive “no.” Why does this lack of closure under matrix multiplication for GTR matter for phylogenetics? In almost all standard phylogenetic studies, a model is used that assumes that a homogeneous Markov process generated the molecular data. This is implemented by taking a fixed rate matrix to apply at all times and on all lineages of the evolutionary tree and helps to maximize statistical power by reducing the number of free parameters present, thus keeping the corresponding estimation variance to a minimum. However, the thoughtful phylogeneticist does not necessarily believe that the truth of the matter is that the random process remained fixed through time and across the lineages of the evolutionary tree. Rather, biological reality is likely to consist of some form of time-dependent and lineage-specific evolution governed by varying substitution rates. Under the assumption of a Markov process, this corresponds mathematically to the rate matrix changing across the evolutionary tree. For example, it has long been known that base composition is not fixed throughout evolutionary history (Foster et al. 1997, Lockhart et al. 1992, Chang and Campbell 2000, Tarrío et al. 2001, Phillips et al. 2004) and that there is evidence that the Markov process varies across the evolutionary tree (Herbeck et al. 2005, Ota and Penny 2003). So, it is apparent that the thoughtful phylogeneticist already thinks of her model as a statistical pragmatist's average of the true heterogeneous process. In this light, multiplicatively closed models are then simply those where it is possible to assume a homogeneous model and “average out” these effects in a mathematically consistent way. Or, to make the point the other way around, the thoughtful phylogeneticist may be pleased to hear that for certain models it is possible to interpret her homogeneous model as providing an exact fit to a true heterogeneous process. Before discussing how the nonclosure of GTR may affect phylogenetic estimation, we think it is worth reflecting on how GTR made its way to the top of the ModelTest hierarchy. Reversibility of a continuous-time Markov chain X(t) on some time interval t∈[0,T] arises by considering the “time-reversed process” Y(t) = X(T − t) and demanding that the probability of observing X(T) = j given X(0) = i is identical to the probability of observing Y(T) = i given Y(0) = j. In this case, it is easy to show that the rate matrix for the time-reversed process Y(t) is exactly the same as that for the original process, and the process is said to be “time reversible” or simply “reversible.” Importantly, time reversibility has long been held out as important for phylogenetic analysis because implementation of Felsenstein's “pruning” algorithm for calculating likelihoods relies on the so-called “pulley principle” and the process being reversible (Felsenstein 1981). However, recent authors have developed efficient likelihood algorithms for nonreversible processes (Boussau and Gouy 2006, Oscamou et al. 2008, Sumner and Charleston 2010), and, besides, we argue that algorithmic convenience is not the only criterion that the thoughtful phylogeneticist may wish to take into account when choosing appropriate models. In case the concerns outlined above are seen to be somewhat philosophical, we now show that lack of multiplicative closure of a model can result in systematic biases for phylogenetic inference. If we use a model where the true heterogeneous process cannot be exactly represented homogeneously under the same model, then it is possible that there will be some error in estimation of substitution rates and hence species divergence times. Recalling the identifiability results of Chang (1996), any such error will lead to a misestimation of the probability distribution of site sequence patterns. Log-likelihoods of various phylogenetic models on sample data sets Notes: The number of free parameters for each model is given in parentheses (with the count reduced by one after overall scaling is taken into account). The values for the F81+K3ST model (shortened here to “F+K”) are the actual log-likelihoods, the other values are relative to this (with positive values indicating a larger likelihood). The data sets are human, with 53 taxa, 202 sites, of mitochondrial genes (Ingman et al. 2000); Acorus, with 15 taxa, 89,436 sites, from the chloroplast genomes (Goremykin et al. 2005); cormorants, with 33 taxa, 1141 sites, from a mix of mitochondrial and nuclear genes (Holland et al. 2010); yeast, with 8 taxa, 127,026 sites, from mainly nuclear genes (Rokas et al. 2003); fish, with 11 taxa, 2178 sites, from nuclear genes (Zakon et al. 2006). Note that differences in log-likelihood greater than k, where k is the difference in the number of parameters, would affect the ordering of best estimates under the Akaike information criterion. Log-likelihoods of various phylogenetic models on sample data sets Notes: The number of free parameters for each model is given in parentheses (with the count reduced by one after overall scaling is taken into account). The values for the F81+K3ST model (shortened here to “F+K”) are the actual log-likelihoods, the other values are relative to this (with positive values indicating a larger likelihood). The data sets are human, with 53 taxa, 202 sites, of mitochondrial genes (Ingman et al. 2000); Acorus, with 15 taxa, 89,436 sites, from the chloroplast genomes (Goremykin et al. 2005); cormorants, with 33 taxa, 1141 sites, from a mix of mitochondrial and nuclear genes (Holland et al. 2010); yeast, with 8 taxa, 127,026 sites, from mainly nuclear genes (Rokas et al. 2003); fish, with 11 taxa, 2178 sites, from nuclear genes (Zakon et al. 2006). Note that differences in log-likelihood greater than k, where k is the difference in the number of parameters, would affect the ordering of best estimates under the Akaike information criterion. In each iteration of the simulation, we set Q1 to have all rates equal and then we selected Q2 from the GTR model class by sampling substitution rates from a uniform distribution in such a way as to ensure a reasonably consistent spread between almost homogeneous and highly heterogeneous. All calculations were performed in the statistical computing package R (R Development Core Team 2006) and its in-built optimization routine “optim” (with the maximum number of iterations set to 4000 and relative tolerance set to 10 − 12). To assist in comparison, we repeated the above simulation for the known closed model F81 (for details, see Sumner et al. 2012). F81 was chosen as, despite it being guaranteed that Q^ will also belong to the F81 model class (and hence our routine should find Q− such that eQ−=eQ^), it is also not the case that Q^ is simply given by the weighted average of Q1 and Q2 (which should be compared with other closed models, such as JC69 and K80, where Q^is given by the weighted average). For this reason, F81 was deemed as a fair counterpoint to the GTR model. For all simulations, t1 and t2 were chosen to be 0.5, and to ensure that the expected number of substitutions in time t1 + t2 was roughly in the range of 1–1.5%, we normalized both Q1 and Q2 by a factor that was fixed throughout. We then recorded the maximum of the percentage errors between the substitution probabilities from the true substitution matrix eQ^ to the best fit eQ−. The results in Figure 2 show that for the F81 model, the homogeneous approximation correctly estimates the substitution probabilities to within 10 − 7%, suggesting that the best-fit rate matrix Q− is providing the exact solution. It should be noted that the error becomes no worse as the process becomes more heterogeneous (i.e., as the distance between Q1 and Q2 increases), and we conclude that the errors are simply due to the optimization routine terminating. Error in the estimate of F81 substitution probabilities for the homogeneous representation of a truly heterogeneous situation. Results are from 1000 runs, and the reasonable biological range for the x-axis is 0.25–0.95. Referring to Figure 3, we see that under the same scenario GTR exhibited up to a 60% error in the fitted substitution probabilities, and it is also clear that the errors increase as the process is made more heterogeneous. To alleviate any concern that the poor performance of GTR in comparison with F81 was due to the former having more parameters than the latter, we significantly increased the maximum number of iterations allowed by the optimization routine and found no improvement in GTR's performance. Recalling question (1) above, it is also worth noting that in every case the rate matrix Q− returned by the routine was stochastic. Error in the estimate of GTR substitution probabilities for the homogeneous representation of a truly heterogeneous situation. Results are from 1000 runs, and the reasonable biological range for the x-axis is 0.25–0.95. The difference between the two cases could hardly be starker: for F81 (a closed model), the fit of a homogeneous model to a truly heterogeneous process is exact, whereas, for GTR, attempting to fit a homogeneous model to a truly heterogeneous process introduces significant errors. Note that if we tried to find a GTR substitution matrix to fit the heterogeneous F81 process, a perfect fit would also be found simply because GTR contains F81 as a submodel. However, given a heterogeneous F81 process, in a practical scenario the best estimator will always be F81 as any larger model (e.g., GTR) will necessarily have more parameters and hence greater estimation variance (with the same being true for any other closed submodel of GTR). Our central proposition about GTR is not that it will fail to fit as well as its closed submodels (e.g., JC, K80, F81, K3ST)—by definition it will fit at least as well—but rather that it does not have a sensible interpretation in the context of heterogeneous sequence evolution. Having decided that lack of closure is potentially a problem for phylogenetic models, the obvious question that arises is what are the closed models? These “good” models are not yet fully known, and Sumner et al. (2012) discuss that in general this is quite a difficult and subtle mathematical problem that crosses the boundaries of Markov chain and Lie group theory. However, they do give a method that shows how to generate a complete list of models that have a certain invariance properties under permutations of nucleotide states. In particular, they give a complete hierarchy of closed models with four-way nucleotide symmetry, that is, models that do not prefer any particular groupings of nucleotides, or to put it another way, models where for any relabeling (permutation) of the states it is possible to find a relabeling (permutation) of the substitution rate parameters such that the model is unchanged. The hierarchy they present contains GMM, F81, K3ST, and JC but includes a newly discovered six-parameter closed model dubbed “F81+K3ST” as it combines features of both these models. The rate matrices of the F81+K3ST model are most easily understood by simply summing a rate matrix from the F81 class with one from K3ST, but it should be noted that this representation is not satisfactory in general as it is technically an overparameterization (for details, see Sumner et al. 2012). Work on cataloguing the “good” models for other symmetries is underway, with the method given in Sumner et al. (2012) being applied to generate the list of closed models that have the transition/transversion substitution symmetry. For example, K80 is an example of a model with this symmetry that is known to be closed, whereas HKY has the same symmetry but is not closed. As a final example, we compared the performance of the closed model F81+K3ST with GTR, SYM (the GTR model with uniform base distribution), and HKY. These initial comparisons of the F81+K3ST model with models that are not multiplicatively closed show that it tends to give sometimes better and sometimes worse likelihoods. For five different data sets, a tree topology was generated using neighbor joining and then, fixing this tree topology, we performed likelihood estimation under each model, fitting substitution rates and edge lengths. The likelihood values for the various models and data sets are presented in Table 2. With the caveat that it is not necessarily statistically meaningful to compare likelihood values for these different models (especially given that the models are not nested), it can be seen from Table 2 that GTR consistently outperforms the other models, and the differences in log-likelihoods cannot be solely explained by its increased number of free parameters (via the Akaike information criterion, e.g.). For the models with comparable number of parameters, we found that sometimes the best fit comes from our closed model and sometimes from a nonclosed model. What conclusions can be drawn from this study? Our overall point is that perhaps it is not prudent to only look for models that fit the data “best” in a likelihood sense but to also look for models that can be given a satisfactory interpretation. We suggest that, particularly in cases where a heterogeneous process is suspected, priority should be given to a closed model even when a nonclosed model gives a better likelihood. To summarize, lack of closure potentially constitutes a serious problem for the use of the GTR model in phylogenetics as it means that taking an average of heterogeneous processes—which is almost certainly the underlying biological reality in many circumstances—is impossible to do in an accurate way. Further research is required to find credible closed alternatives to GTR that offer similar ability to fit phylogenetic data. It will also be important to determine closure for cases where heterogeneous models are used explicitly, for example, in codon models (Yang 1998), which are used to test for positive selection, and, for instance, the work of Hamady et al. (2006) that uses detectable shifts in inferred rate matrices to infer if genes have been horizontally transferred. This research was conducted with support from Australian Research Council Discovery Project DP0877447 and Future Fellowship FT100100031. We thank the reviewers of our draft manuscript for comments that have greatly improved the final version of this paper. P.D.J. is an Alexander von Humboldt Fellow, J.G.S. is an Australian Research Council (ARC) Research Fellow, and B.R.H. is an ARC Future Fellow.
31
R: A Language and Environment for Statistical Computing
R Core Team · 2000 · 353K citations · Full text
Natural Sciences, Computer Science, Statistical Computing +10
MODELTEST: testing the model of DNA substitution.
David Posada, Keith A. Crandall · Bioinformatics · 1998 · 20.1K citations
Some probabilistic and statistical problems in the analysis of DNA sequences
Simon Tavaré · 1986 · 2.7K citations