Home | About | Journals | Submit | Contact Us | Français |

**|**Mol Biol Evol**|**PMC2922618

Formats

Article sections

- Abstract
- INTRODUCTION
- MATERIALS AND METHODS
- RESULTS
- DISCUSSION
- SUPPLEMENTARY MATERIAL
- Supplementary Material
- References

Authors

Related links

Mol Biol Evol. 2010 September; 27(9): 1988–1999.

Published online 2010 April 5. doi: 10.1093/molbev/msq081

PMCID: PMC2922618

Copyright © The Author(s) 2010. Published by Oxford University Press on behalf of the Society for Molecular Biology and Evolution.

This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/2.5), which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article has been cited by other articles in PMC.

Ancestral sequence reconstruction (ASR) is widely used to formulate and test hypotheses about the sequences, functions, and structures of ancient genes. Ancestral sequences are usually inferred from an alignment of extant sequences using a maximum likelihood (ML) phylogenetic algorithm, which calculates the most likely ancestral sequence assuming a probabilistic model of sequence evolution and a specific phylogeny—typically the tree with the ML. The true phylogeny is seldom known with certainty, however. ML methods ignore this uncertainty, whereas Bayesian methods incorporate it by integrating the likelihood of each ancestral state over a distribution of possible trees. It is not known whether Bayesian approaches to phylogenetic uncertainty improve the accuracy of inferred ancestral sequences. Here, we use simulation-based experiments under both simplified and empirically derived conditions to compare the accuracy of ASR carried out using ML and Bayesian approaches. We show that incorporating phylogenetic uncertainty by integrating over topologies very rarely changes the inferred ancestral state and does not improve the accuracy of the reconstructed ancestral sequence. Ancestral state reconstructions are robust to uncertainty about the underlying tree because the conditions that produce phylogenetic uncertainty also make the ancestral state identical across plausible trees; conversely, the conditions under which different phylogenies yield different inferred ancestral states produce little or no ambiguity about the true phylogeny. Our results suggest that ML can produce accurate ASRs, even in the face of phylogenetic uncertainty. Using Bayesian integration to incorporate this uncertainty is neither necessary nor beneficial.

The properties and evolution of ancient genes and proteins can seldom be directly studied because such molecules are rarely preserved intact over very long periods of time. Pauling and Zuckerkandl (1963) proposed that ancestral molecules could one day be “resurrected” by inferring their sequences and then synthesizing them. Decades later, the methods of ancestral sequence reconstruction (ASR) have emerged as important tools for examining the trajectory of molecular sequence evolution and testing hypotheses about the functional evolution of ancient genes (Thornton 2004; Dean and Thornton 2007; Liberles 2007). Among numerous examples, ASR has been used in the last decade to investigate the evolution of elongation factor proteins (Gaucher et al. (2003), Gaucher et al. (2007)), steroid hormone receptors (Thornton et al. 2003, Bridgham et al. 2006, Ortlund et al. 2007), visual pigments (Chang et al. 2002, Shi and Yokoyama 2004), fluorescent proteins (Ugalde et al. 2004), and alcohol dehydrogenases (ADHs; Thomson et al. 2005).

Although the first ASR practitioners used parsimony methods (e.g., Jermann et al. 1995), most modern studies use maximum likelihood (ML) (Yang et al. 1995, Koshi and Goldstein 1996, Pupko et al. 2000). ML begins with an alignment of extant gene sequences, a phylogeny relating those sequences, and a statistical model of evolution. For each internal node in the phylogeny and each site in the sequence, the likelihood of each possible ancestral state—defined as the probability of observing all the extant states given that ancestral state, the tree, and the model—is calculated. The ML ancestral state is the state with the highest likelihood. Confidence in any ancestral state inference is typically expressed as its posterior probability (PP), defined as the likelihood of the state (weighted by its prior probability) divided by the sum of the prior-weighted likelihoods for all states.

The ML approach to ancestral reconstruction assumes that the alignment, tree, model, and model parameters are known a priori to be correct. In practice, this assumption is often not valid; for many real-world data sets, alternatives to the ML tree and parameter values cannot be ruled out. To accommodate these sources of uncertainty, Bayesian methods have been proposed. Whereas ML assumes the most likely estimate of the tree and model parameters, Bayesian approaches incorporate uncertainty by summing likelihoods over a distribution of possible trees or parameter values, each weighted by its PP. Pagel et al. (2004) proposed a Bayesian method for integrating topological uncertainty into inference of ancestral states for binary and other discrete characters. Schultz and Churchill (1999) proposed a Bayesian method to integrate uncertainty about the parameters of the evolutionary model into discrete character reconstructions. For inference of ancestral DNA and protein sequences, Huelsenbeck and Bollback (2001) developed a Bayesian method to integrate uncertainty about the tree topology, branch lengths, and model parameters.

