Skip to main content
  • Research article
  • Open access
  • Published:

A maximum pseudo-likelihood approach for estimating species trees under the coalescent model

Abstract

Background

Several phylogenetic approaches have been developed to estimate species trees from collections of gene trees. However, maximum likelihood approaches for estimating species trees under the coalescent model are limited. Although the likelihood of a species tree under the multispecies coalescent model has already been derived by Rannala and Yang, it can be shown that the maximum likelihood estimate (MLE) of the species tree (topology, branch lengths, and population sizes) from gene trees under this formula does not exist. In this paper, we develop a pseudo-likelihood function of the species tree to obtain maximum pseudo-likelihood estimates (MPE) of species trees, with branch lengths of the species tree in coalescent units.

Results

We show that the MPE of the species tree is statistically consistent as the number M of genes goes to infinity. In addition, the probability that the MPE of the species tree matches the true species tree converges to 1 at rate O(M -1). The simulation results confirm that the maximum pseudo-likelihood approach is statistically consistent even when the species tree is in the anomaly zone. We applied our method, Maximum Pseudo-likelihood for Estimating Species Trees (MP-EST) to a mammal dataset. The four major clades found in the MP-EST tree are consistent with those in the Bayesian concatenation tree. The bootstrap supports for the species tree estimated by the MP-EST method are more reasonable than the posterior probability supports given by the Bayesian concatenation method in reflecting the level of uncertainty in gene trees and controversies over the relationship of four major groups of placental mammals.

Conclusions

MP-EST can consistently estimate the topology and branch lengths (in coalescent units) of the species tree. Although the pseudo-likelihood is derived from coalescent theory, and assumes no gene flow or horizontal gene transfer (HGT), the MP-EST method is robust to a small amount of HGT in the dataset. In addition, increasing the number of genes does not increase the computational time substantially. The MP-EST method is fast for analyzing datasets that involve a large number of genes but a moderate number of species.

Background

Empirical studies on the evolutionary history of sequences from multiple loci show strong evidence of incongruent gene trees across loci [13]. Such incongruence challenges the appropriateness of traditional methods for estimating phylogenies, such as supermatrix approaches, which are based on the assumption that all loci have the same gene tree [4, 5]. Several methods have been developed to accommodate the variability among gene trees when estimating species trees [611]. Consensus tree methods are commonly used to summarize a collection of gene trees [1215] and can be easily adapted for the purpose of estimating species trees. Other approaches for combining multiple gene trees include supertree [1618] and reconciliation [1922] methods, which may capture important biological details through parameters without modelling it explicitly [23, 24]. We here focus on species tree reconstruction methods developed in the context of the multispecies coalescent model [10, 2527], which assumes that gene trees are generated from the coalescent processes occurring in each branch of a species tree.

The relationship between gene coalescence times and species divergence times under the multispecies coalescent model has motivated several approaches for estimating species trees based on summary statistics of gene coalescence times [6, 2832]. Although the likelihood function of the species tree under the multispecies coalescent model has already been derived by Rannala and Yang [25], research on the maximum likelihood (ML) estimation of species trees under the coalescent remains limited [7, 33, 34]. Under a simplified multispecies coalescent model in which population sizes are assumed constant across populations, Liu et al. [32] have shown that the Maximum Tree, a species tree with the largest possible branch lengths under the constraint that gene coalescence times across loci always predate species divergence times, is the maximum likelihood estimate (MLE) of the species tree.

Previous studies have demonstrated, empirically and theoretically, strong evidence that species trees and gene trees should be considered as distinct quantities that describe two closely related evolutionary processes. A species tree represents the evolutionary pathway of species-usually the relevant goal in phylogenetic studies [35] - while a gene tree represents the evolutionary history of a single gene. This insight on the relationship between gene trees and the species tree provides a biological foundation for building probabilistic models to estimate species trees from gene trees. In the multispecies coalescence model [25, 27, 36], a gene tree is viewed as a coalescence process of genealogical lineages along branches in the species tree. Specifically, Rannala and Yang [25] showed that the probability distribution of the topology of gene tree k and the (m ik -n ik ) coalescent time intervals t i k n i k + 1 , ... , t i k m i k for population i reduced from m ik to n ik sampled lineages along a branch of length τ i in the species tree is

exp { n i k ( n i k 1 ) θ i ( τ i j = n i k + 1 m i k t i k j ) } × j = n i k + 1 m i k { 2 θ i exp ( j ( j 1 ) θ i t i k j ) } ,
(1)

where θ i = 4α i μ and τ i = μβ i ; μ is the number of mutations per site per generation, α i is the effective population size of population i, and β i is the number of generations that population i extended over history. The second term (the product) in (1) is the probability of (m ik -n ik ) coalescent time intervals (times between coalescent events) and the first term is the probability that n ik genealogical lineages do not coalesce in population i. For a collection of gene trees G that are independent of each other given the species tree, we multiply (1) across gene trees to find the likelihood for population i [25],

k = 1 M { exp ( n i k ( n i k 1 ) θ i ( τ i j = n i k + 1 m i k t i k j ) ) j = n i k + 1 m i k { 2 θ i exp ( j ( j 1 ) θ i t i k j ) } }
(2)

in which M is the number of genes. The probability density function f(G|S) of gene trees G given the species tree S is the product of (2) across all populations (branches of the species tree). The likelihood for population i in (2) can be simplified as

( 2 / θ i ) a i e b i / θ i
(3)

where

b i = k = 1 M { n i k ( n i k 1 ) ( τ i j = n i k + 1 m i k t i k j ) + j = n i k + 1 m i k { j ( j 1 ) t i k j } } a n d a i = k = 1 M ( m i k n i k ) .
(4)

Here coalescence time intervals t i k j s are fixed because gene trees G are given. In addition, b i is bounded because the branch length τ i in the species tree is restricted due to the assumption that gene coalescence times always predate species divergence times.

We next show that the MLE of the species tree (topology, branch lengths, and population sizes) under the likelihood function f(G|S) we just described does not exist. Given a set of gene trees G, the MLE of the species tree is obtained by maximizing the likelihood function f(G|S) with respect to the topology, branch lengths, and population sizes of the species tree. Consider an ancestral population Δ in which two lineages in a gene tree coalesce (Figure 1a). Let C denote this coalescence event (indicated by the red arrow in Figure 1a). If multiple coalescence events involve in population Δ, C represents the first coalescence event occurring in population Δ Let the branch length τΔ of population Δ go to zero while keeping the coalescence C within the population (the branch shrinks as indicated by the blue arrows in Figure 1a), then we have aΔ = 1 and bΔ → 0. Let θΔ= b, which implies θΔ → 0. The likelihood of population Δ in (3) then becomes (2/θΔ)e-1 which goes to infinity as θΔ 0. Moreover, if we fix the population sizes for the populations other than Δ in the species tree, it follows from (3) that when the population size θ i is fixed, the likelihood of population i is always greater than a positive number, because b i in (3) is bounded. Thus the likelihoods of the populations other than Δ are always greater than a positive number. Since the likelihood of the species tree f(G|S) is the product of the likelihoods for single populations, it goes to infinity as the likelihood of population Δ goes to infinity, while at the same time the likelihoods for other populations are always greater than a positive number. Note that for any gene trees we can always find an ancestral population Δ in a species tree such that the likelihood of the species tree goes to infinity as θΔ → 0, bΔ → 0, and θΔ = bΔ. The likelihood of the species tree is maximized (if we define = 1 0

Figure 1
figure 1

The MLE of the species tree under the likelihood function f(G|S). a) The species tree (shaded) has three ancestral populations. The ancestral population AP1 at the root of the tree is the common ancestral population of species A, B, C, and D. Two internal branches with length τ0 and τΔ in the species tree represent the ancestral populations AP0 and Δ. Population AP0 is the common ancestral population of species A and B, while Δ is the common ancestral population of species C and D. Each population has a population size θ and branch length τ. The purple lines represent a gene tree, the evolutionary history of sequences sampled from species A, B, C, and D. The red arrow indicates the coalescence of the two sequences sampled from species C and D. The corresponding coalescence time interval is t, which decreases to 0 as branch length τΔ decreases to 0 in the direction indicated by the two blue arrows. b) The likelihood of the species tree given three gene trees. The species tree and three gene trees are ultrametric trees. The number on each branch represents the branch length. In the species tree, W is the length of the internal branch and Y = X+W, θ1 is the population size for the root population, and θ2 is the population size for the ancestral population of species A and B.

As an example, we calculate the likelihood scores of species trees for three fixed gene trees ((A:0.01, B:0.01):0.01, C:0.02), ((A:0.015, C:0.015):0.01, B:0.025), and ((A:0.02, B:0.02):0.01, C:0.03) (Figure 1b). The species tree is ((A:X, B:X):W, C:Y) where X is the divergence time of species A and B and Y is the height of the species tree. Note that Y = X+W because the species tree is ultrametric (Figure 1b). Branch lengths in the species tree and gene trees are in mutation units. Let θ1 be the population size of the root population and θ1 be the population size on the branch with length W in the species tree. Due to the constraint that gene coalescence times should be strictly larger than species divergence times, we have X < 0.01 and Y < 0.015. Let 0.01 < Y < 0.015. The likelihood of the species tree is

