Accurate Branch Length Estimation in Partitioned Bayesian Analyses Requires Accommodation of Among-Partition Rate Variation and Attention to Branch Length Priors

David C. Marshall, Chris Simon, Thomas R. Buckley

Systematic Biology · 2006 · 173 citations · 67 references

DOIFull text

Open access

Concepts

Abstract

Molecular phylogenetic studies are making increasing use of partitioned Bayesian analyses via software tools like MrBayes, version 3 (Ronquist and Huelsenbeck, 2003). Data partitioning is important because, as long as the same topology/history underlies all of the partitions, it addresses some of the problems associated with the combination of data sets with heterogeneous rates (Bull et al., 1993) and eliminates the need to argue the validity of tests that have been used to judge data combinability (e.g., Huelsenbeck et al., 1994; Huelsenbeck and Bull, 1996; Yang, 1996; Cunningham, 1997; Barker and Lutzoni, 2002; Buckley et al., 2002; Dowton and Austin, 2002). In addition, new studies indicate that data partitioning and the use of mixed models often dramatically improve the fit of model to data without the cost of overparameterization (Yang, 1996; Nylander et al., 2004; Brandley et al., 2005). While applying partitioned models to studies of protein-coding mitochondrial data, we have found that analyses using MrBayes may infer overly “long” trees if among-partition rate variation (APRV) is not explicitly accommodated and if data from different partitions evolve at different average rates. We have subsequently confirmed this bias in analyses of simulated datasets, as explained below. Because the erroneous tree lengths (TLs) can be nearly twice as high as those found when APRV is explicitly modeled, this finding should be of interest to those intending to apply previously calculated molecular clock rates to branch lengths estimated under partitioned models, as well as to those inferring evolutionary rates from fossil-calibrated evolutionary trees. Here we discuss the importance of among-partition rate variation and potential pitfalls in implementation of mixed models that accommodate APRV in Bayesian analyses. Note that, for this study, “APRV” refers to rate variation across a priori defined partitions, and a “no-APRV” analysis is one that defines partitions but does not explicitly accommodate among-partition rate variation in the model. MrBayes 3 offers three ways for the user to model among-partition rate variation, all of which assume the same topology across partitions. The first option, prset ratepr = fixed, assumes that the average substitution rate (per site) of each partition is the same. The second option, prset ratepr = variable, adds “rate multiplier” parameters (m1, m2, mn) to the overall model that represent the relative average rates of the n partitions, one for each partition. The rates are allowed to vary subject to the constraint that the average rate of substitution across partitions is 1, and the rate multipliers are assigned a dirichlet(〈number〉, …, 〈number〉) prior. These multipliers are similar to the cg parameter of Yang (1996), except that in his method cg indicates the relative rate compared to that of the first partition, which is set to 1. The third MrBayes option, unlink brlens, allows relative branch lengths within the tree to vary across partitions—a form of heterotachy (e.g., Philippe et al., 2005). Note that adding gamma-distributed among-site rate variation (Yang, 1994b) to the model within each individual partition does not by itself accommodate rate variation across partitions: APRV is modeled by allowing the average rates of different partitions to vary. Using data from a study of mostly protein-coding mitochondrial DNA (mtDNA) data, derived from a recent (Plio-Pleistocene age) radiation of New Zealand cicadas of the genus Kikihia (unpublished data), we found that estimates of total tree length are sensitive to underlying assumptions about APRV. Partitioned analyses that unlink branch lengths or assume partition-specific rate multipliers consistently return shorter trees than partitioned analyses that do not accommodate APRV. Table 1 (analyses A to D) compares the mean log-likelihood and model parameter estimates obtained for a set of representative analyses, one unpartitioned and several partitioned. Detailed methods are given in the Appendix; note that the model parameters were estimated separately for each partition in every analysis. The estimated TL for the no-APRV analysis (A) was nearly twice as long as the values obtained by the partitioned analyses that accommodated APRV (analyses B and C). Interestingly, the unpartitioned analysis (D) estimated about the same TL as the partitioned analyses with APRV. The changes in tree length across the three partitioned analyses were accompanied by substantial changes in other model parameters, most notably α, which determines the shape of the gamma distribution. Although the actual degree of rate variation across codon positions cannot be known with certainty, in this situation there is excellent reason to suspect substantial among-partition rate variation: The data are protein-coding, and third position sites tend to evolve much more rapidly than first or second position sites in such genes. This expectation is strengthened by the much larger number of variable third position sites in the Kikihia data set (Table 2). Effect of accommodation of among-partition rate variation (APRV) on parameter estimates, especially tree length, in Bayesian phylogenetic analyses of empirical data. The Partitions column indicates how the mtDNA data were partitioned (by codon position, randomly, or not at all). The APRV column indicates how rate variation among partitions was handled in the analysis model (“none” means APRV not accommodated). “ln L” refers to the mean posterior log-likelihood of the model. Effect of accommodation of among-partition rate variation (APRV) on parameter estimates, especially tree length, in Bayesian phylogenetic analyses of empirical data. The Partitions column indicates how the mtDNA data were partitioned (by codon position, randomly, or not at all). The APRV column indicates how rate variation among partitions was handled in the analysis model (“none” means APRV not accommodated). “ln L” refers to the mean posterior log-likelihood of the model. Numbers of variable and parsimony-informative sites by data partition in the Kikihia mtDNA data set. Numbers of variable and parsimony-informative sites by data partition in the Kikihia mtDNA data set. Suspecting that failure to accommodate APRV was causing the longer TL values in runs such as analysis A, we reanalyzed the same mtDNA data set with first, second, and third codon position sites distributed approximately evenly among the three partitions, again without explicitly accommodating APRV in the model (Table 1, analysis E) and again while estimating model parameters separately for each partition. The mean estimate of tree length was, as expected, comparable to the TL found when APRV was accommodated in the codon-partitioned analyses. This result further indicates that higher TL estimates in no-APRV analyses are related to rate variation across partitions. Although the above test with codon positions randomly assigned to data partitions strongly implicates failure to accommodate partition rate variation as the cause of the higher TL estimates, this inference is limited by the fact that we do not know the true evolutionary properties of the mtDNA data nor the true length of the Kikihia evolutionary tree. To address these limitations, we examined the relationship between tree length and degree of among-partition rate variation using three-partition datasets simulated on a known tree (Fig. 1) under three different levels of APRV (relative partition rates 1:1:1, 3:1:9, and 5:1:25 for treatments A, B, and C, respectively). Within each treatment, the 20 simulated data sets were each analyzed under three partitioned models differing only in the method of accommodation of APRV (no-APRV, rate-multiplier m, and unlinked branches), and the mean log-likelihood and model parameter estimates from the 20 analyses were averaged for each of these three models (Table 3). (Again, “no-APRV” here means that the model is partitioned but does not explicitly accommodate partition rate variation.) Details of the simulations and phylogenetic analyses are found in the Appendix. Phylogram used for data simulations. Distribution of character variation in representative simulated datasets used in this study. Distribution of character variation in representative simulated datasets used in this study. The simulated data analyses displayed the same patterns as those observed with the empirical data sets. Tree length was accurately estimated by all partitioned analyses (with and without APRV accommodated) when the data sets were simulated under equal partition rates (Table 4, analyses F, G, H). TL was also accurately estimated when APRV was simulated in the data and accommodated in the analysis model (Analyses B2, B3, C2, C3). In contrast, TL was biased upward in no-APRV analyses (analyses J and M) by approximately 20% with relative partition rates of 3:1:9 and by 50% with simulated partition rates of 5:1:25 (Fig. 2). Values of κ and α were poorly estimated only when APRV was simulated in the data but not accommodated in the model. When the data were simulated under varying partition rates, mean log-likelihoods were dramatically and equally improved by including the partition rate multiplier or unlinked branches in the model. The methods of accommodating APRV about equally well in estimating tree length and other model parameter tree length found in each of the of APRV and analysis model (analyses and Table that no-APRV analyses biased estimates when the data are simulated under varying partition rates (analyses and The variation across models was within the 3:1:9 = and 5:1:25 = APRV treatments and not within the = Effect of accommodation of among-partition rate variation (APRV) on parameter estimates 1 in Bayesian phylogenetic analyses of simulated data. The column indicates the degree of among-partition rate variation and the column indicates how APRV was accommodated in the analysis of that data set (analyses and not accommodate indicates average estimates that vary more than one from the used in the data. MrBayes analyses do not return partition-specific tree the of the estimated rate for each partition and TL is given here to between from different average of the three partition-specific substitution rates obtained from unlinked branch length is here for with the TL values by the rate multiplier analyses. “ln L” refers to the mean posterior log-likelihood of the model. Effect of accommodation of among-partition rate variation (APRV) on parameter estimates 1 in Bayesian phylogenetic analyses of simulated data. The column indicates the degree of among-partition rate variation and the column indicates how APRV was accommodated in the analysis of that data set (analyses and not accommodate indicates average estimates that vary more than one from the used in the data. MrBayes analyses do not return partition-specific tree the of the estimated rate for each partition and TL is given here to between from different average of the three partition-specific substitution rates obtained from unlinked branch length is here for with the TL values by the rate multiplier analyses. “ln L” refers to the mean posterior log-likelihood of the model. should failure to accommodate among-partition rate variation to dramatically higher TL In a no-APRV MrBayes estimates a mean substitution rate length, for the data set (Ronquist and Huelsenbeck, and the same average rate for each partition. the data in different partitions have under different partition rates, the posterior estimate of TL represent a between these do no-APRV analyses not the overall mean TL as the TL estimates the fit to the data in the values the fit to the third partition. In analyses sites partition, second the TL in no-APRV analyses is biased the average rate of the sites in the third rapidly partition. We that biased TL values in no-APRV analyses are by the of variable sites across partitions and on the of partition-specific parameters to accommodate the fit of TL to the data. When all partitions are assigned the same mean tree length, the log-likelihood estimate is more by the fit of TL to the partitions. This is there is for variable sites to be explained by a evolutionary In contrast, the between mean TL and the sites in the partitions can be by in parameters that model the degree of among-site rate This is a partition with a of variable sites can be explained by a model a rate and a of and a model a rate with a higher of This the observed in the analyses of simulated data sets. When APRV was simulated in the data but not accommodated in the phylogenetic analysis (Table 4, analyses J and the first and second partition were strongly biased than a estimated among-site rate variation within those partitions. The changes in α were accompanied by biased estimates of the rate κ in the first and second partitions. κ was biased the datasets were simulated with a number of these changes indicate a model in which a number of first and second partition sites are rapidly while the by codon position without the prset ratepr = variable or unlink to be especially model for estimating branch lengths in data sets with among-partition rate variation, such as protein-coding genes. This is most important in studies of related which can be to have variable first and second more be to overall on the Interestingly, it that a analysis can a no-APRV partitioned analysis in estimating TL as long as among-site rate variation is the analysis of the empirical data set (Table 1, analysis D) found a tree length comparable to that observed in the partitioned analyses that accommodated APRV. the gamma to rate not this result (unpublished among-partition rate variation dramatically the fit of partitioned analyses to datasets by to of log-likelihood 1 and This may be important for those using the estimate to models as is with the Nylander et al., 2004; Brandley et al., in the no-APRV model (Table 1, analysis the unpartitioned model D) by this = or for the more model by the of and The of the potential of partitioned models is important model can have a of on data analyses. can result in the of clock tests when data are et al., can cause the of topology and 1994; et al., can the and of model parameter et al., and et al., Buckley and Cunningham, and can strongly bias posterior and the of model on posterior is also by branch lengths and This is especially important in in branch length when branches are longer et al., and or when APRV is not accommodated In to on tree length estimates and of among-partition rate variation only or topology in analyses. In the analyses of simulated data, tree topology and relative branch lengths within the tree were by the analysis method are from the values were only of the three branches (Fig. 1, and were by posterior in every analysis. The branch was of the when APRV was in the but was by posterior in the no-APRV analyses (Fig. 3). of APRV only on topology and in analyses of the more mtDNA data set (e.g., is that that are similar in relative branch and dramatically different in mean log-likelihood and in the total of posterior of 1 1) found in each of the of APRV and analysis model (analyses and Table for this branch in no-APRV analyses of data sets simulated under varying partition rates (analyses and The variation across models was within the 3:1:9 = and 5:1:25 = APRV treatments and not within the = values were to analysis to of from partitioned analyses of the Kikihia mtDNA data set. APRV accommodated with the rate multiplier (Table 1, analysis APRV not in model (Table 1, analysis Although the tree in is nearly twice as long the one in of topology and relative branch lengths within the trees are in to and are as Although accommodating among-partition rate variation to be for branch length use of the rate multiplier or unlinked branches to to the branch length prior. as the branch length mean is the partition rate multipliers partition-specific TL values may to estimates that for the data. Table the posterior parameter estimates from a set of three-partition analyses of the Kikihia mtDNA data set that accommodated APRV by branch The methods used were the same as those in the first set of empirical analyses except that sites were used only for the first partition and the sites were distributed across the three partitions. the analyses the branch length mean was from to by the of the from 1 to = Note that the mean in MrBayes this of the partition-specific TL estimates larger values of branch length the relative partition-specific tree lengths with third position the branch length overall TL but to changes in the first and second partition rates, that by the the mean 1 = 1) the posterior TL estimates for these partitions the tree The high TL estimates are accompanied by estimates of α, the same observed for the partitioned analyses without APRV in 1 and Note that the branch length in analysis is the for MrBayes In these are but not accompanied by of such as parameter estimates and when analyzed with and 2003). We observed similar to the branch length in analyses that accommodated APRV by use of the partition rate multiplier not These indicate that of APRV partitioned Bayesian analyses be with several analyses should be to of the partition rate multipliers or partition-specific tree lengths to the branch length prior. Effect of branch length = on tree length and other posterior parameter estimates for the Kikihia mtDNA data set when APRV is accommodated by branch “ln L” refers to the mean posterior log-likelihood of the model. Effect of branch length = on tree length and other posterior parameter estimates for the Kikihia mtDNA data set when APRV is accommodated by branch “ln L” refers to the mean posterior log-likelihood of the model. lengths were sensitive to the in all analyses. values of to longer and (Table Although this mean that the branch lengths are other indicate a more lengths vary within relative branch lengths within the to the of model or branch length across all analyses (e.g., the total tree length changes in with the we it that, on the partitioning and accommodation of trees with nearly relative branch and can be found with different total tree that Yang, that branch lengths from MrBayes 3 should be in of new obtained by the with the topology In this we have to use the MrBayes TL values these have been used in Bayesian analyses and we are not on individual branch analyses of branch length in one In the three-partition analyses with branch lengths unlinked (e.g., Table 1, analysis individual branches within the tree were similar in length (Fig. compared to the branches in the overall (Fig. a of the tree. of the branches in the have lengths that are similar to or than the mean of the branch length that the is these parameter of individual branch lengths in the partitions may to the analyses with unlinked branch lengths not the rate multiplier analyses in mean for analysis in Table 1, of branch lengths compared to the overall but nearly the same as those in by of the branch length prior. The mean of the branch length for this analysis was in to and are as Although applying rate multipliers and branch lengths accommodate APRV about equally branch lengths be a when different data partitions do not the same relative evolutionary rates across the tree. This of rate variation been by et it was to in partitions of of cicadas and A similar on in rate among at individual sites been by and and and (e.g., et al., it and Philippe and (e.g., et al., 2002; et al., it of these are of and from the of and (e.g., and and studies using MrBayes version 3 for partitioned Bayesian analyses have explicitly accommodation of APRV or use of the prset ratepr = variable (e.g., Nylander et al., 2004; et al., et al., et al., 2005). partitioned Bayesian studies do not if how among-partition rate variation was modeled, and some may the of failure to accommodate variable partition rates. Brandley et the of partitioned models for phylogenetic of analysis log-likelihoods and in the tree more than unpartitioned analysis. The study a of protein-coding data partitioned by codon position, and the MrBayes of prset ratepr = was used from the in the the tree for analysis in Brandley et is approximately twice as long as the tree from the unpartitioned analysis 3). The Brandley et study is in that the trees from partitioned and unpartitioned analyses, without which it be to if APRV the branch that the of Brandley et al., about the importance of data partitioning not have been A tree from a partitioned Bayesian analysis of et al., long for a study a of related with a total branch length of approximately from the of the tree to the average was of the MrBayes ratepr = variable or branch Bayesian analyses using MrBayes version (e.g., et al., 2002; et al., are to have been by the in this data partitioning was allowed only by of the rates The MrBayes prset ratepr = variable to be similar to the rates of MrBayes is a of molecular phylogenetic studies biased estimates of (e.g., et al., by to for among-site rate variation et al., 1996; and by to for (e.g., study that evenly branch or by to the that different evolve at different rates. these it is that models that accommodate these are for molecular et al., 2002; and 2005). Yang and examined the of partitioning protein-coding by codon position and estimating from these partitions. found that estimates among codon positions when were estimated separately for each but that a analysis using a model the study that estimates of tree length of rate and in analyses with APRV are dramatically by model assumptions et al., for a related study evolutionary rate the that estimates may also be if rate is the most used methods of are not to the problems studies use the Bayesian et al., et al., and for which branch lengths are separately estimated for each data partition, the need for about APRV. analyses (e.g., with a but in empirical the relative branch lengths not vary across partitions failure to accommodate APRV not the of the Tree length by failure to explicitly model APRV are more to studies that apply estimated rates (e.g., to branch lengths estimated under partitioned models as well as studies that evolutionary rates using fossil-calibrated trees in which there are and are the of the trees. The with data partitioning is how to partition. The is in the a codon Yang and found that partitioning to codon position different estimates of molecular Brandley et found that the most important in partitioning was to the rapidly third positions from the first and second of is Although some have partitioned (e.g., and and and this does not in of evolutionary rate there is a of in and with some and on average while on average et al., et al., 1994; et al., 1996; and more is the of rapidly sites in and et al., that accommodate among sites in and other of et al., 2002; et al., et al., may address some of these the to is to use models that do not a priori of partitions to of and In models, are as been by one of a number of and each of these to the analysis. The parameters of each model and the assigned to are estimated from the data. In the of the analysis each character can be assigned a of in each model. models have also been to and and and and may means of the tree length in partitioned Bayesian analyses of the Kikihia mtDNA data set (unpublished using the and tree length estimates comparable to those obtained in Bayesian analyses that accommodated using mixed models with or three We and for on the on models and Bayesian analysis. on models and the version of his to Brandley a of the and for the phylogenetic analyses were by the of the of This is by the under to was by from the for and number The of accommodation of among-partition rate variation (APRV) on tree length and other Bayesian parameter estimates was examined using of mtDNA and from New Zealand of the genus Kikihia The have been in Using MrBayes and three-partition analyses were with or without APRV accommodated by a partition rate multiplier partition assigned a rate mn) or by branch lengths partitioned assigned a tree length, These were analyses A to In the three-partition analyses each was modeled separately position sites in partition 1, three-partition analyses was E) in which partitions were each equal number of sites from each codon data partition was separately modeled with a Yang, model with sites et al., and with among-site rate variation modeled by a gamma Yang, 1994b) with rate analyses used a branch length of and a shape parameter of other parameters were set to the MrBayes the unlinked branch length analysis the tree length which is not found in the MrBayes was calculated by the partition-specific tree lengths by the number of sites in each partition. MrBayes analysis used one and three for 3 to on number of parameters in the and every a of approximately was used for most analyses. was by of mean log-likelihood and individual parameter estimates with and and by that analyses on similar We also examined the relationship between tree length and degree of among-partition rate variation using three-partition data sets of each simulated on a known tree (Fig. 1) under three different levels of APRV (relative partition rates 1:1:1, 3:1:9, and 5:1:25 for treatments A, B, and C, respectively). Data were simulated using the and datasets were simulated for each of the three APRV treatments for a total of simulated data sets data sets are in Table 3). Within each treatment, the simulated data sets were each analyzed under three partitioned models differing only in the method of accommodation of APRV (no-APRV, rate-multiplier m, and unlinked branches), and the mean log-likelihood and model parameter estimates from the 20 analyses were averaged for each of these three The model was used in data Bayesian phylogenetic to the number of parameters and a number of were used to the analyses. The model parameters were for the κ = α = rate equal partition overall TL = substitution rates were simulated as A B estimates of different models not vary and were from the for analyses were with MrBayes (Ronquist and Huelsenbeck, to use of the by this version of the The parameters κ and α were estimated separately for each partition the were to the number of parameters in the and the means for α and κ were set to the mean values used in the data simulations. A branch length of was used in all analyses. other parameters were set to the MrBayes was for in each analysis and were as was confirmed for all analyses by the of mean log-likelihood and parameter estimates and a limited number of analyses of each that the potential and to in analyses with the MrBayes parameter set to values of not (Yang, that values than or indicate data MrBayes analyses do not return partition-specific tree the of the estimated rate for each partition and TL is given here to between from different average of the three partition-specific substitution rates obtained from unlinked branch length is here for with the TL values by the rate multiplier analyses. estimates of different models not vary and were from the here for

References

67