It is not known how Bayesian approaches affect the accuracy of reconstructed ancestral sequences. Here, we focus on the specific effects of one source of uncertainty—the phylogeny. There have been a few attempts to characterize the robustness of reconstructed ancestral sequences with respect to phylogenetic uncertainty in specific cases: Gaucher et al. (2003) reconstructed ancestral elongation factor proteins on two plausible phylogenies, and Bridgham et al. (2006) reconstructed the ancestral corticosteroid receptor on all trees within the 95% confidence interval from a Bayesian phylogenetic analysis. In both cases, the maximum a posteriori ancestral sequences changed very little when different phylogenies were assumed, and the functions of the reconstructed proteins in experimental assays were also unchanged. Huelsenbeck and Bollback (2001) used simulations to show that integrating uncertainty about the phylogeny, branch lengths, and model parameters can affect the PPs of ancestral states, but they did not study the effect of integration on the inferred maximum a posteriori state or the accuracy of those inferences.

To determine the causal effects of integrating over phylogenetic uncertainty on ASR accuracy, we implemented a topological empirical Bayesian method for ancestral reconstruction that is identical to the ML algorithm, except that it integrates over topologies. This approach allows us to directly infer the effects of incorporating phylogenetic uncertainty on ASR accuracy. We simulated and recorded the evolution of sequences under a variety of simplified and empirically derived conditions and inferred ancestral states from the evolved alignments; we characterized the accuracy of each approach to ASR by comparing inferred ancestral sequences to the “true” ancestors recorded during the simulation.

The ML method for ASR, also called the empirical Bayes method (Yang et al. 1995), calculates the PP that some ancestral node contained state *a* at a sequence site of interest, given the observed sequence data *d*, an evolutionary model *m*, a topology , and a set of branch lengths and other model parameters ; the topology and parameters are those that maximize the likelihood over all data columns in the alignment. The conditional likelihood of *a* is the probability of observing *d* given *a*, *m*, , and . The prior-weighted conditional likelihood of *a* is the conditional likelihood of *a* multiplied by the prior probability of observing *a*, which is given by *π*_{a}, the equilibrium state frequency of *a*. The PP of *a* equals the prior-weighted conditional likelihood of *a* divided by the sum of the prior-weighted conditional likelihoods for all possible ancestral state assignments (4 for nucleotides or 20 for amino acids) (eq. 1).

(1)

The ML state assignment is the state with the highest prior-weighted likelihood (and necessarily the highest PP, as well). The ML sequence is the string of ML states. To reconstruct ML ancestral sequences, we used PAML v.4.1 (Yang 1997, Yang 2007).

The topological empirical Bayes (TEB) approach to ASR differs from ML only by integrating ancestral reconstructions over a distribution of trees (eq. 2). The TEB PP of ancestral state *a* is the weighted average of the PP of *a* over all possible trees, where the weights are given by the empirical Bayes PP of each tree *t*. The empirical Bayes PP *P*_{EB} of a tree assumes the ML estimate of branch lengths and other model parameters on each tree (Kolaczkowski and Thornton 2008, Kolaczkowski and Thornton 2009):

(2)

Equation (2) takes a different form from but is equivalent to (see supplementary note 1, Supplementary Material online) the expression used by others (Huelsenbeck and Bollback 2001, Pagel et al. 2004) for ancestral state reconstructions integrated over topologies:

(3)

The ML method also has an empirical Bayesian interpretation because equation (1) calculates a PP and uses priors on ancestral states. For simplicity, we will refer to the approach that uses only the ML tree as the “ML method” and the approach that integrates over trees as the “TEB method.”

One issue with estimating ancestral states from a distribution of trees is that every topology contains different ancestral nodes. We accommodate this problem by defining an ancestral node to be reconstructed as the most recent common ancestor of a specified set of descendants (Pagel et al. 2004). On any rooted tree, the clade descending from the specified ancestor will contain all members of this set; additional sequences may also be included in that clade, depending on the topology. A similar approach can be used to describe internal nodes on unrooted trees in relation to the split that places a specified set of terminal sequences into the smallest possible partition of the tree.

We implemented both the TEB and ML methods in our own software called Lazarus. This package spawns, manages, and then parses large batches of parallelized PAML jobs, one for each of a set of user-specified topologies. For each topology, branch lengths and model parameters are optimized by ML, the ML of the tree is calculated, and the PP of each ancestral state is calculated on that topology. Lazarus then parses these results to calculate the PP of each ancestral state integrated over topologies. Lazarus includes a modular Python API with object classes for quickly abstracting ancestral reconstruction data and is available at http://markov.uoregon.edu/software/lazarus/.