( 2 θ 2 e 2 ( 0.01 X ) θ 2 × 2 θ 1 e 2 ( 0.02 Y ) θ 1 ) gene tree    1 × ( e 2 W θ 2 × 2 θ 1 e 6 ( 0.015 Y ) θ 1 × 2 θ 1 e 2 ( 0.025 0.015 ) θ 1 ) gene tree   2 × ( e 2 W θ 2 × 2 θ 1 e 6 ( 0.02 Y ) θ 1 × 2 θ 1 e 2 ( 0.03 0.02 ) θ 1 ) gene tree   3 = 2 θ 2 e 2 ( 0.01 X + 2 W ) θ 2 × 32 θ 1 5 e 0.31 14 Y θ 1

The second part of the likelihood, 32 θ 1 5 e 0.31 14 Y θ 1 , is bounded because Y < 0.015. The first part of the likelihood, 2 θ 2 e 2 ( 0.01 X + 2 W ) θ 2 , goes to infinity as X increases towards 0.01 (but not equal to 0.01) and W decreases towards 0, while θ2 = 0.01-X + 2W. Note that 0.01-X+2W >0 because X < 0.01 and W > 0. Thus we can set θ2 = 0.01-X + 2W (all population sizes are always positive). The likelihood approaches to infinity at θ2 = 0, but because population size θ2 must be strictly positive, the MLE of the species tree for the three gene trees does not exist. Moreover, for a species tree of an arbitrary size, we can always find a rooted triple in the species tree such that the likelihood of the population indicated by the internal branch in the triple goes to infinity as the length (W in the previous example) of the internal branch decreases to 0 and species divergence time (X in the previous example) approaches to the minimum gene coalescence time (0.01 in the previous example) and thus the MLE of the species tree under the likelihood function f(G|S) does not exist. For this reason, we develop a pseudo-likelihood approach for estimating species trees from gene tree topologies. As we describe below, our method delivers MLEs for species trees, yet it is a pseudo-likelihood approach because the likelihoods of different rooted triples in the gene trees are not independent of one another. Nonetheless, we show that this method yields robust results that account for gene tree heterogeneity.

Methods

The arguments in the previous section imply that the Rannala and Yang formula f(G|S) can go to infinity as we change the values of branch length τ and population size θ. To overcome this problem, the species tree S is reparameterized such that branch lengths are measured in coalescent units, T = 2τ/θ [27, 37]. For the rest of this paper, branch lengths in the species tree are in coalescent units unless otherwise noted. We here develop a pseudo-likelihood to estimate the reparameterized species tree S* using topologies of gene trees. Since this method involves only topologies of gene trees, the term gene tree will be used to refer to the topology of the gene tree (without branch lengths) unless otherwise noted. The construction of the pseudo-likelihood is based on the fact that a species tree is characterized by a set of rooted triples for all subsets of three taxa [38]. Thus, estimating species tree S* is equivalent to estimating the set of rooted triples derived from S*. It motivates the rooted triple consensus method, an approach that utilizes rooted triples in gene trees to estimate the topology of the species tree [12, 13, 15]. Following the suggestion of Degnan et al. [39], we develop a pseudo-likelihood approach to estimate the species tree S*, including the topology and branch lengths, from a set of gene trees.

Throughout we assume that the species tree and gene trees are rooted trees. It is also assumed that the topologies of gene trees are known without error, although we show how to incorporate uncertainty in gene tree estimation into the estimate of the species tree. We assume that a single lineage is sampled from each species, as is common in phylogenetic studies [1, 40]. Since coalescence occurs for at least two lineages in a population in the species tree, the lengths of the external branches (terminal populations) in the species tree are not estimable for the case of single lineage per species. Missing lineages in some gene trees are allowed if lineages are missing randomly, but a lot of missing lineages may dramatically reduce the performance of the pseudo-likelihood approach. For simplicity, we assume no missing lineages in gene trees. The theory developed in this paper can be easily extended to the cases where lineages in gene trees are missing randomly.

Pseudo-likelihood of the Specie Tree

Let N be the number of taxa and {T i , i = 1,...,(N-2)} be the lengths of internal branches in the species tree. An N-taxon species tree contains ( N 3 ) rooted triples. For example, a four-taxon species tree contains ( 4 3 ) = 4 rooted triples (Figure 2a). Let { R T j S * , j = 1 , ... , ( N 3 ) } be the set of rooted triples in an N-taxon species tree S*. We use AB|C to denote the triple in which A and B are grouped (the first triple in Figure 2a). Each triple has an internal branch with length B j which is the sum of one or several internal branches in the species tree. In Figure 2a, the lengths of internal branches in the four triples are B 1 = T1, B 2 = T1 +T 2 , B 3 = B 4 = T2. Length T1 is involved in triples AB|C and AB|D, while T2 is involved in triples AC|D and BC|D. In general, an internal branch in the species tree is involved in several rooted triples in the species tree. Consider an arbitrary rooted triple R T j S * = AB|C in the species tree and the length of the internal branch of R T j S * is B j . Let a, b, and c be the alleles sampled from species A, B, and C. Under coalescent, the probability that triple ab|c occurs in a gene tree randomly generated from species tree S* is 1 ( 2 / 3 ) e B j , whereas the probability is ( 1 / 3 ) e B j for triple ac|b or bc|a [41]. It indicates that the length B j of the internal branch of a species tree triple AB|C can be estimated by the proportion of gene trees containing triple ab|c. When the proportions of gene trees containing triples ab|c, ac|b, and bc|a are all equal to 1/3, it implies that the length of the internal branch of triple AB|C in the species tree is 0. Thus the method we develop here can be used to estimate trifurcations and polytomies in the species tree. Let xj1, xj2, and xj3 be the counts of triples ab|c, ac|b, bc|a occurring in gene trees. It follows that xj1, xj2, and xj3 have a multinomial distribution

Figure 2
figure 2

The pseudo-likelihood of a four-taxon species tree. a) The rooted triples of a four-taxon species tree. There are four rooted triples in the four-taxon species tree. The lengths of two internal branches in the species tree are T1 and T2. The lengths of internal branches in the four triples are B1=T1, B2=T1+ T2, and B3=B4=T2. b) The pseudo-likelihood of a four-taxon species tree. The species tree (bold lines) has two internal branches with lengths of T1 and T2. The dataset contains three gene trees (thin lines). Different gene tree triples correspond to different species tree triples. For example, triple ab|c in gene tree 1, ac|b in gene tree 2, and ab|c in gene tree 3 correspond to triple AB|C with internal branch length B1 = T1 in the species tree, while triple cd|a in gene tree 1, ac|d in gene tree 2, and ac|d in gene tree 3 correspond to triple CD|A with internal branch length B2 = T2 in the species tree.

f ( x j 1 , x j 2 , x j 3 | R T j S * ) = M ! x j 1 ! x j 2 ! x j 3 ! ( 1 ( 2 / 3 ) e B j ) x j 1 ( ( 1 / 3 ) e B j ) x j 2 ( ( 1 / 3 ) e B j ) x j 3
(5)

where M is the sum of xj1, xj2, and xj3. Note that M is equal to the number of genes (loci) for all j. The MLE of R T j S * under (5) is the most frequent triple among ab|c, ac|b, and bc|a occurring in gene trees with the length of the internal branch

B ^ j = log { 3 × ( 1 x / M ) / 2 } for x M .
(6)

Here x is the count of the most frequent triple among ab|c, ac|b, and bc|a occurring in gene trees. Note that x > M/3 and thus B ^ j is positive. Because the proportion x/M in (6) converges to its expectation 1 ( 2 / 3 ) e B j , the MLE B ^ j converges to the true length B j in probability, i.e.,

B ^ j = log { 3 × ( 1 x / M ) / 2 } p B j ,
(7)

as M goes to infinity. This indicates that the frequencies of triples in gene trees can be used to consistently estimate both topologies and internal branch lengths (in coalescent units) of triples in the species tree. The joint probability distribution of triples in the species tree is approximated by the product of marginal probabilities (thus the name of pseudo-likelihood) [42, 43]. Although the approximation ignores the correlation structure among interrelated triples in gene trees (and thus does not utilize all the information in the data) when estimating species trees, the pseudo-likelihood has computational advantages as the joint probability distribution of triples is difficult to calculate and the MLE under the full likelihood function (or the Rannala and Yang formula) does not exist. In addition, we can show (in the next section) that the estimate of the species tree obtained by maximizing the pseudo-likelihood is statistically consistent. The pseudo-likelihood of species tree S* given gene trees G is defined as the product of the multinomial distributions in (5) across all triples in the species tree:

L ( S * | G ) = w × j = 1 ( N 3 ) { ( 1 ( 2 / 3 ) e B j ) x j 1 ( ( 1 / 3 ) e B j ) x j 2 ( ( 1 / 3 ) e B j ) x j 3 }
(8)

where w = j = 1 ( N 3 ) { M ! x j 1 ! x j 2 ! x j 3 ! } , B j is the length of the internal branch of triple j in the species tree, and xj1, xj2, and xj3 are the frequencies of three types of triples in gene trees. The estimate of the species tree, including topology and internal branch lengths, is obtained by maximizing the pseudo-likelihood L(S*|G). Since w is a function of x and has no effect on the procedure of maximizing L(S*|G), it can be ignored from the likelihood function L(S*|G). We employ a heuristic search technique; nearest-neighbor interchanges (NNI), to find the maximum pseudo-likelihood estimate (MPE) of the species tree. We call this method Maximum Pseudo-likelihood for Estimating Species Trees, or MP-EST. When N = 3, (8) becomes (5) and the MP-EST tree is the most frequent gene tree triple with an internal branch of length described in (6). Note that the length B j of the internal branch of triple j in the species tree is the sum of one or several internal branch lengths {T i , i = 1,...,(N-1)} in the species tree. Because the length T i of internal branch i in the species tree involves in many species tree triples, it is estimated by the combination of the frequencies of the gene tree triples corresponding to the species tree triples that involve T i . Equation (6) implies that the estimate B ^ j of the length of the internal branch in the species tree triple R T j S * increases to infinity as the proportion x/M of the most frequent gene tree triple approaches to 1. Thus the length of an internal branch in the species tree is not estimable if all relevant triples in gene trees support the same topology. In this case, we assign "99" as the length of the branch to indicate that this branch length is not estimable.

As an example, we calculate the pseudo-likelihood for a four-taxon species tree with a fixed topology and two internal branches of lengths T1 and T2 (Figure 2b). There are four rooted triples for this four-taxon species tree. Let B1, B2, B3, and B4 be the lengths of internal branches in triples AB|C, AB|D, CD|A, CD|B. It follows that B1 = B2 = T1 and B3 = B4 = T2. Suppose that the dataset contains three gene trees (Figure 2b). To calculate the pseudo-likelihood in (8), we need to count the numbers of gene tree triples corresponding to each of the four species tree triples. There are 2 ab|c triples, 1 ac|b triple, and 0 cb|a triple in gene trees corresponding to triple AB|C in the species tree. The likelihood of triple AB|C with internal branch length B1 = T1 in (8) is

( 1 ( 2 / 3 ) e T 1 ) 2 ( ( 1 / 3 ) e T 1 ) 1 ( ( 1 / 3 ) e T 1 ) 0 ,

Similarly, we can calculate the likelihoods of the other three triples in the species tree.

The pseudo-likelihood of the species tree for this dataset is equal to

( 1 ( 2 / 3 ) e T 1 ) 2 ( ( 1 / 3 ) e T 1 ) 1 ( ( 1 / 3 ) e T 1 ) 0 triple   AB|C × ( 1 ( 2 / 3 ) e ( T 1 ) ) 2 ( ( 1 / 3 ) e ( T 1 ) ) 1 ( ( 1 / 3 ) e ( T 1 ) ) 0 triple   AB|D × ( 1 ( 2 / 3 ) e T 2 ) 1 ( ( 1 / 3 ) e T 2 ) 2 ( ( 1 / 3 ) e T 2 ) 0 triple  CD|A × ( 1 ( 2 / 3 ) e T 2 ) 1 ( ( 1 / 3 ) e T 2 ) 1 ( ( 1 / 3 ) e T 2 ) 1 triple  CD|B

The estimates of the lengths of internal branches in the species tree are obtained by maximizing the pseudo-likelihood with respect to T1 and T2. Note that T1 involves in the likelihoods of two triples AB|C, AB|D, while T2 involves in the likelihoods of CD|A and CD|B. Thus T1 is estimated by the frequencies of gene tree triples corresponding to the species tree triples AB|C and AB|D and T2 is estimated by the frequencies of gene tree triples corresponding to the species tree triples CD|A and CD|B. Due to the simplicity of this example, we can explicitly derive the estimates of T1 and T2,

T ^ 1 = log { 3 2 ( 1 ( y 1 + y 2 ) 2 k ) } = log { 3 2 ( 1 ( 2 + 2 ) 6 ) } = 0.693 T ^ 2 = log { 3 2 ( 1 ( y 3 + y 4 ) 2 k ) } = log { 3 2 ( 1 ( 1 + 1 ) 6 ) } = 0

where y1, y2, y3 and y4 are the counts of gene tree triples ab|c and ab|d, cd|a, and cd|b. The estimate of T2 is 0 because the proportions of gene tree triples cd|a and cd|b matching the species tree triples CD|A and CD|B are equal to 1/3. The log-likelihood of the species tree with T1 = 0.693 and T2 = 0 is -11.797. There are 15 possible topologies for a four-taxon species tree. Similarly, we can calculate the log-likelihoods for the other 14 topologies and choose the one with the maximum log-likelihood score as the estimate of the species tree (topology and branch lengths).

Statistical Consistency

We use Φ(S*) to denote the pseudo-likelihood of a species tree S* in (8) without w because w has no effect on the procedure of maximizing L(S* | G).

Φ ( S * | G ) = j = 1 ( N 3 ) { ( 1 ( 2 / 3 ) e B j ) x j 1 ( ( 1 / 3 ) e B j ) x j 2 ( ( 1 / 3 ) e B j ) x j 3 }
(9)

The MPE of the species tree is S ^ * = arg max S * { Φ ( S * ) } . It follows from the strong law of large numbers [44] that as the number of genes M increases to infinity, the proportions of triples in gene trees converge to their expectations almost surely,

{ x j 1 M , x j 2 M , x j 3 M } a . s { ( 1 ( 2 / 3 ) e W j ) , ( ( 1 / 3 ) e W j ) , ( ( 1 / 3 ) e W j ) }  for  j = 1 , ... , ( N 3 ) .
(10)

where Wj is the length of the internal branch of triple j in the true species tree S T . Thus as M → ∞, Φ (S* | G) converges to function H(S*) almost surely,

Η ( S * ) = j = 1 ( N 3 ) { ( 1 ( 2 / 3 ) e B j ) M ( 1 ( 2 / 3 ) e W j ) ( ( 1 / 3 ) e B j ) M ( 1 / 3 ) e W j ( ( 1 / 3 ) e B j ) M ( 1 / 3 ) e W j }
(11)

Because Φ (S* | G) and H(S*) are bounded continuous functions (0 < Φ (S* | G) < 1 and 0< H(S*) < 1). In addition, the function H(S*) is maximized when Bj = Wj for all j, i.e., S T = arg max S * { Η ( S * ) } . Thus as M → ∞, the MPE S ^ * converges to the true species tree S T in probability, i.e.,

S ^ * p S T ,
(12)

which shows that the MP-EST method is statistically consistent in estimating species trees (topology and branch lengths in coalescent units) as the number of genes increases.

We next derive the rate at which the probability P { S ^ * = t o p S T } that the MPE S ^ * is topologically identical to the true species tree S T converges to 1. Equations (10), (11), and (12) imply that the MPE S ^ * matches the true species tree S T in topology if all the differences between the proportions of the most frequent gene tree triples and their expectations are very small, i.e.,

| x j 1 M ( 1 ( 2 / 3 ) e W j ) | < ε for  j = 1 , ... , ( N 3 ) ,
(13)

where ε is a small positive real number determined by the true species tree S T . Thus,

P { S ^ * = t o p S T } > P [ | x j 1 M ( 1 ( 2 / 3 ) e W j ) | < ε , for each j { 1 , ... , ( N 3 ) } ] > 1 j = 1 ( N 3 ) P { | x j 1 M ( 1 ( 2 / 3 ) e W j ) | ε } > 1 j = 1 ( N 3 ) var ( x j 1 / M ) ε 2 = 1 j = 1 ( N 3 ) ( 2 / 3 ) e W j × ( 1 ( 2 / 3 ) e W j ) M ε 2 > 1 ( N 3 ) 4 M ε 2
(14)

This shows that the probability of S ^ * matching the true species tree S T converges to 1 at O(M-1).

Robustness to Horizontal Gene Transfer (HGT)

Consider an arbitrary triple AB|C in the species tree and the length of the internal branch is B j . Under coalescent, the probability that a triple in the gene trees generated from the species tree topologically agrees with triple AB|C is 1 ( 2 / 3 ) e B j . Although HGT events may occur between species A and B, species A and C, or species B and C, we here only consider the HGT events between species A and C, or B and C because these events can change the probability of observing a matching triple in gene trees and may thus result in a biased MP-EST estimate of the species tree. Suppose that the rate of horizontal gene transfer λ is homogeneous per gene per generation between extant species A and C (or B and C) in triple AB|C (Figure 3). We assume that the probability distribution of the number of HGT events occurring between two species is a Poisson distribution with mean λL where L is the divergence time (in generations) of two species. The probability that HGT events occur between species A and C or species B and C is 1-e-2λL (Figure 3). Adding HGT events in the coalescent model, the probability of observing triple ab|c in gene trees becomes

Figure 3
figure 3