We compared the ancestral states reconstructed by the ML and TEB methods on data simulated under both controlled and empirically derived conditions. The correct evolutionary model was assumed for all ancestral reconstructions.

We simulated sequence evolution on four-taxon ultrametric trees of variable height and internal branch length (fig. 1*A*) and on four-taxon trees with randomly generated branch lengths. We examined ultrametric trees because they can be described by specifying only the total height of the tree and the lengths of the internal branches; the limited number of free parameters allows a detailed investigation of ancestral reconstruction methods as phylogenetic signal varies. Furthermore, ultrametric trees represent the most difficult conditions for ASR. For a pair of terminal branches with any given sum of lengths descending from an internal node, the ultrametric case represents the greatest total loss of character information about the ancestor; conversely, as some branches descending from an ancestral node become longer and others shorter, the information in the short branch has a more determinative effect on the inferred ancestral state. In the limit as one descendant branch length approaches zero, the ancestral state is inferred without ambiguity or error as the state in the sequence at the end of that branch.

Four-taxon simulation conditions. (*A*) We seeded randomly generated amino acid sequences at the root of an ultrametric tree with four terminal branches. We simulated the ancestral sequences evolving across the branches to produce four descendant sequences **...**

On ultrametric trees, the internal branch length (labeled “*r*” in fig. 1*A*) was varied from (0.01, 0.02, 0.03, 0.05, 0.1, 0.2), and the overall height of the descendant clade (labeled “*h*” in fig. 1*A*) was varied from 0.25 to 0.75 substitutions per site in intervals of 0.125. For each combination of *r* and *h*, we used Seq-Gen (Rambaut and Grassly 1997) to generate 100 sets of replicate descendant amino acid sequences of length 400 sites, using the JTT evolutionary model (Jones et al. 1991). For the nonultrametric simulations, 1,000 four-taxon trees were generated by randomly drawing an internal branch length from the uniform distribution U[0.01,0.1] and drawing four terminal branches from the uniform distribution U[0.25,0.75]. Seq-Gen was then used to simulate the evolution of sequences 400 amino acids long on each tree (fig. 1*C*).

For each replicate, we used ML and TEB ASR to infer the PP of reconstructed ancestral states in the most recent common ancestor of taxa {*A*,*B*,*C*}, of {*A*,*B*}, of {*A*,*C*}, and of {*B*,*C*}. Depending on the tree, some of these ancestors are the same. For example, on the tree ((*A*,*B*),*C*,*D*), the ancestor of {*A*,*C*} is the same node as the ancestor of {*A*,*B*,*C*}. However, on tree ((*A*,*C*),*B*,*D*), the ancestors for {*A*,*B*,*C*} and {*A*,*C*} are unique. We compared the maximum a posteriori ancestral state from TEB and ML to each other and to the true state, which was recorded at all nodes during the simulation. We analyzed the concordance and accuracy of TEB and ML ancestral states across all replicates and in relation to the values of r and h, the state pattern in descendant taxa, and whether the set of taxa in the clade descending from the ancestral node of interest in the ML tree is identical to that set in the true tree. With respect to the last criterion, the membership may be correct, a spurious taxon may be included as a descendant (mem+), or a taxon may be incorrectly excluded from the clade (mem − ).

We also compared the accuracy of ML and TEB reconstructions inferred from sequences simulated on empirically derived trees. We used phylogenies inferred from the extant sequences of ADH proteins (Thomson et al. 2005), steroid hormone receptors (Bridgham et al. 2006), green fluorescent–like proteins (GFPs) (Kelmanson and Matz 2003, Ugalde et al. 2004), and Tu family elongation factor (EF-Tu) proteins (Gaucher et al. 2003). For each gene family, the phylogeny and branch lengths were calculated by ML using Phyml version 2.4.4 (Guindon and Gascuel 2003). The PPs of phylogenies in the 95% credible set (1,195 trees for ADH, 3,335 for steroid hormone receptors, 655 for GFP, and 544 for EF-Tu) were inferred using empirical Bayes Markov chain Monte Carlo, which integrates over topologies, each of which is assigned its ML branch lengths (Kolaczkowski and Thornton 2007). The ML phylogenies for ADH, GFP, and EF-Tu (fig. 2) differ only slightly from the original ML phylogenies shown in those data sets' corresponding publications. On each ML phylogeny, 100 replicates of protein sequences 400 amino acids long were then evolved by simulation, using the JTT model of evolution, to yield terminal descendant sequences. For each replicate, ancestral sequences at all internal nodes were then reconstructed using ML and TEB. We examined only the uncertain nodes (with Bayesian PP less than 1.0) and their immediate neighboring nodes; nodes with PP = 1.0 have no uncertainty over which to integrate, so the TEB and ML reconstructions are identical.

To illustrate how integrating over topologies affects ancestral reconstruction for different data patterns under specific conditions, we performed ASR using ML and TEB and calculated the probability of each ancestral state for each of the possible state patterns of four nucleotides. We simulated DNA sequences 50,000 nucleotides long using the JC69 model on four-taxon ultrametric trees with high phylogenetic uncertainty (*h* = 0.3, *r* = 0.01) or virtually no phylogenetic uncertainty (*h* = 0.3, *r* = 0.2). We then examined the PP of each ancestral state inferred using ML and TEB for each of the possible state patterns for four-state data. Character state patterns are indicated using variables representing nucleotides of the same type: for example, pattern xyxy for the four-taxon case stands for the realizations ACAC, AGAG, ATAT, CACA, …, TGTG at that site in the four leaves, respectively.

The correspondence between PPs and the frequency of correct inferences for TEB and ML were analyzed by binning inferences according to their PPs and calculating the mean PP(*x*) and the fraction of correct reconstructions (*y*) in each bin. The fit of the resulting points to the function *y* = x was evaluated using a chi-square distribution with degrees of freedom equal to the number of bins. The significance of the difference between ML and TEB in fit to the function *y* = x was assessed by evaluating the ratio of the chi-square statistics for the two methods using an *F*-distribution with degrees of freedom equal to the number of bins. To compare the differences in mean accuracy of the ML and TEB reconstructions, we conducted a paired two-sample *t*-test against the null hypothesis of no significant difference in accuracy between the two methods.

To determine how incorporating topological uncertainty affects ASR, we first examined the extent to which ancestors inferred using ML and TEB differ from each other under a range of conditions. We found that integrating over trees only rarely affected the inferred state at ancestral nodes (fig. 3*A*). In simulations on ultrametric four-taxon trees with varying levels of phylogenetic noise, the ancestral states inferred by ML and TEB differed at only 0.4% of sites. On nonultrametric trees, they differed at 0.7% of sites. On larger trees derived from empirical data sets of four gene families previously analyzed using ASR—steroid hormone receptors, ADHs, GFPs, and EF-Tu proteins—ML and TEB reconstructions differed by 1% or less (fig. 3*A*).

Integrating over phylogenetic uncertainty rarely changes ASRs. (*A*) Proportion of sites simulated under a variety of conditions at which ML and TEB methods inferred the same or different states. (*B*–*D*) Details of similarity between ML and TEB reconstructions **...**

To determine whether certain phylogenetic conditions cause integrating over topological uncertainty to have a stronger effect on inferred ancestral states, we decomposed the results of the ultrametric four-taxon simulations according to the state patterns in the terminal sequences that descend from the reconstructed ancestor, the length of the branches on the tree, and the ways (if any) that the ML tree differs from the true tree (supplementary table S2, Supplementary Material online). There were no state patterns that resulted in differences between ML and TEB ancestors greater than 0.5%. The effect of integrating over uncertainty was slightly greater for divergent state patterns in which all ingroup descendants have different states (pattern *xyz*) than for patterns that contain phylogenetic signal (*xxx* or *xxy*; fig. 3*B*). Similarly, no branch length conditions examined caused ML and TEB to differ by more than 0.5%; ML and TEB ancestors differed least when the total root-to-tip branch length was short, and they differed to a slightly greater extent as the terminal branches became very long (fig. 3*C*). When the ML tree was correct (as it was in the majority of cases), integrating over uncertainty had a particularly weak effect on the inferred ancestor; however, even when the ML phylogeny erroneously inferred a spurious sequence as a descendant of the ancestor of interest or excluded a true descendant, the two methods still produced identical inferences at > 99% of sites (fig. 3*B*). Together, these data indicate that integrating over topological uncertainty per se does not strongly affect ancestral reconstructions; the effects are weak under conditions that cause the traces of the ancestral state to be lost in descendant sequences and virtually nonexistent under those that preserve phylogenetic signal about the ancestral state.

We next analyzed whether integrating over topological uncertainty tends to affect sites that are strongly or weakly supported by ML. Most ASR practitioners examine the support for ancestral state inferences and experimentally characterize the robustness of their inferences to alternate reconstructions that have PP above some defined plausibility cutoff (Chang et al. 2002, Ugalde et al. 2004, Thomson et al. 2005, Bridgham et al. 2006, Ortlund et al. 2007). We found that ML and TEB reconstructions disagreed only at sites that were already ambiguous in the ML reconstruction (fig. 4). In both ultrametric and nonultrametric four-taxon simulations, the ML and TEB reconstructions agreed at all sites at which the ML reconstruction had PP greater than 0.70. In the ADH, GFP, and EF-Tu simulations, the two methods agreed at all sites with PP greater than 0.76, 0.63, and 0.71, respectively. In the steroid hormone simulation, the methods agreed at all sites with PP greater than 0.87, and they disagreed at only 0.003% of all sites reconstructed with PP > 0.80. Over all four-taxon reconstructions, the maximum a posteriori ancestral state from TEB was different from the first- or second best state using the ML method at only 0.001625% of sites. These data indicate that integrating over topological uncertainty virtually never causes inferred ancestral states that are strongly supported by ML to be revised. Rather, TEB inferred a state different from the ML state only when that state was ambiguously reconstructed anyway, switching the favored state from one weakly supported possibility to another.