Horizontal gene transfer (HGT) events in the species tree. The species tree is an ultrametric tree. Branch lengths in the species tree are the number of generations. We here focus on the HGT events that can change the topology of species A, B, and C. HGT events between species A and C (red arrow) or between species B and C (blue arrow) occurring below the divergence time (green line) of species A and B can change the topology of species A, B, and C. We assume that the transfer rate between species A and C (or between species B and C) is λ (per generation). Thus the probability distribution of the number of HGT events occurring between species A and C or species B and C below the divergence time L has a Poisson distribution with mean 2λL.

1 ( 2 / 3 ) e B j ( 1 e 2 λ L ) = e 2 λ L ( 2 / 3 ) e B j .
(15)

It follows that the proportion of gene trees containing triple ab|c converges to the quantity specified in (15) and the MP-EST estimate B ^ j of the length of the internal branch in triple AB|C does not converge to the true length B j when the rate λ of HGT is not 0. It implies that some estimates T ^ i s of the lengths of internal branches in the species tree do not converge to the true lengths T i s. Otherwise if all estimated lengths T ^ i s converge to the true lengths T i s, then all B ^ j s will converge to B j s (because B j s are the sums of one or several T i s), which contradicts the previous conclusion that the MP-EST estimate B ^ j of the length of the internal branch in triple AB|C does not converge to the true length B j . Inconsistency of the MP-EST estimates T ^ i s of the lengths of internal branches in the species tree is due to the HGT events occurring among species A, B, and C. Because an internal branch in the species tree is estimated by the combination of the proportions of the gene tree triples corresponding to the species tree triples that involve this branch, the effect of the biased proportion of gene tree triples (due to the HGT events occurring among species A, B, and C) on the estimation of branch lengths is alleviated by the proportions of other gene tree triples that are not affected by HGT, especially when HGT events only occur in a small group of species.

Although HGT events can result in biased estimates of the lengths of internal branches in the species tree, the topology of the species tree may still be consistently estimated when λ is small. Previously, we have shown that the topology of the species tree can be consistently estimated if the conditions in (13) hold for some large M. Thus we want to find a large M so that

| x j 1 / M ( 1 ( 2 / 3 ) e W j ) | < ε ,
(16)

where xj1 is the count of the most frequent gene tree triple. We know that the proportion xj1/M converges to e 2 λ L ( 2 / 3 ) e B j (equation (15)) when HGT occurs at rate λ. It implies that for any δ > 0, there exists a large M such that | x j 1 / M ( 1 ( 2 / 3 ) e W j ) + 1 e 2 λ L | < δ , i.e., | x j 1 / M ( 1 ( 2 / 3 ) e W j ) | < δ + 1 e 2 λ L . Thus (16) holds if 1-e-2λL< ε because α becomes very small and negligible when M is large. We conclude that (16) holds if λ < log ( 1 ε ) 2 L . It shows that if the rate (λ) of horizontal gene transfer is smaller than log ( 1 ε ) 2 L , the MP-EST method is still statistically consistent in estimating the topology of the species tree.

Estimating species trees from multilocus sequences

The proof for the consistency of the MP-EST method is based on the assumption that gene trees are known without error. In fact, gene trees are usually unknown and must be estimated from multilocus sequences. Under general conditions, the ML gene tree G ^ estimated from sequence data is a consistent estimator of the true gene tree G [45]. Thus the MPE of the species tree S ˜ * based on the estimated gene tree is a consistent estimator of the species tree S*. The procedure of estimating species trees from multilocus sequences includes two steps; gene trees are first independently estimated from mutlilocus sequences using the ML method [46] or any other method that is consistent, and rooted by an outgroup (we assume that the outgroup is known). Although gene trees can be rooted by multiple outgroups, it requires that the outgroup sequences must form a monophyletic clade consistently in all gene trees, which rarely occurs in reality. Thus when the appropriate outgroup includes multiple species and is comprised of a monophyletic group, then one must drop some sequences in order to estimate gene trees with a single sequence as the outgroup. However, multiple outgroups can be accommodated partially if they do not comprise a monophyletic group. In this case a single outgroup sequence is again used, and the additional outgroups are estimated as if they were part of the ingroup. Multiple species cannot simultaneously be designated as outgroups (for rooting gene trees) using MP-EST.

The rooted gene trees are then used to construct the MP-EST tree as the estimate of the species tree. Although ML gene trees are usually binary trees, there may be some cases in which some internal nodes and relevant rooted triples in gene trees are unresolved (polytomy). For an unresolved triple (a,b,c) in gene trees, we assign 1/3 to each of the three possible topologies ab|c, ac|b, and bc|a. The estimation error in gene trees can be incorporated into the analysis using bootstrapping techniques [47, 48]. Specifically, columns (or sites) in the aligned sequences are resampled with replacement for each gene sampled (with replacement) from the multilocus dataset [48, 49]. The MP-EST trees constructed for the bootstrapped samples are summarized by a consensus tree.

Results

Simulation

To evaluate the performance of MP-EST, we simulated 10 ten-taxon species trees from a birth and death process with birth rate of 10 and death rate of 0.1 from the phylogenetic program Mesquite [50]. The population sizes (θ) in the species tree were generated from a uniform distribution (0.005, 0.01). Branch lengths in the 10 species trees vary in the range of 0.00029 and 0.01832. To convert it to coalescent units, the branch length must be divided by the population size θ. Gene trees were generated from the ten species trees using the phylogenetic program Phybase [51] and then used as data to estimate species trees by MP-EST, STAR [11], and Rooted Triple consensus (RT) [12]. We repeated the simulation 100 times. The performance of each method was evaluated based on the proportion of trials yielding the true species trees. We also evaluated the mean square error (MSE) [52] of the branch length between the true species tree and the MP-EST estimate of the species tree. When calculating the MSE of the branch length, we discarded the branches with length "99" because the lengths of these branches are not estimable.

The results (Figure 4a and 4b) suggest that as the number of genes increases, the proportion of trials in which MP-EST has successfully recovered the true species trees increases to 1, and the MSE of the branch length (in coalescent units) appears to decrease to 0, indicating that MP-EST is statistically consistent in estimating the species trees (topology and branch length in coalescent units) generated in the simulation. The results for STAR and RT show the same pattern that as the number of genes increases, the proportions of trials yielding the true species tree for both methods increase to 1. Overall, STAR performs slightly better than the other two methods, while MP-EST and RT have the similar performance in recovering the true species tree (Figure 4a). A low proportion in Figure 4a does not necessarily imply a large topological difference between the true species tree and the tree estimated by a species tree reconstruction method. For example, the proportion of the MP-EST trees matching the true species tree is 0.47 for the case of 10 genes (Figure 4a), but across all replicates the average Robinson and Foulds (RF) topological distance [53] between the MP-EST tree and the true species tree is 1.35, indicating that on average only one or two internodes (usually with short branches leading to their ancestral nodes) are not successfully recovered.

Figure 4
figure 4

The performance of MP-EST in estimating species trees. (a, b) the performance of MP-EST, STAR, and RT in estimating species trees from gene trees. (c, d) the performance of MP-EST, STAR, and RT in estimating an anomalous species tree. (e, f) the performance of MP-EST, STAR, and RT in estimating species trees from DNA sequences. Because STAR and RT cannot estimate branch lengths of the species tree, the results in (b,d,f) do not include STAR and RT.

In the second simulation, we investigate the performance of MP-EST, STAR, and RT in estimating species trees in the anomaly zone. The anomaly zone is a region of species tree space, one with very short branches in the species tree, in which the most common gene tree is different from the species tree [37]. One would not expect estimation of species trees in this case to be straightforward. Gene trees were simulated from an anomalous species tree ((((A:0.5, B:0.5):0.025, C:0.525):0.025, D:0.55):1, E:1.55) (in coalescence units). The most probable gene tree has the topology (((A,B),(C,D)),E) and the RF distance between the true species tree and the most probable gene tree is 2. The generated gene trees were then used as data to infer the species tree using MP-EST, STAR, and RT. The simulation was repeated 100 times and we calculated the proportion of trials yielding the true species tree for each species tree reconstruction method. We also calculated the MSE of the branch length between the MP-EST tree and the true species tree. The result for the MP-EST method shows that the proportion of trials yielding the true species tree increases to 1, while the MSE of the branch length appears to decrease to 0, as the number of genes increases (Figure 4c and 4d). This confirms that MP-EST can consistently estimate the true species tree even in the anomaly zone, as expected from the theory we developed above. Similarly, the proportions of the STAR and RT trees matching the true species tree approach 1 as the number of genes increases. In this simulation, MP-EST appears to outperform STAR and RT at 100 and 500 genes (Figure 4c). In addition, the result suggests that all three methods require a large number of genes to accurately estimate anomalous species trees (Figure 4c).