ML and TEB infer different ancestral states only when PPs are low. In each pair of plots, the left plot (A1, B1, etc.) compares the PP of the maximum a posteriori state inferred by ML to that inferred by TEB. Black points show sites at which ML and TEB **...**

Although the ML and TEB methods inferred the same state at most sites, it is possible that TEB might produce more accurate reconstructions at the rare sites where the two methods differ. We measured accuracy as the proportion of sites at which the reconstructed state was identical to that of the true ancestor, which we recorded during each simulation. In the four-taxon and GFP simulations, ML was slightly, but not significantly, more accurate than TEB (fig. 5*A* and supplementary table S7, Supplementary Material online). In the ADH, steroid hormone receptor, and EF-Tu simulations, there was no difference in accuracy between the methods. The accuracy of both ML and TEB declined as terminal branch lengths grew longer, causing multiple substitutions to occur (fig. 5*B*). ML's superiority to TEB was greatest when the membership of the descendant clade was correct (fig. 5*C*), presumably because when the ML topology is the true tree, integrating phylogenetic uncertainty serves only to introduce error. Even when the ML tree was incorrect, however, TEB generally decreased accuracy; integrating over uncertainty improved accuracy only under the rare condition that the descendant state pattern was *xyz* and a spurious taxon had been included as a descendant of the node of interest. Under these conditions, both methods performed poorly because little or no phylogenetic signal of the ancestral state was retained in the descendants. For all other state patterns and forms of phylogenetic error, ML had accuracy equal to or slightly greater than that of TEB.

We next examined whether TEB or ML yielded more accurate estimates of statistical confidence in inferred ancestral states. For all simulations, we binned reconstructed ancestral states by their PP and counted the proportion of accurate inferences in each bin (fig. 6). If PP is an accurate predictor of the probability that an inferred state is correct, the mean PP in that bin should equal the proportion of correct ancestral state inferences. We observed that the ML and TEB methods generally produced similar PP values, and both types of PP were good predictors of mean accuracy. The major exception to this pattern was the four-taxon simulation on ultrametric trees in which integrating over trees slightly inflated support for reconstructions with PP > 0.5 (fig. 6*A*); a chi-square test indicates that ML's PPs fit the ideal better than TEB's PPs do, but the difference is small and does not reach statistical significance (*P* = 0.16, supplementary table S1, Supplementary Material online). When the ML tree was correct, ML's PPs were more accurate than TEB, but TEB was more accurate when the ML tree was wrong; because the former conditions are more frequent than the latter, however, ML's accuracy was higher overall. For the empirically derived conditions, ML's PPs were slightly more accurate, but the difference was again small and not statistically significant (supplementary tables S3–S6, Supplementary Material online).

To understand why integrating over phylogenies has such a weak effect on ancestral reconstruction, we examined the relationship between the plausibility of alternate phylogenies and the dependence of the reconstructed state on the assumed phylogeny. We conjectured that as phylogenetic uncertainty increases, the same state will be reconstructed on the plausible trees. To test this hypothesis, we grouped all the replicates from our ultrametric four-taxon simulations according to the PP of their ML tree. For each replicate, we counted the proportion of sites at which the inferred ancestral state differs between the ML tree and the tree with the next highest PP (fig. 7*A*). We observed that when the ML tree was uncertain (PP < 1.0), the ancestral states among trees rarely disagreed. In contrast, when the ML tree was absolutely certain (PP = 1.0), the ancestral states on the ML tree and the second best tree disagreed at up to 25% of sites; however, because the PP of the second tree was so low, it contributed virtually zero weight to the TEB reconstruction. Support measures showed a similar trade-off: only when there was little or no uncertainty about the tree did the PP of an ancestral reconstruction differ among phylogenies. These results indicate that there is a trade-off between phylogenetic uncertainty and the extent to which ancestral state reconstruction depends on the phylogeny assumed.

Phylogenetic uncertainty versus alternate ancestral reconstructions. Each point corresponds to one set of replicate descendants in the ultrametric four-taxon simulation. Tree uncertainty for each replicate is measured as 1.0 minus the PP of the ML tree. **...**

To understand this trade-off in detail, we examined ancestral reconstructions under two contrasting four-taxon conditions with different degrees of phylogenetic uncertainty (fig. 8). In one condition, the true phylogeny had a long internal branch, so the ML tree was inferred with no uncertainty (PP = 1.0); in the other, the true phylogeny had a very short internal branch, so the ML tree was inferred with considerable uncertainty (PP = 0.384). For each state pattern, we reconstructed the ancestral state on all three possible topologies. We found that when there was no phylogenetic uncertainty, the probability of an ancestral state can differ radically given different trees; for three of the state patterns, the maximum a posteriori ancestral state inferred on the ML tree differed from that inferred on alternate trees. Because the internal branch was long, however, these alternate trees had zero PP, so incorporating them into TEB reconstruction produces ancestral state inferences and PPs identical to the ML inference. In contrast, when the internal branch was short and the phylogeny was uncertain, all three topologies were close to being star trees. In this case, the probability of the ancestral state inferred on the ML tree was almost identical to the probability of that state given any other tree. Because the inferred ancestral state did not differ among phylogenies, TEB and ML again yielded the same reconstruction.

Our results demonstrate that a Bayesian approach to incorporating uncertainty about the underlying phylogeny is not necessary for ancestral state reconstruction. By comparing two methods of ASR that differ only in that one assumes the ML phylogeny while the other integrates over phylogenies, we were able to determine the specific effect of incorporating phylogenetic uncertainty on ancestral state inferences, their statistical support, and their accuracy. We found that using TEB virtually never changes the inferred ancestral state; when it does, the reconstruction was already ambiguous using ML. ML has slightly higher accuracy, and its PPs provide a slightly better predictor of the probability that an ancestral state inference is correct.

Our analyses show that incorporating phylogenetic uncertainty only weakly affects ASR because the conditions that cause phylogenetic uncertainty also make the ancestral state the same across trees. This phenomenon occurs because when internal branches are short, the distance in tree space is small between the ancestor on the ML tree and the ancestor on the second best tree (Felsenstein 2004). At the limit, the true tree is a star tree with a zero-length internal branch, and all resolved topologies have equal PP, leading to maximal phylogenetic uncertainty; however, the ancestral nodes on the different topologies are identically located in tree space. In contrast, under the conditions that cause inferred ancestral states to differ among trees, there is typically no phylogenetic uncertainty to integrate over.

Prior work has shown that ASR is generally most accurate on star-like trees because the descendant sequences contain maximum mutual information about the ancestral state when those descendants are completely independent phylogenetically (Blanchette et al. 2004, Lucena and Haussler 2005). Those studies, however, assumed that the true phylogeny was known a priori, which is particularly unlikely for star-like trees with short internal branches. Our work shows that phylogenetic uncertainty, which is inevitable under these conditions, is not expected to undermine the accuracy of ancestral state reconstruction on star-like trees. These results underscore the potential to accurately reconstruct ancestral sequences at the base of rapid phylogenetic radiations despite phylogenetic uncertainty, such as the ancestors of all mammals (Blanchette et al. 2004) or all metazoans (Rokas et al. 2005).

Previous work by Huelsenbeck and Bollback, like ours, showed a close relationship between ancestral PPs estimated using the ML tree and integrating over trees (Huelsenbeck and Bollback 2001). Those authors did suggest, however, that uncertainty in the phylogeny might lead to significantly different interpretations of the ancestral state. This suggestion was illustrated using trees with arbitrarily assigned branch lengths and PPs; for all topologies in the illustration, the internal branch lengths were of significant length and the PPs were substantial. In reality, it is unlikely that any data set would support such a distribution of PPs over this set of tree/branch length combinations because nontrivial PPs on “next best” trees typically arise only when internal branches are short. Our results show that when the PPs on trees are derived from sequence data rather than arbitrarily assigned, integrating over uncertainty has a negligible effect on ancestral sequence inference and a negative impact, if any, on accuracy.

Our results should not be interpreted as an endorsement for sloppy analysis. Although incorporating phylogenetic uncertainty does not improve the accuracy of ancestral reconstruction, this does not mean that the phylogeny is unimportant. Because ancestral reconstructions can vary across trees under some conditions, arbitrarily choosing an incorrect and implausible phylogeny could yield inaccurate reconstructions. Our results indicate that when the true tree is well-resolved, assuming the wrong topology can change the inferred ancestral state for some state patterns (fig. 4). This finding is consistent with a prior study, which found that an arbitrary topological error on a tree with long internal branch lengths can slightly reduce ASR accuracy at some nodes (Zhang and Nei 1997).