We next investigated estimation of species trees from alignments of DNA sequences. In this simulation, a species tree was generated from a birth and death process: (A:0.019, (((B:0.01, C:0.01):0.0017, ((D:0.00003, E:0.00003): 0.00666, F:0.0067):0.005004):0.00312,((G:0.0043,(H:0.0003,I:0.0003):0.004):0.0034,J:0.0077):0.007):0.0038) with population sizes generated from a uniform distribution (0.005, 0.01). The branches in the species tree are in mutation units. Gene trees were generated from this species tree assuming a molecular clock and then used to simulate DNA sequences of 500 bp under the Jukes-Cantor model in Phybase [51]. The average height and branch length of the simulated gene trees are 0.0243 and 0.0072 in substitutions per site. Another set of DNA sequences were simulated from the gene trees generated from a non-clocklike species tree model which assumes that the substitution rate is the same for all genes and sequences in the same population in the species tree, but the rates may differ across populations [6]. The terminal and internal branches (terminal and ancestral populations) of the species tree were assigned with relative mutation rates generated from a Dirichlet distribution with the shape parameter β = 0. The branches of the gene tree entering a particular population in the species tree are multiplied by the relative mutation rate of that population. The simulated DNA sequences were used to estimate the species tree. ML gene trees were first estimated independently and without a molecular clock for each gene in the phylogenetic program PHYML [54] with the Jukes-Cantor model (we used the default for other parameters in PHYML) and rooted by species A. The MP-EST, STAR, and RT trees were constructed from the estimated gene trees. The simulation was repeated 100 times. For the MP-EST method, the proportion of trials yielding the true species tree appears to approach 1, while the MSE of the branch length goes towards 0, as the number of genes increases (Figure 4e and 4f), which suggests that MP-EST is statistically consistent in estimating species trees from multilocus sequences, not just when gene trees are given as in the first simulation. Overall, STAR slightly outperforms MP-EST and RT (Figure 4e). In addition, STAR, MP-EST, and RT perform better for the sequences generated from the clocklike species tree than those generated from the non-clocklike species tree, especially when the number of genes is small (10 genes in Figure 4e). Nevertheless, the proportions of STAR, MP-EST, and RT trees matching the true species tree increase to 1 as the number of genes increases to 100, regardless the sequences were generated from a clocklike species tree or a non-clocklike species tree. It suggests that MP-EST, STAR, and RT can consistently estimate the species tree in the absence of a molecular clock. The robustness of the methods to violating the clock is due to the fact that all three methods use only the topologies of gene trees to estimate species trees. In this simulation, we have demonstrated that MP-EST is statistically consistent for the cases of violating the clock randomly throughout the species tree and gene trees. There might be other ways of violating the clock for which MP-EST may not be consistent. For instance in long-branch attraction types of scenarios where gene trees can not be consistently estimated from molecular sequences, MP-EST may consistently estimate a wrong species tree due to the bias in the gene tree reconstruction. We observed that nearly half (49%) of the gene trees generated from the species tree across replicates were rooted incorrectly and species A was not located on the branch between (BCDEF) and (GHIJ). Yet in these cases and in the simulation generally, the correct species tree was always consistently estimated. This result suggests that MP-EST (STAR and RT) can consistently recover the true species tree even when estimated gene trees are misrooted frequently. The theory we developed assumes that the roots of the gene trees are known without error, yet our simulation suggests that this assumption can be violated and still yield a solid result under the coalescent model.

Concatenation approaches have been frequently used to infer species trees from multilocus sequences [4, 40, 55]. To compare MP-EST with concatenation, we simulated DNA sequences from an anomalous species tree ((((A:0.005, B:0.005):0.00025, C:0.00525):0.00025, D:0.0055):0.01, E:0.0155) with a constant population size θ = 0.01 for all populations in the tree. The lengths of branches are in mutation units. Species E is used as the outgroup to root gene trees in the MP-EST analysis. Gene trees were generated from this species tree assuming a molecular clock and then used to simulate DNA sequences of 500 bp under the Jukes-Cantor model in Phybase. Species trees were estimated from the simulated sequences using the MP-EST and Bayesian concatenation methods. For the Bayesian concatenation method, the species tree was estimated by the consensus tree constructed from the posterior distribution of the species tree estimated in the Bayesian phylogenetic program MrBayes [56] with the Jukes-Cantor model. The chains (one cold chain and three hot chains) ran for 1000000 generations and we saved every 100th trees after a burnin period of 500000 generations. The simulation and Baysian concatenation analysis were repeated 100 times. We selected a sample of simulation repetitions to check convergence of the MCMC algorithm and found that all MCMC algorithms converged at the 10000th generation (the standard deviation of split frequencies < 0.0001). MP-EST trees were constructed as described in the previous simulations. The result for the MP-PEST method shows that the proportion of trials yielding the true species tree approaches 1.0 as the number of genes increases (Figure 5). In contrast, the proportion of the concatenation trees matching the true species tree goes to 0 (Figure 5). This result suggests that MP-PEST outperforms the Bayesian concatenation method in the anomaly zone.

Figure 5
figure 5

Comparison between MP-EST and the Bayesian concatenation method in estimating an anomalous species tree. DNA sequences were simulated from an anomalous species tree and used as data to estimate the species tree by the MP-EST and Bayesian concatenation methods. The simulation was repeated 100 times and we calculated the proportion of trials yielding the true species tree for each of the two species tree reconstruction methods.

Although all results suggest that MP-EST is statistically consistent in estimating species trees, the ranges of genes required for MP-EST to recover the true species tree with a high probability are largely different across simulations. In the first simulation (Figure 4a), it requires at least 100 genes for the proportion of trials yielding the true species tree to reach 0.9. It increases to 1000 genes in the second simulation (Figure 4c), but decreases to 50 genes in the third simulation (Figure 4e). The number of genes needed depends on the true species tree. In general, it requires more genes to accurately estimate the species tree with short internal branches (in coalescent units) than to accurately estimate the species tree with long internal branches (in coalescent units). This explains why it needs a large number of genes in the second simulation where the species tree is in the anomaly zone and has very short internal branches (in coalescent units).

Mammal data analysis

Springer et al. [57] used mutilocus DNA sequences to estimate the phylogenetic relationship among placental mammals. The dataset contains DNA sequences from 20 genes for 53 placental mammals and 4 marsupial outgroups (opossum, diprotodontian, monitor del monte, shrew opossum), totalling 14,326 sites. Because the four outgroup sequences do not consistently form a monophyletic group for all genes, we reduced the original data set from 57 to 54 species so that a single outgroup (opossum) rather than multiple outgroups is included as required by MP-EST. In the MP-EST analysis, 1000 bootstrap samples were produced using a nonparametric bootstrapping technique [47]. ML gene trees were estimated for 1000 bootstrap samples in PHYML and rooted with outgroup opossum. The rooted ML gene trees were used to construct 1000 MP-EST trees. A consensus tree (Figure 6) was built from the 1000 MP-EST trees using Majority-Rule-extension (MRe) in CONSENSE from the PHYLIP package [58]. The MP-EST tree with branch lengths (in coalescent units) was plotted in Additional file 1: Figure S1.

Figure 6
figure 6

The MP-EST consensus tree for the mammal dataset. A consensus tree was constructed from the species trees estimated by the MP-EST method for 1000 bootstrap datasets using Majority-Rule-extension (MRe) in CONSENSUS from the PHYLIP package. The numbers on the branches are bootstrap proportions based on 1000 replicates. There are four monophyletic clades: Laurasiatheria (blue), Euarchontoglires (red), Xenarthra (gray), Afrotheria (green). The outgroup opossum has been excluded.

Since the MP-EST method can accommodate only a single outgroup sequence (opossum), it suffers from of its inability to utilize multispecies outgroups, which are widely thought to help stabilize the roots of the estimated gene trees [59]. To investigate the problem of multispecies outgroups, we repeated the MP-EST analysis for the original mammal data set including the four marsupial outgroups (opossum, diprotodontian, monitor del monte, shrew opossum). ML gene trees were still rooted with outgroup opossum. The phylogenetic relationships of placental mammals in the MP-EST consensus tree for the full mammal data set are consistent with those constructed from the reduced data set (Additional file 2: Figure 2). In addition, the other 3 outgroup species (diprotodontian, monitor del monte, shrew opossum) in the MP-EST consensus tree form a basal clade with a high bootstrap proportion 0.98 (Additional file 2: Figure 2). However, we note that if the opossum outgroup is included, this results in a lack of monophyly for marsupials, which is clearly incorrect. Ultimately MP-EST is unable to accommodate multiple outgroups when the outgroup clade is monophyletic. Therefore we are forced to use a single outgroup and to drop other species that are more closely related to that outgroup than to the ingroup.

Unlike the highly supported Bayesian concatenation tree, most bootstrap proportions in the MP-EST consensus tree are less than 0.5 (Figure 6). It may be inappropriate to compare bootstrap supports with posterior probabilities because the relation between bootstrap values and posterior probabilities are highly variable [60, 61] and no studies have been conducted to assess the correlation between bootstrap supports and posterior probabilities at the species tree level. Neither bootstrap values nor posterior probabilities are measures of accuracy of the estimated phylogenetic trees. However, separate analyses for 20 gene segments of the mammal data set produced poorly supported gene trees (Additional file 3: Figure S3). Approximately 80% of the bootstrap values in the estimated gene trees are less than 0.5. In addition, most bootstrap values for deep phylogenetics relationships are less than 0.2. The poorly supported gene trees suggest that the mammal data set does not contain much information about the phylogenetic relationship of placental mammals. Nevertheless, most posterior probabilities in the Bayesian concatenation tree are equal to 1.0, indicating that the Bayesian concatenation method may have overestimated the posterior probabilities. In contrast, the low bootstrap supports in the MP-EST consensus tree have reasonably reflected uncertainty in the estimated gene trees. There are in general two types of genetic variations among multilocus sequences; genetic variation among loci and genetic variation within each locus. In the MP-EST analysis, both variations are considered in the nonparametric bootstrap technique. As a result, the bootstrap supports in the MP-EST consensus tree reflect the level of uncertainty of clades within and among gene trees. For example, the MP-EST consensus tree for the mammal data set has high bootstrap supports for the branches close to the terminal tips and low bootstrap supports for the branches close to the tree root, which is consistent with the pattern of bootstrap values in gene trees (Additional file 3: Figure S3). In contrast, the Bayesian concatenation method assumes congruent gene trees. The spuriously high posterior probabilities, as those in the Bayesian concatenation tree for the mammal data set, are probably due to the assumption of congruent gene trees, along with the fact that bootstrap values are more conservative than posterior probabilities as the measure of the reliability of phylogenetic trees [61].

Despite the molecular and genomic consensus of the four-clade classification of placental mammals (Xenarthra, Laurasiatheria, Euarchontoglires and Afrotheria), the relationship among the four major groups is highly controversial. Three different hypotheses regarding the topology of the four clades were supported by different phylogenetic markers [62]. Morphological markers and retroposons data favored the topology (Xenarthra, (Afrotheria, (Laurasiatheria, Euarchontoglires))) [63, 64]. The second topology ((Xenarthra, Afrotheria), (Laurasiatheria, Euarchontoglires)) was supported by phylogenetic studies of the full mitochondrial genome [62, 65], while the analyses of protein-coding and non-coding sequences supported the topology (Afrotheria, (Xenarthra, (Laurasiatheria, Euarchontoglires))) [57, 66]. More recently, the genome-wide analysis and large scale sequence data provided evidence for a clear trifurcation at the root of placentals [67, 68]. Nishihara et al [69] came to the same conclusion based on the retroposon analysis and recent geological data. The ancestral relationship for the four major groups in the MP-EST consensus tree is ((Xenarthra, Afrotheria), (Laurasiatheria, Euarchontoglires)) with bootstrap support 0.47, while the second most supported relationship is (Afrotheria, (Xenarthra, (Laurasiatheria, Euarchontoglires))) with support 0.37. Moreover, the bootstrap support for the relationship (Xenarthra, (Afrotheria, (Laurasiatheria, Euarchontoglires))) is 0.013. The very low support at the deep branches may be caused by the lack of information about deep relationships of placental mammals in the molecular dataset. It may also be caused by an unreliable placement of outgroup opossum. This unsolved relationship reflects the controversies over the relationship of four major groups of placental mammals. In contrast, the Bayesian concatenation tree predominantly favors the hypothesis (Afrotheria, (Xenarthra, (Laurasiatheria, Euarchontoglires))) with a support of 0.93 [57]. The MP-EST consensus tree contains a highly improbable group of Human and Strepirrhines to the exclusion of Tarsius. Because the bootstrap support for this group is just 0.42, adding more data may be able to more accurately resolve the relationship among Human, Strepirrhines, and Tarsius.

Conclusions

Our maximum pseudo-likelihood method, MP-EST, can consistently estimate the topology and branch lengths (in coalescent units) of the species tree including those in the anomaly zone. Although the pseudo-likelihood is derived from coalescent theory, and assumes no gene flow or horizontal gene transfer (HGT), we have shown that the MP-EST method is robust to a small number of HGT events. Unlike HGT, in which only one or a few genes might be affected, gene flow between species necessarily affects all genes in the genome, and hence potentially all trees in a data set. Thus gene flow will likely have a bigger impact on species tree estimation than will HGT. However, this situation is no different from traditional phylogenetic analysis, in which HGT and gene flow are both complicating factors [70].

MP-EST allows missing sequences for some genes. It can be used to infer species phylogenies for phylogenomic data in which it is quite common to have a substantial fraction of missing sequences. However, MP-EST may poorly perform in the presence of missing sequences in some genes. The relationship between the performance of MP-EST and the amount of missing sequences is complicated and needs further studies. The pseudo-likelihood is a function of the triplet frequencies summarized across gene trees. Since the summarized frequencies are calculated prior to the algorithm, increasing the number of genes does not increase the computational time of the algorithm for maximizing the pseudo-likelihood (Table 1). On the other hand, the computational time for calculating the likelihood function is O(N3) where N is the number of species, because the pseudo-likelihood involves ( N 3 ) terms. Thus increasing the number of species will certainly increase the time for finding the maximum of the pseudo-likelihood function. We tested the execution time and memory consumption for running MP-EST on a linux machine (Dual Quad Core Xeon 2.66, 32GB RAM). The execution time (CPU time) for finding the MP-EST tree of 160 species is about 51 hours (Table 2). Meanwhile, it requires at least 1.4GB memory (Table 2). The MP-EST method can quickly obtain the MPE of species trees for datasets of moderate size (≤ 80 in Table 2). For example, using a Dell PowerEdge M6000 with dual Xeon E5410 2.3 Ghz quad core processors and 32 GB RAM, it took about 40 minutes to calculate the MP-EST tree (using one CPU-core) for the reduced mammal dataset which contains 54 species and 20 genes. However, there is tremendous increase in running time for MP-EST compared to RT and STAR when more taxa are used (Table 2) although the difference in performance among the three methods is small (Figure 4).

Table 1 Execution times for running MP-EST as the number of genes increases.
Table 2 Execution times and memory consumption for running MP-EST as the number of species increases.

Since MP-EST can estimate both the topologies and branch lengths of species trees, gene trees simulated from the MP-EST tree can be used to approximate the distribution of gene trees expected from the multispecies coalescent model. By comparing the lineage patterns in the estimated gene trees with those in the distribution of gene trees expected from the coalescent model, we can identify the lineages in the estimated gene trees that significantly deviate from the lineage patterns expected from the multispecies coalescent model. For example, if HGT occurs in the dataset, the distances among the lineages from distant species in the estimated gene trees should be significantly smaller than those expected from the multispecies coalescence model which assumes no HGT.

With regards to branch lengths, MP-EST is unable to estimate the lengths of external branches in the species tree because only one allele is sampled from each species. In addition, the internal branch length of a triple in the species tree is not estimable when all gene triples support the same topology. These internal branches are indicated with length of "99". Users should be cautious about the interpretation of length "99". It is not the actual length of the branch. The value "99" suggests that the corresponding branch length is not estimable due to the lack of topological variation among gene triples. In the cases where all genes support a single tree, MP-EST will fail to estimate any branch length.

Strategies for sampling genes are important for all species tree reconstruction methods. Biased representation of genes on the genome may introduce systematic error in species tree estimation. For example, if we would split mitochondrial genomes of placental mammals in single genes and use only these genes to estimate the species tree, MP-EST would find with bootstrap support 1.0 a species tree placing the flying lemur within primates, challenging this group paraphyletic. The MP-EST method assumes that given the species tree, the evolutionary histories of genes, i.e., gene trees, follow a coalescence process, but in practice this assumption may not always be satisfied. Although MP-EST is, to some extent, robust to the violation of the coalescent assumption, serious divergence from coalescent can certainly result in inaccurate MP-EST estimates of species trees.

Our algorithm is able at this stage to accept only a single allele per species. In addition, our algorithm yields species trees whose branch lengths are in coalescent units, rather than substitutions per site as most with most phylogenetic trees. However, such trees are still of practical use in phylogenetics. The topology of phylogenies is usually of primary interest and we have shown that the topology is consistently estimated by MP-EST. Even when we recover species trees with branch lengths in coalescent units, under certain assumptions we can obtain reasonable estimates of species divergence times in generations or years. Working in units of mutations, for example, if we assume that ancestral population sizes (θ) of lineages in our estimated species tree are similar to those of extant species (as estimated, for example, from multilocus genetic data), we can easily convert coalescent units in a species tree to branch lengths in units of substitutions per site (τ = μ). Or, when faced with variation in θ among extant species, one could reconstruct ancestral population sizes using any number of algorithms for phylogenetic comparative methods. Despite the fact that branch lengths are estimated in coalescent units, our algorithm is able to accommodate branch length variation in gene trees and can yield non-ultrametric species trees. In contrast, most species tree methods either ignore branch lengths in gene and/or species trees [8] or estimated ultrametric species trees [71]. Although it would be highly desirable to estimate branch lengths of species trees directly in units of substitutions per site as in traditional phylogenies and some species tree algorithms (STEM [33] and BEST [9]), such an estimation procedure would require properly modelling the mutation rate variation within and among genes. Our efforts are currently directed toward this end.

Availability and Requirements

Project name: A maximum psudo-likelihood approach for estimating species trees under the coalescent model (MP-EST)

Project home page: http://code.google.com/p/mp-est/

Operating system: platform independent.

Programming language: C

Other requirements: No

Licence: GNU GPL.