Our findings should not be taken as evidence that ancestral reconstruction never errs. There are numerous potential sources of error that we did not evaluate, including use of incorrectly parameterized evolutionary models, which could yield incorrect (and strongly supported) inferences of phylogeny (Kolaczkowski and Thornton 2004) or incorrect ancestral state reconstructions even when the true tree is assumed. ASR practitioners should continue to use rigorous statistical practices, such as formal evaluation of a wide range of models that incorporate evolutionary heterogeneity (Posada 2001, Lartillot and Philippe 2004, Kolaczkowski and Thornton 2008) and dense targeted taxon sampling (Hillis 1998, Pollock et al. 2002, Heath et al. 2008). Our experiments specifically addressed phylogenetic uncertainty caused by a lack of phylogenetic signal. Whether integrating over phylogenetic uncertainty might improve ASR accuracy in the face of model violation or other causes of phylogenetic error warrants future study. Our analyses were specific to Bayesian integration over uncertainty about the underlying phylogeny: we did not address the effect on ancestral reconstructions of integrating over uncertainty about branch lengths, the substitution model, or its parameters. Whether a Bayesian approach to these sources of uncertainty would improve or degrade ASR accuracy warrants further research.

In summary, incorporating phylogenetic uncertainty by integrating over topologies does not improve the accuracy of ASR because the conditions that cause phylogenetic uncertainty make the ancestral state the same across trees. Using the ML tree will typically yield the best ancestral reconstruction, even when the ML tree is uncertain. A Bayesian approach to phylogenetic uncertainty is intuitively appealing but computationally demanding and, in this case, unnecessary.