References

  1. Jennings WB, Edwards SV: Speciational history of Australian grass finches (Poephila) inferred from thirty gene trees. Evolution. 2005, 59: 2033-2047.

    CAS  PubMed  Google Scholar 

  2. Pollard DA, Iyer VN, Moses AM, Eisen MB: Widespread discordance of gene trees with species tree in Drosophila: Evidence for incomplete lineage sorting. Plos Genet. 2006, 2: 1634-1647.

    CAS  Google Scholar 

  3. Brumfield RT, Jernigan RW, McDonald DB, Braun MJ: Evolutionary implications of divergent clines in an avian (Manacus: Aves) hybrid zone. Evolution. 2001, 55: 2070-2087.

    Article  CAS  PubMed  Google Scholar 

  4. Huelsenbeck JP, Bull JJ, Cunningham CW: Combining data in phylogenetic analysis. Trends Ecol Evol. 1996, 11: 152-158. 10.1016/0169-5347(96)10006-9.

    Article  CAS  PubMed  Google Scholar 

  5. de Queiroz A, Gatesy J: The supermatrix approach to systematics. Trends Ecol Evol. 2007, 22: 34-41. 10.1016/j.tree.2006.10.002.

    Article  PubMed  Google Scholar 

  6. Mossel E, Roch S: Incomplete lineage sorting: consistent phylogeny estimation from multiple Loci. IEEE/ACM Transactions on Computational Biology and Bioinformatics. 2007, 7: 166-171. 10.1109/TCBB.2008.66.

    Article  Google Scholar 

  7. Meng C, Kubatko LS: Detecting hybrid speciation in the presence of incomplete lineage sorting using gene tree incongruence: a model. Theor Popul Biol. 2009, 75: 35-45. 10.1016/j.tpb.2008.10.004.

    Article  PubMed  Google Scholar 

  8. Maddison WP, Knowles LL: Inferring phylogeny despite incomplete lineage sorting. Syst Biol. 2006, 55: 21-30. 10.1080/10635150500354928.

    Article  PubMed  Google Scholar 

  9. Liu L: BEST: Bayesian estimation of species trees under the coalescent model. Bioinformatics. 2008, 24: 2542-2543. 10.1093/bioinformatics/btn484.

    Article  CAS  PubMed  Google Scholar 

  10. Liu L, Pearl DK: Species trees from gene trees: Reconstructing Bayesian posterior distributions of a species phylogeny using estimated gene tree distributions. Syst Biol. 2007, 56: 504-514. 10.1080/10635150701429982.

    Article  CAS  PubMed  Google Scholar 

  11. Liu L, Yu L, Pearl DK, Edwards SV: Estimating species phylogenies using coalescence times among sequences. Syst Biol. 2009, 58: 468-477. 10.1093/sysbio/syp031.

    Article  CAS  PubMed  Google Scholar 

  12. Ewing GB, Ebersberger I, Schmidt HA, von Haeseler A: Rooted triple consensus and anomalous gene trees. BMC Evol Biol. 2008, 8: 118-10.1186/1471-2148-8-118.

    Article  PubMed Central  PubMed  Google Scholar 

  13. Bryant D, Berry V: A structured family of clustering and tree construction methods. Adv Appl Math. 2001, 27: 705-732. 10.1006/aama.2001.0758.

    Article  Google Scholar 

  14. Margush T, McMorris FR: Consensus n-trees. B Math Biol. 1981, 43: 239-244.

    Google Scholar 

  15. Bryant D: A classification of consensus methods for phylogenies. 2003, DIMACS. AMS

    Google Scholar 

  16. Day WHE, McMorris FR, Wilkinson M: Explosions and hot spots in supertree methods. J Theor Biol. 2008, 253: 345-348. 10.1016/j.jtbi.2008.03.024.

    Article  CAS  PubMed  Google Scholar 

  17. Bininda-Emonds ORP, Bryant HN: Properties of matrix representation with parsimony analyses. Syst Biol. 1998, 47: 497-508.

    CAS  PubMed  Google Scholar 

  18. Cotton JA, Wilkinson M: Majority-rule supertrees. Syst Biol. 2007, 56: 445-452. 10.1080/10635150701416682.

    Article  PubMed  Google Scholar 

  19. Page RDM: Extracting species trees from complex gene trees: Reconciled trees and vertebrate phylogeny. Mol Phylogenet Evol. 2000, 14: 89-106. 10.1006/mpev.1999.0676.

    Article  CAS  PubMed  Google Scholar 

  20. Bonizzoni P, Della Vedova G, Dondi R: Reconciling gene trees to a species tree. 2003, Berlin: Springer

    Book  Google Scholar 

  21. Page RDM, Charleston MA: From gene to organismal phylogeny: Reconciled trees and the gene tree species tree problem. Mol Phylogenet Evol. 1997, 7: 231-240. 10.1006/mpev.1996.0390.

    Article  CAS  PubMed  Google Scholar 

  22. Slowinski JB, Knight A, Rooney AP: Inferring species trees from gene trees: A phylogenetic analysis of the elapidae (Serpentes) based on the amino acid sequences of venom proteins. Mol Phylogenet Evol. 1997, 8: 349-362. 10.1006/mpev.1997.0434.

    Article  CAS  PubMed  Google Scholar 

  23. Steel M, Rodrigo A: Maximum likelihood supertrees. Syst Biol. 2008, 57: 243-250. 10.1080/10635150802033014.

    Article  PubMed  Google Scholar 

  24. Ane C, Larget B, Baum DA, Smith SD, Rokas A: Bayesian estimation of concordance among gene trees. Mol Biol Evol. 2007, 24: 412-426. 10.1093/molbev/msl170.

    Article  CAS  PubMed  Google Scholar 

  25. Rannala B, Yang ZH: Bayes estimation of species divergence times and ancestral population sizes using DNA sequences from multiple loci. Genetics. 2003, 164: 1645-1656.

    PubMed Central  CAS  PubMed  Google Scholar 

  26. Nielsen R: Maximum likelihood estimation of population divergence times and population phylogenies under the infinite sites model. Theor Popul Biol. 1998, 53: 143-151. 10.1006/tpbi.1997.1348.

    Article  CAS  PubMed  Google Scholar 

  27. Degnan JH, Salter LA: Gene tree distributions under the coalescent process. Evolution. 2005, 59: 24-37.

    Article  PubMed  Google Scholar 

  28. Takahata N: Gene genealogy in three related populations: consistency probability between gene and population trees. Genetics. 1989, 122: 957-966.

    PubMed Central  CAS  PubMed  Google Scholar 

  29. Degnan JH, Rosenberg NA: Gene tree discordance, phylogenetic inference, and the multispecies coalescent. Trends Ecol Evol. 2009, 24: 332-340. 10.1016/j.tree.2009.01.009.

    Article  PubMed  Google Scholar 

  30. Efromovich S, Kubatko LS: Coalescent time distributions in trees of arbitrary size. Stat Appl Genet Mol Biol. 2008, 7: Article 2

    Google Scholar 

  31. Carstens BC, Knowles LL: Estimating species phylogeny from gene-tree probabilities despite incomplete lineage sorting: an example from Melanoplus grasshoppers. Syst Biol. 2007, 56: 400-411. 10.1080/10635150701405560.

    Article  PubMed  Google Scholar 

  32. Liu L, Yu L, Pearl DK: Maximum Tree: a consistent estimator of the species tree. J Math Biol. 2010, 60: 95-106. 10.1007/s00285-009-0260-0.

    Article  PubMed  Google Scholar 

  33. Kubatko LS, Carstens BC, Knowles LL: STEM: species tree estimation using maximum likelihood for gene trees under coalescence. Bioinformatics. 2009, 25: 971-973. 10.1093/bioinformatics/btp079.

    Article  CAS  PubMed  Google Scholar 

  34. Wakeley J: Coalescent Theory: An Introduction. 2008, Roberts & Company Publishers

    Google Scholar 

  35. Edwards SV: Is a new and general theory of molecular systematics emerging?. Evolution. 2009, 63: 1-19. 10.1111/j.1558-5646.2008.00549.x.

    Article  CAS  PubMed  Google Scholar 

  36. Liu L, Pearl DK, Brumfield RT, Edwards SV: Estimating species trees using multiple-allele DNA sequence data. Evolution. 2008, 62: 2080-2091. 10.1111/j.1558-5646.2008.00414.x.

    Article  PubMed  Google Scholar 

  37. Degnan JH, Rosenberg NA: Discordance of species trees with their most likely gene trees. Plos Genetics. 2006, 2: 762-768. 10.1371/journal.pgen.0020068.

    Article  CAS  Google Scholar 

  38. Steel M: The Complexity of Reconstructing Trees from Qualitative Characters and Subtrees. Journal of Classification. 1992, 9: 91-116. 10.1007/BF02618470.

    Article  Google Scholar 

  39. Degnan JH, DeGiorgio M, Bryant D, Rosenberg NA: Properties of consensus methods for inferring species trees from gene trees. Syst Biol. 2009, 58: 35-54. 10.1093/sysbio/syp008.

    Article  PubMed Central  PubMed  Google Scholar 

  40. Rokas A, Williams BL, King N, Carroll SB: Genome-scale approaches to resolving incongruence in molecular phylogenies. Nature. 2003, 425: 798-804. 10.1038/nature02053.

    Article  CAS  PubMed  Google Scholar 

  41. Pamilo P, Nei M: Relationships between Gene Trees and Species Trees. Mol Biol Evol. 1988, 5: 568-583.

    CAS  PubMed  Google Scholar 

  42. Wang J: A pseudo-likelihood method for estimating effective population size from temporally spaced samples. Genet Res. 2001, 78: 243-257. 10.1017/S0016672301005286.

    Article  CAS  PubMed  Google Scholar 

  43. Besag J: Statistical analysis of non-lattice data. The Statistician. 1975, 24: 179-195. 10.2307/2987782.

    Article  Google Scholar 

  44. Feller W: An Introduction to Probability Theory and Its Applications. New York: Wiley. 1968, 1:

    Google Scholar 

  45. Felsenstein J: Inferring Phylogenies. 2004, Sunderland, Massachusetts: Sinauer Associates

    Google Scholar 

  46. Felsenstein J: Evolutionary trees from DNA sequences: a maximum likelihood approach. J Mol Evol. 1981, 17: 368-376. 10.1007/BF01734359.

    Article  CAS  PubMed  Google Scholar 

  47. Efron B: Nonparametric estimates of standard error - the Jackknife, the Bootstrap and other methods. Biometrika. 1981, 68: 589-599. 10.1093/biomet/68.3.589.

    Article  Google Scholar 

  48. Seo T-K: Calculating Bootstrap Probabilities of Phylogeny Using Multilocus Sequence Data. Mol Biol Evol. 2008, 25: 960-971. 10.1093/molbev/msn043.

    Article  CAS  PubMed  Google Scholar 

  49. Soltis PS, Soltis DE: Applying the bootstrap in phylogeny reconstruction. Stat Sci. 2003, 18: 256-267. 10.1214/ss/1063994980.

    Article  Google Scholar 

  50. Maddison WP, Maddison DR: Mesquite: a modular system for evolutionary analysis. 2009, [http://mesquiteproject.org]2.6

    Google Scholar 

  51. Liu L, Yu L: Phybase: an R package for species tree analysis. Bioinformatics. 2010

    Google Scholar 

  52. Casella G, Berger RL: Statistical Inference. 2002, Duxbury Press

    Google Scholar 

  53. Robinson DR, Foulds LR: Comparison of phylogenetic trees. Mathematical Biosciences. 1981, 53: 131-147. 10.1016/0025-5564(81)90043-2.

    Article  Google Scholar 

  54. Guindon S, Gascuel O: A simple, fast, and accurate algorithm to estimate large phylogenies by maximum likelihood. Syst Biol. 2003, 52: 696-704. 10.1080/10635150390235520.

    Article  PubMed  Google Scholar 

  55. Driskell AC, Ane C, Burleigh JG, McMahon MM, O'Meara BC, Sanderson MJ: Prospects for building the tree of life from large sequence databases. Science. 2004, 306: 1172-1174. 10.1126/science.1102036.

    Article  CAS  PubMed  Google Scholar 

  56. Huelsenbeck JP, Ronquist F: MRBAYES: Bayesian inference of phylogenetic trees. Bioinformatics. 2001, 17: 754-755. 10.1093/bioinformatics/17.8.754.

    Article  CAS  PubMed  Google Scholar 

  57. Springer MS, Burk-Herrick A, Meredith R, Eizirik E, Teeling E, O'Brien SJ, Murphy WJ: The adequacy of morphology for reconstructing the early history of placental mammals. Syst Biol. 2007, 56: 673-684. 10.1080/10635150701491149.

    Article  PubMed  Google Scholar 

  58. Felsenstein J: PHYLIP. 2005, Seattle: Department of Genome Science, University of Washington, 3.6

    Google Scholar 

  59. Sanderson MJ, Shaffer HB: Troubleshooting phylogenies. Annu Rev Ecol Syst. 2002, 49-72. 10.1146/annurev.ecolsys.33.010802.150509.

    Google Scholar 

  60. Cummings MP, Handley SA, Myers DS, Reed DL, Rokas A, Winka K: Comparing bootstrap and posterior probability values in the four-taxon case. Syst Biol. 2003, 52: 477-487. 10.1080/10635150390218213.

    Article  PubMed  Google Scholar 

  61. Douady CJ, Delsuc F, Boucher Y, Doolittle WF, Douzery EJ: Comparison of Bayesian and maximum likelihood bootstrap measures of phylogenetic reliability. Mol Biol Evol. 2003, 20: 248-254. 10.1093/molbev/msg042.

    Article  CAS  PubMed  Google Scholar 

  62. Hallstrom BM, Kullberg M, Nilsson MA, Janke A: Phylogenomic data analyses provide evidence that Xenarthra and Afrotheria are sister groups. Mol Biol Evol. 2007, 24: 2059-2068. 10.1093/molbev/msm136.

    Article  PubMed  Google Scholar 

  63. Shoshani J, McKenna MC: Higher taxonomic relationships among extant mammals based on morphology, with selected comparisons of results from molecular data. Mol Phylogenet Evol. 1998, 9: 572-584. 10.1006/mpev.1998.0520.

    Article  CAS  PubMed  Google Scholar 

  64. Kriegs JO, Churakov G, Kiefmann M, Jordan U, Brosius J, Schmitz J: Retroposed elements as archives for the evolutionary history of placental mammals. PLoS Biol. 2006, 4: e91-10.1371/journal.pbio.0040091.

    Article  PubMed Central  PubMed  Google Scholar 

  65. Kjer KM, Honeycutt RL: Site specific rates of mitochondrial genomes and the phylogeny of eutheria. BMC Evol Biol. 2007, 7: 8-10.1186/1471-2148-7-8.

    Article  PubMed Central  PubMed  Google Scholar 

  66. Nikolaev S, Montoya-Burgos JI, Margulies EH, Rougemont J, Nyffeler B, Antonarakis SE: Early history of mammals is elucidated with the ENCODE multiple species sequencing data. PLoS Genet. 2007, 3: e2-10.1371/journal.pgen.0030002.

    Article  PubMed Central  PubMed  Google Scholar 

  67. Churakov G, Kriegs JO, Baertsch R, Zemann A, Brosius J, Schmitz J: Mosaic retroposon insertion patterns in placental mammals. Genome Res. 2009, 19: 868-875. 10.1101/gr.090647.108.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  68. Hallstrom BM, Janke A: Resolution among major placental mammal interordinal relationships with genome data imply that speciation influenced their earliest radiations. BMC Evol Biol. 2008, 8: 162-10.1186/1471-2148-8-162.

    Article  PubMed Central  PubMed  Google Scholar 

  69. Nishihara H, Maruyama S, Okada N: Retroposon analysis and recent geological data suggest near-simultaneous divergence of the three superorders of mammals. Proc Natl Acad Sci USA. 2009, 106: 5235-5240. 10.1073/pnas.0809297106.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  70. Eckert AJ, Carstens BC: Does gene flow destroy phylogenetic signal? The performance of three methods for estimating species phylogenies in the presence of gene flow. Mol Phylogenet Evol. 2008, 49: 832-842. 10.1016/j.ympev.2008.09.008.

    Article  CAS  PubMed  Google Scholar 

  71. Liu L, Yu L, Kubatko LS, Pearl DK, Edwards SV: Coalescent methods for estimating multilocus phylogenetic trees. Mol Phylogenet Evol. 2009, 53: 320-328. 10.1016/j.ympev.2009.05.033.

    Article  CAS  PubMed  Google Scholar 

Download references

Acknowledgements

We thank Dennis Pearl for the helpful suggestion on the first draft of the manuscript. We thank Bruce Rannala for constructive discussion on the likelihood function of the species tree. We thank four anonymous reviewers for their constructive comments on the manuscript. This research is supported by the grant NSF DEB-0743616.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liang Liu.

Additional information

Authors' contributions

LL and LY developed the method and conducted the analyses. SVE obtained funding. LL, LY, and SVE drafted the manuscript. All authors read and approve the final manuscript.

Electronic supplementary material

12862_2009_1517_MOESM1_ESM.PDF

Additional file 1: Figure S1: The MP-EST tree with branch lengths for the mammal data set. Branches with length "99" (inestimable) are indicated with *.(PDF 12 KB)

12862_2009_1517_MOESM2_ESM.PDF

Additional file 2: Figure S2: The consensus MP-EST tree for the original mammal data set including the four marsupial outgroups (opossum, diprotodontian, monitor del monte, shrew opossum).(PDF 4 KB)

12862_2009_1517_MOESM3_ESM.PDF

Additional file 3: Figure S3: The consensus gene trees for the reduced mammal data set. We constructed a consensus tree for each of the 20 genes in the reduced mammal data set. The numbers on the branches of the consensus trees are bootstrap values based on 100 replicates. Gene trees were rooted by opossum. (PDF 1 MB)

Authors’ original submitted files for images

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Liu, L., Yu, L. & Edwards, S.V. A maximum pseudo-likelihood approach for estimating species trees under the coalescent model. BMC Evol Biol 10, 302 (2010). https://doi.org/10.1186/1471-2148-10-302

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1471-2148-10-302

Keywords