Supplementary note 1 and tables S1–S7 are available at *Molecular Biology and Evolution* online (http://www.mbe.oxfordjournals.org/).

We thank Eric Gaucher and Mikhail Matz for providing sequence data. We are grateful to John Conery for facilitating interdisciplinary research in Biology and Computer and Information Science. We thank Katrina Ray for help developing an earlier software prototype and Patrick Phillips and members of the Thornton Lab for comments. Supported by the Howard Hughes Medical Institute, National Science Foundation DEB-0516530 to J.W.T. and National Science Foundation Integrated Graduate Education and Research Training grant DGE-9972830 to the University of Oregon.

- Blanchette M, Green ED, Miller W, Haussler D. Reconstructing large regions of an ancestral mammalian genome in silico. Genome Res. 2004;14:2412–2423. [PubMed]
- Bridgham JT, Carroll SM, Thornton JW. Evolution of hormone-receptor complexity by molecular exploitation. Science. 2006;307:97–101. [PubMed]
- Chang BSW, Jonsson K, Kazmi MA, Donoghue MJ, Sakmar TP. Recreating a functional ancestral archosaur visual pigment. Mol Biol Evol. 2002;19(9):1483–1489. [PubMed]
- Dean AM, Thornton JW. Mechanistic approaches to the study of evolution: the functional synthesis. Nat Rev Genet. 2007;8(9):675–688. [PMC free article] [PubMed]
- Felsenstein J. Sunderland (MA): Sinauer Associates; 2004. Inferring phylogenies.
- Gaucher EA, Govindarajan S, Ganesh OK. Palaeotemperature trend for precambrian life inferred from resurrected proteins. Nature. 2007;451:704–707. [PubMed]
- Gaucher EA, Thomson JM, Burgan MF, Benner SA. Inferring the palaeoenvironment of ancient bacteria on the basis of resurrected proteins. Nature. 2003;425(18):285–288. [PubMed]
- Guindon S, Gascuel O. A simple, fast, and accurate algorithm to estimate large phylogenies by maximum likelihood. Syst Biol. 2003;52(5):696–704. [PubMed]
- Heath TA, Zwickl DJ, Kim J, Hillis DM. Taxon sampling affects inferences of macroevolutionary processes from phylogenetic trees. Syst Biol. 2008;57(1):160–166. [PubMed]
- Hillis DM. Taxonomic sampling, phylogenetic accuracy, and investigator bias. Syst Biol. 1998;47(1):3–8. [PubMed]
- Huelsenbeck JP, Bollback JP. Empirical and hierarchical Bayesian estimation of ancestral states. Syst Biol. 2001;50(3):351–366. [PubMed]
- Jermann TM, Opitz JG, Stackhouse J, Benner SA. Reconstructing the evolutionary history of the artiodactyl ribonuclease superfamily. Nature. 1995;374:57–59. [PubMed]
- Jones DT, Taylor WR, Thornton JM. The rapid generation of mutation data matrices from protein sequences. Bioinformatics. 1991;8(3):275–282. [PubMed]
- Kelmanson IV, Matz MV. Molecular basis and evolutionary origins of color diversity in great star coral montastraea cavernosa (scleractinia: Faviida) Mol Biol Evol. 2003;20(7):1125–1133. [PubMed]
- Kolaczkowski B, Thornton JW. Performance of maximum parsimony and likelihood phylogenetics when evolution is heterogeneous. Nature. 2004;431(7011):980–984. [PubMed]
- Kolaczkowski B, Thornton JW. Effects of branch length uncertainty on Bayesian posterior probabilities for phylogenetic hypotheses. Mol Biol Evol. 2007;24(9):2108–2118. [PubMed]
- Kolaczkowski B, Thornton JW. A mixed branch length model of heterotachy improves phylogenetic accuracy. Mol Biol Evol. 2008;25(6):1054–1066. [PMC free article] [PubMed]
- Kolaczkowski B, Thornton JW. Long-branch attraction bias and inconsistency in Bayesian phylogenetics. PLoS One. 2009 4(12): e7891. [PMC free article] [PubMed]
- Koshi JM, Goldstein RA. Probabilistic reconstruction of ancestral protein sequences. J Mol Evol. 1996;42:313–320. [PubMed]
- Lartillot N, Philippe H. A Bayesian mixture model for across-site heterogeneities in the amino-acid replacement process. Mol Biol Evol. 2004;21(6):1095–1109. [PubMed]
- Liberles D, editor. Ancestral sequence reconstruction. New York: Oxford University Press; 2007.
- Lucena B, Haussler D. Counterexample to a claim about the reconstruction of ancestral character states. Syst Biol. 2005;54(4):693–695. [PubMed]
- Ortlund EA, Bridgham JT, Redinbo MR, Thornton JW. Crystal structure of an ancient protein: evolution by conformational epistasis. Science. 2007;317(5844):1544–1548. [PMC free article] [PubMed]
- Pagel M, Meade A, Barker D. Bayesian estimation of ancestral character states on phylogenies. Syst Biol. 2004;53(5):673–684. [PubMed]
- Pauling L, Zuckerkandl E. Chemical paleogenetics: molecular “restoration studies” of extinct forms of life. Acta Chem Scand. 1963 A(17):S9–S16.
- Pollock DD, Zwickl DJ, McGuirec JA, Hillis DM. Increased taxon sampling is advantageous for phylogenetic inference. Syst Biol. 2002;51(4):664–671. [PMC free article] [PubMed]
- Posada D. The effect of branch length variation on the selection of models of molecular evolution. J Mol Evol. 2001;52(5):434–444. [PubMed]
- Pupko T, Shamir IPR, Graur D. A fast algorithm for joint reconstruction of ancestral amino acid sequences. Mol Biol Evol. 2000;17(6):890–896. [PubMed]
- Rambaut A, Grassly NC. Seq-gen: an application for the monte carlo simulation of DNA sequence evolution along phylogenetic trees. Bioinformatics. 1997;13(3):235–238. [PubMed]
- Rokas A, Krüger D, Carroll SB. Animal evolution and the molecular signature of radiations compressed in time. Science. 2005;310(5756):1933–1938. [PubMed]
- Schultz TR, Churchill GA. The role of subjectivity in reconstructing ancestral character states: a Bayesian approach to unknown rates, states, and transformation asymmetries. Syst Biol. 1999;48(3):651–664.
- Shi Y, Yokoyama S. Molecular analysis of the evolutionary significance of ultraviolet vision in vertebrates. Proc Natl Acad Sci U S A. 2004;100(14):8308–8313. [PubMed]
- Thomson JM, Gaucher EA, Burgan MF, Kee DWD, Li T, Aris JP, Benner SA. Resurrecting ancestral alcohol dehydrogenases from yeast. Nat Genet. 2005;37(6):630–635. [PMC free article] [PubMed]
- Thornton JW. Resurrecting ancient genes: experimental analysis of extinct molecules. Nature. 2004;5:366–375. [PubMed]
- Thornton JW, Need E, Crews D. Resurrecting the ancestral steroid receptor: ancient origin of estrogen signaling. Science. 2003;301(5640):1714–1717. [PubMed]
- Ugalde JA, Change BSW, Matz MV. Evolution of coral pigments recreated. Science. 2004;305:1433–1433. [PubMed]
- Yang Z. PAML: a program package for phylogenetic analysis by maximum likelihood. Bioinformatics. 1997;13(5):555–556. [PubMed]
- Yang Z. PAML 4: phylogenetic analysis by maximum likelihood. Mol. Biol. Evol. 2007;24(8):1586–1591. [PubMed]
- Yang Z, Kumar S, Nei M. A new method of inference of ancestral nucleotide and amino acid sequences. Genetics. 1995;141:1641–1650. [PubMed]
- Zhang J, Nei M. Accuracies of ancestral amino acid sequences inferred by the parsimony, likelihood, and distance methods. J Mol Evol. 1997;44(1 Suppl):S139–S146. [PubMed]

Articles from Molecular Biology and Evolution are provided here courtesy of **Oxford University Press**