Showing posts with label signal issues. Show all posts
Showing posts with label signal issues. Show all posts

Monday, September 7, 2020

Fossils and Networks 3 – (deleting and) adding one tip


In the last Fossils and Networks post, we explored the use of SuperNetworks to identify both safe and problematic branching patterns by removing one OTU and re-evaluating the analysis. Here, we'll take the opposite approach, and see what we can learn from adding one OTU to our analysis.

Breaking and supporting wrong branches

We start again with the artificial Felsenstein Zone matrix that results in a wrong AB clade. Here's the original true tree used to generate the matrix.


Because of convergent/parallel evolution in the modern taxa (genera O, A and B) and primitive characters of their fossil sisters, any phylogenetic inference method will find the wrong, tree with a A + B | rest split.

In the Felsenstein Zone, parsimony will always get the wrong tree due to long-branch attraction (LBA), while Maximum likelihood has a 50:50 chance to escape LBA. To break down the LBA between A and B, we need a fossil that is, from an evolutionary point of view, intermediate between D and B.

If we add a fossil E that features 1 out of 3 derived traits found in the BD lineage (including the only synapomorphy of BD), we end up with two alternative parsimony trees: one with a wrong topology and the other the correct topology, as shown here.


By adding a fossil F featuring 2 out of 3 derived traits, we increase the number of most-parsimonious trees (MPTs) to three alternatives, all of which fall prey to A-B+F LBA, as shown next.


Convergent evolution is a problem for tree inference but selection bias and homoiologies are worse, involving accumulation of the same advanced trait within some but not all members of a lineage (Has homoiology been neglected in phylogenetics?). This is worse because the characters will enforce attraction between long-branching, highly evolved (more modern) taxa. A and B are siblings, but by enforcing an ABF clade, we will inevitably misinterpret the most primitive members of the ingroup, C and D. Hence, we may draw wrong conclusions about evolution in the A–F lineage.

Because E is virtually half-way evolved between D and F, and F is the next step towards B, the all-inclusive tree gets it right. We infer a single optimal tree, shown here.


PS: Also, in this case we could use any other optimality criterion (Maximum Likelihood, Least-squares, Minimum Evolution) and we would end up with the same tree.

Missing the important bits

That last observation is encouraging: the more fossils we include in our matrix and the better they reflect the evolutionary trends within a group (here from a D-like ancestor via E to F and B), the greater the chance of ending up with the true tree. There's only one drawback: in real-world data sets, we may miss exactly those traits in the fossil sample that are needed in order to infer (or stabilize) the true tree.


(Paleo-)Parsimonists have frequently argued that missing data are unproblematic, which is true in one sense, as shown in the above example. The commonly used strict consensus tree has no wrong branches, because it only has one, which is the trivial ingroup-outgroup split. The much less commonly used Adams consensus tree has one more branch, which is wrong: the ABF clade.

As always in such cases, the strict Consensus network visualizes the MPT sample best (again exemplifying why we should stop using cladograms).


The price for not having false positives is that we cannot infer a most-parsimonious tree or a few alternative trees any more, but could easily end up with scores of them. Here, we have 41 MPTs for a 8-taxon dataset that include fairly wrong trees*, although some of them are closer to the true tree (green and olive edges in the strict Consensus network above). For large matrices, or matrices lacking tree-like signals, the number of MPTs can easily reach tens or hundreds of thousands. Lacking critical traits in E (14 out of 46 characters missing) and F (7 missing), we may escape LBA at the cost of decisiveness. If we do have those traits only in F but not E, we will enforce LBA between A and B.

Plus-1-trees (and SuperNetworks)

Before adding a taxon as an additional leaf to our tree, we may be interested in what that taxon does to our tree: can it trigger a topological change or does it fall in line? We will again take the dinosaur-to-bird-matrix of Hartman et al. (2019, PeerJ 7: e7247) as a real-world example. This includes everything from well-covered highly derived and most primitive taxa, to those that lack discriminatory signal in general (ie. are unresolved), plus the one or two rogue taxa, with ambiguous phylogenetic affinities creating topological conflict. (Note: the commonly reported strict consensus trees cannot distinguish between those two alternatives.)

The best-covered 15 taxa provide us with a single optimal tree that is in agreement with current opinion (shown below). However, this struggles to resolve the clade of modern birds because the extinct Lithornis is being attracted by Anas, the duck. When we remove Dromiceiomimus (as shown in Fossil and Networks 2), we end up with a putatively wrong Dromaeosauridae grade, because of LBA between the most distinct Dromaesauridae, Velociraptor and Bambiraptor, and the distantly related (to flying dinosaurs) Allosaurus, Tyrannosaurus and the IGM 10042 skeleton.

Two of the Minus-1 trees generated for the last post of this series.

For our experiment, we will take this (partly) wrong tree, and add every other taxon included in the Hartman et al. (2019) matrix as 15th tip. We can then perform a branch-and-bound search to infer these 14-Plus-1 tree(s). When we browse through the inferred MPTs, we can see that many taxa fall in line with the wrong topology, including a few that, in addition, increase uncertainty for branches correctly resolved in the minus-Dromiceiomimus tree.

Out of the 485 candidate trees, only 10** have a set of characters that can compensate for the missing Dromiceiomimus, leading to Plus-1 trees that show a Dromaesauridae clade, as shown here.

Two of the ten Plus-1 trees, where the added tip saves the inference from LBA. Numbers give the amount of defined characters (scored traits). Both Halszkaraptor and Zhenyuanlong are classified as Dromaeosauridae, however only the better covered taxon is placed as sister to the Dromaeosauridae included in the original 14-taxon tree.

The presence of the deep-branching Compsognathus (Tyrannoraptora: ... :Neocoelurosauria: †Compsognathidae) triggers an Archaeopteryx-Dromaesauridae clade.


In the case of relative deep-branching Garudimus (... :Neocoelurosauria: Maniraptoriformes: †Ornithomimosauria: †Deinocheiridae) and Epidexipteryx (... : Maniraptoriformes: ... : : ... : Paraves: †Scansoriopterygidae) one or two of the two or three MPTs show the wrong grade except the last the clade.

Note: the relative low number of scored traits for Epidexipteryx can avoid LBA leading to a Dromaeosauridae grade but misplace the taxon within the Plus-1 MPTs: its family, the Scansoriopterygidae, are considered to represent the sister lineage (Wikipedia, referring to Godefroit et al. 2013 Nature 498: 359–362) of the Eumaniraptora which include the Dromaeosauridae as first-diverging branch.

We can also summarize the outcome, a collection of 640 Plus-1 MPTs, in form of a z-closure SuperNetwork, as we did for the Minus-1 trees in the previous Fossils and Networks post (shown next).


This SuperNetwork is quite boxy, and may be only semi-comprehensive (I used only 20 runs, which took half a day). Matching 485 tips into a 14-taxon backbone tree is not the kind of tree sample that the SuperNetwork has originally been designed for!

Only four edges, fat and blue, are without alternatives. In all other cases, the added tip triggered the creation of several alternatives: the highest dimension for the boxes is five, but most have four or less dimensions. Regarding our problem of saving the Dromaeosauridae clade, we can see that the topological change depends on very few characters, with Microraptor being very close to the divergence but a bit more bird-like (in a very broad sense), while the other two are much more derived.

Close-up on the Dromaeosauridae part of the network, with all tips labeled. Pie charts give the percentage of scored traits/missing data. * – Tips that saved the inference from LBA (see above).

Note the length of some of the colored edges, especially the light green which represent edges reflecting a Dromaeosauridae clade. Other Dromaeosauridae taxa increase not only the diversity but also may create substantial topological ambiguity (bluish and greenish edge bundles; same color = same split) and branching bias.

Take-home message

Creating morphological supermatrixes makes a lot of sense, because it ensures normalization and facilitates universal comparability, which is crucial also for paleobiology. However, even more than molecular phylogenies, paleophylogenies are affected by character and taxon sampling. This is nothing new, and much debate has dealt with which parsimony strict consensus cladogram is the better one.

I suggest taking a new route. Instead of using morphological supermatrixes to infer trees – for this matrix, Hartman et al. found millions of equally optimal parsimony trees further filtered by post-analysis, initial tree topology informed character weighting (as implemented in TNT) – we should use it to generate subsets and engage in exploratory data analysis. This will pinpoint strengths and weaknesses of the data and its individual taxa. Rather than producing evolutionary meaningless soft polytomies, one should study the reasons for any topological ambiguity. After all, one simple reason for unstable branching patterns may be that all so-far inferred trees are biased, only differently.

The SuperNetwork can assist us in putting together taxon sets that could allow not only a simple tree inference but also topology testing.
  • If we want to test the stability of, e.g., the Dromaeosauridae clade against taxon sampling, it will be of little use to include the most primitive (anything outside Maniraptora) and much more advanced taxa (Avialae including modern birds) of the 501-taxon matrix. On one had, the most primitive taxa will only increase the computational load, because our inferred tree not only optimizes branches we are interested in, but also irrelevant ones, using taxa that largely lack discriminative signal for the branches of interest or at all. On the other hand, the most derived taxa may bias the tree inference by providing strong terminal signals outcompeting potentially conflicting weak basal signals.
  • If we want to test the stability of the backbone phylogeny against adding taxa and entire lineages, we may prefer short-branched over long-branched taxa, in order to avoid (local) LBA (especially when we want to stick to parsimony). The terminal edges in the SuperNetwork indicate the minimum number of unique changes for each tip added to the 14-taxon tree. As seen also in our hypothetical example: E and F only break down the wrong AB clade because both are either identical (or very similar) to the last common ancestor of E+F+B and F+B, respectively.
In a future post, I'll come back to the issue of identifying taxa that are game changers, using a simple and quick tree-based approach: the so-called "evolutionary placement algorithm", first implemented in RAxML.

PS.
For any of you who really don't like networks, but still find no comfort in comb-like strict consensus cladograms either: just tick the SuperTree option when inferring the SuperNetwork. But only if your input trees converge to a shared topology. Otherwise the result may look like this:

A SuperTree based on the 640 Plus-1 MPTs.



* Somebody familiar with Consensus networks and morphological data partitions providing complex signal, can extract a phylogenetic hypothesis from this boxy network for the included taxa. In general, the distance along the network edges represents a phylogenetic distance, and thus gives a direct measure of how derived a taxon is.

For example, C, D are closer to the ougroup and placed close to the centre of the graph, which is exactly where a primitive ingroup taxon, with an ancestral morphology, would be placed. F is most likely a sister of B. The olive EF | rest split supports a potential common origin of E, F, and B (long green edge bundle). Hence, A can only represent a distant, strongly evolved sister lineage (both the alternative AB and ABF clade have less character support). Also, since the graph depicts E as least derived of the four (irrespective of the topological alternatives), its affinity to F and B has more value than the affinity between A and B, both being long-branched, and hence susceptible to LBA. D fits into the picture, the olive DE edge either: (1) represents a common origin, which would make D an early member of the red lineage; or (2) has similarity due to shared primitive traits within the ingroup, which would make D an early member of an ABEF lineage. C, in contrast to D, has no clear affinities with any other ingroup member, and so can only be interpreted as an early, very primitive form with uncertain phylogenetic relationships. The (true tree) mutual monophyly of the red and blue ingroup lineages has very little character support in the matrix, and hence cannot possibly be resolved.

** Systematically they cover a range of maniraptoran ('hand hunters') families 'below' the Avialae ('flying' dinosaurs) including, in addition to two Dromaeosauridae (Halszkaraptor, Zhenyuanlong, trees shown above), members of †Alvarezsauroidea (Haplocheirus), †Caudipteridae (Caudipteryx), †Sinovenatorinae (Sinovenator), †Therizinosauroidea or related (Beipiaosaurus, Jianchangosaurus) and †Troodontidae (Gobivenator, Sinornithoides). Caihong is a member of the †Anchiornithidae, which Wikipedia flags as "Avialae ?". These OTUs show data coverage far above the median (74% missing), with 278 (Caihong) to 558 (Caudipteryx) defined characters (out of a total of 700).

Monday, August 10, 2020

Fossils and networks 2 – deleting (and adding) one tip


A general assumption in phylogenetics is: the more the better. The more data my matrix includes, the better will be my tree. The more taxa I include, the better will be my phylogenetic analysis. But is this true when we include (or rely on) fossils? After all, there is an old saying: less is more; and in this post I will show you that it is often true here, too.

Perfect data – how to recognize unproblematic topologies

In the first post of this series (Farris and Felsenstein), I introduced two matrices, a Farris Zone matrix and a Felsenstein Zone matrix, with the same set of tip taxa: three extant genera and three early fossils, one for each generic lineage.

The Farris Zone matrix provides a perfect signal. No matter which inference criterion one uses, one always gets the true tree. In such a case, the taxon sampling should be irrelevant; and it is. Any 5-taxon sub-tree correctly shows only splits found in the 6-taxon true tree — shown below are the actual most parsimonious trees (MPT) of each inference using the branch-and-bound algorithm.

Six most-parsimonious trees showing the topology of the true tree; trees are midpoint-rooted and have the same scale.
Note: NJ/LS and ML would give the same result for this experiment.

Consequently, for the perfect case, the SuperNetwork of the six 5-taxon trees is the 6-taxon true tree.

Z-closure SuperNetwork (Huson et al. 2004) of the 5-taxon MPTs generated with SplitsTree (walkthrough at the end of the post) depicting the true tree.

Therefore, the simplest test to check for potential topological issues in any set of data is to sub-sample the taxa by sequentially pruning a single taxon, infer the resulting group of trees (which I will call minus-one trees), and then summarize this tree sample in the form of a SuperNetwork. If the data have no signal issues – and the inferred all-inclusive tree is unbiased – all minus-one trees will be congruent with the all-inclusive inferred tree. The resulting SuperNetwork will then be a tree matching the inferred all-inclusive tree.

On the other hand, if removing a single taxon has a significant effect on the inferred tree, then this either means you need this taxon to get the right tree or that this taxon is causing bias. We cannot assume that trees with many taxa are better than trees with fewer taxa. Only if a topology is independent of taxon sampling can we be sure that we are looking at a true tree (or one inevitable with the data at hand).

Taxon-sampling matters? Then the all-inclusive tree may be biased

Real data matrices are far from perfect. Paleophylogenetic matrices, for instance, not only include a lot of missing data limiting the decision capacity of any phylogenetic inference, but, being restricted to morphological traits, usually high levels of homoplasy — that is, similarity in conflict or only partial agreement with the phylogeny (here are some related posts: Has homoiology been neglected in phylogeny? Should we bother about character dependency? Please stop using cladograms! The curious case[s] of tree-like matrices with no synapomorphies and More non-treelike data forced into trees: a glimpse into the dinosaurs). While some OTUs are primitive in their character suites, others are highly derived. We often, without realizing it, are infering within or close to the Felsenstein Zone.

If we repeat the same minus-one experiment, but now use the Felsenstein Zone matrix, instead, we end up with something quite different. We get three most-parsimonious tree (MPT) solutions when eliminating the outgroup genus O or its fossil Z; and eliminating the genera A and B and their fossils C and D, respectively, each leads to a single MPT. This yields a total of 10 MPTs.

First row rooted with Z, all other trees mid-point rooted. All trees have the same scale.

By pruning the long-branching genera A or B, even parsimony analysis gets the correct tree because we have eliminated the source of the long-branch attraction. Adding fossils to break down long branches can be effective (classic paper: Wiens 2005), but dropping long-branching tip taxa works just as well. Changing between a close outgroup (fossil Z) and a distant outgroup (fossil O) has little benefit here.

In this case, the resulting SuperNetwork of our 10 MPTs is not a tree but a network including alternative clades, wrong ones (orange), ie. not monophyletic, and correct ones (green) — ie. branches (internodes, bipartitions) reflecting the monophyletic lineages of the true tree.

Comprehensive Z-closure SuperNetwork of the 10 minus-one MPT inferred based on the Felsenstein Zone matrix. The network includes all split patterns found in the MPT sample.

A real world example

To give an example of how sequentially dropping one taxon works with real-world data, we'll use the exhaustive 700 character matrix for bird-related dinosaurs provided by Hartman et al. (2019).

With its total of 501 taxa (OTUs), the apparent rationale behind the matrix is that, by including as many taxa as possible, one gets the best-possible (parsimony) trees, irrespective of the signal quality provided by individual OTUs. However, the full matrix cannot be forced into a single-optimal parsimony tree, due to missing data (72% of the matrix' cells are undefined or ambiguous, ie. 255969 cells) and a scarcity of synapomorphies (in a Hennigian sense) — this is discussed in Hartman et al.; see also the related Q&A.

Here, in light of the computational effort and to avoid heuristics when searching the MPTs, we'll use a pruned sub-matrix. For our first experiment, we take 15 out of the 19 best-covered OTUs. Thus, OTU pairs / triplets that are much more similar to each other than to any other OTU, are reduced to the best-covered representative.

The 19-taxon matrix that I used in a previous post (Large morphomatrices – trivial signal) had only one most-parsimonious tree solution, showing only clades in agreement with current opinion, which assumes a largely staircase-like evolution from dinosaurs to modern birds (Tree of Life). In contrast to the full matrix, the 19-taxon matrix provided high support for most clades (method-independent), reflecting the number of scored traits. The extant taxa, representatives of modern birds (duck, turkey and ostrich, all edible), have many derived cgaracters, with the extinct bird genus Lithornis being placed in-between ostrich and duck + turkey.

The optimal topologies for the 19 best-covered taxon matrix. Green, the single most-parsimonious tree. Clade names copied from Wikipedia/Tree of Life.

The ML and NJ/LS (except for one branch) trees were topologically identical; each branch is supported by about 100 inferred changes. The signal from the matrix should be straightforward.

The tree-size weighted mean (default in SplitsTree) SuperNetwork, summarizing the result of an exhaustive branch-and-bound search using the 15-dropped-1-taxon matrices (each one resulting in a single optimal MPT) has a tree-like structure.

Allosaurus-rooted SuperNetwork of the 15 minus-one MPTs. Green – clades also found in the all-inclusive tree representing monophyla; orange – conflicting clades, blue – the all-inclusive tree doesn't resolve the assumed monophyly of modern birds, but places Lithornis as sister to Neognathae.

Conflicting clades are found in only two of the 15 inferred MPTs, being represented by short branches (their length in the other 14 trees is counted as zero).

Nonetheless, these conflicts received considerable character support. The frequency of a split in the minus-1 tree sample is irrelevant (see the A-B LBA problem discussed above — any tree including A and B showed the wrong clade). When summarizing our tree sample (especially when using MPTs), we should hence opt for a SuperNetwork, in which the edge lengths give the minimum branch lengths found in the MPT collection, ie. the edge length reflects the minimum length of the branch in all trees showing that branch.

Same SuperNetwork as above, but using the "Min" option instead of the default setting for computing edge lengths.

Without Dromiceiomimus – representing an earlier diverged lineage and step in bird evolution – the Dromaeosauridae clade, which is probably monophyletic (Wikipedia), flips and dissolves into a grade. By removing the intermediate step, we seem to create some ingroup-outgroup (long-branch) attraction.

Anas, the duck, forms the morphological link to Lithornis – with a mean morphological pairwise Hamming distance (MD) of 0.23, Anas is the most-similar OTU; and, hence, the MPT places Lithornis as sister to Anas + Meleagris (turkey; MD = 0.17). By eliminating Anas, the remaining contemporary birds form a clade — the modern birds (Neornithes) are assumed to be monophyletic but do not form a clade in the all-inclusive MPT (Struthio, the ostrich, is morphologically more distant from duck, turkey and Lithornis).

Conclusion

Even the most comprehensive, least gappy of paleophylogenetic matrices have substantial signal issues. If a tree inference is dependent on which OTUs are sampled, we cannot assume that we will automatically get better trees simply by including everything we have. Some OTUs (in our experiment: Dromiceiomimus) will stabilize correct aspects of a tree, while others will manifest bias or error (here: Anas). It's unlikely that a wrong, ie. not monophyletic, clade created by the attraction of two well-sampled taxa can be broken down by adding numerous taxa showing only a fraction of defined characters. SuperNetworks of minus-one trees can point you to the critical OTUs and unstable branching patterns of your (backbone) phylogeny.

PS. Personally, I would analyze a matrix with these properties, and a taxon sample spanning more than 150 myrs of evolution (from Allosaurus to modern birds), using ML not MP. I used MP in this post only because paleontologists are still very fond of it (not a few still discard anything else as unfit for their data). ML is less prone to long-branch attraction, results in a single tree (easier to compare when using larger taxon samples), and is speedy these days, allowing for more in-depth experiments towards the end of the exploratory data analysis. Both IQ-Tree (homepage; includes links to online servers) and RAxML-NG (open access paper providing essential links / github; implemented on various online servers) can quickly infer ML trees and establish branch support (including but not restricted to nonparametric bootstrapping) using binary and multistate data.



Walk-through for computing Z-closure SuperNetworks (Huson et al. 2004) in SplitsTree (v. 4, since v. 5 is still not fully functional):
  1. Make sure the tree sample for reading is in Newick format, including branch-length information. The trees can be in a single file or multiple files.
  2. Start SplitsTree.
  3. To read in the tree sample:
    • File > Open, if your trees are in one file;
    • File > Tools > Load multiple trees, if your files (eg. minus-1 MPTs) are in different files.
  4. Go to Networks > SuperNetwork. Choose "Min" for "Edge Weight" in the pop-up analysis window for the first graph. You can also try out "Mean"/"Sum" (short, rare alternatives will be less prominent), "AverageRelative" (trade-off) or "None" (branch-lengths in the minus-one tree sample are ignored). When using simple tree samples (little topological variation, matrix with fairly stringent signals), a single run (default) suffices. Increasing the number (eg. to 100) ensures no branching pattern in the minus-one tree sample gets lost. For instance, for the Felsenstein Zone matrix, a single run will give you a SuperNetwork capturing the major conflicting aspects, while 100 runs will lead to a higher dimensional graph that includes the correct BD and AC clades as alternatives. If you like to view the overall best-fitting tree instead of a network, tick "SuperTree".


Cited papers

Hartman​ S, Mortimer M, Wahl WR, Lomax DR, Lippincott J, Lovelace DM (2019) A new paravian dinosaur from the Late Jurassic of North America supports a late acquisition of avian flight. PeerJ 7: e7247.

Huson DH, Dezulian T, Kloepper T, Steel MA (2004) Phylogenetic super-networks from partial trees. IEEE/ACM Transactions on Computational Biology and Bioinformatics 1: 151–158.


Wiens JJ (2005) Can incomplete taxa rescue phylogenetic analyses from long-branch attraction? Systematic Biology 54: 731–742.

Monday, October 21, 2019

Why the emperor has no clothes on – the mighty matK


In a recent paper published in PeerJ, Walker et al. (2019) take a close look at the complete plastome data of angiosperms. Although they don't find anything fundamentally new — well, at least not for those of us who have looked at the oligogene datasets we worked with — it's nice to see that somebody has been willing to do it in a very comprehensive way, and thereby published what some of us have long known:
  • A combined tree is not the sum of the genes that have been combined;
  • Single-gene trees can tell you very different stories.
Even if the overall branch support is pretty high, we always should be aware of internal data conflict.

When looked at closely, the emperor, in this case the Angiosperm Phylogeny Group (APG) complete plastome tree, maybe not be entirely naked, but is clothed in very few of the many garments at his disposal. Effectively the branches in the plastome reference tree draw their support from very few of the 79 genes/gene regions in the plastome.As Walker et al. note:
"Of the most commonly used markers, matK, greatly outperforms rbcL; however, the rarely used gene rpoC2 is the top-performing gene in every analysis. We find that rpoC2 reconstructs angiosperm phylogeny as well as the entire concatenated set of protein-coding chloroplast genes."

Fig. 1 from Walker et al. showing the (lack of) individual gene support for the angiosperm reference phylogeny.

However, there is one aspect of the paper that calls for a network-based blog post:
"Following the typical assumptions of chloroplast inheritance [i.e. that the entire plastome shares a common history being passed on solely by the mother in angiosperms], we would expect all genes in the plastomes to share the same evolutionary history. We would also expect all plastid genes to show similar patterns of conflict when compared to non-plastid inferred phylogenies ... Our results, however, discussed below, frequently conflict with these common assumptions about chloroplast inheritance and evolutionary history."
Getting incongruent branches in the single-gene trees, including a few highly supported ones, is taken as evidence for different histories potentially mixed within the plastome. Walker et al. give references for (potential) recombination and reticulation in plastomes.

I asked a question about whether this logic isn't a bit naive about tree inference. In their response, they pointed to the paper by Sullivan et al. (Mol. Biol. Evol. 2017) — these authors made test for recombination in Picea (spruce) plastomes, then split the complete plastomes into three structural units, and found two embedded conflicting phylogenies, as shown in the next figure.

Fig. 4 from Sullivan et al. (2017). F1 and F2 are structural regions comprising most of the large single-copy unit, the F3 the two (duplicate) inverted-repeat regions and the small single-copy unit of the Picea plastomes.

This seems to be a compelling case (but note the BS < 100 for conflicting critical branches). It is also quite possible, since gymnosperm plastomes, in contrast to angiosperms, may be paternally or bipartentally inherited. But, is it a valid assumption that each single-gene tree (or, in Sullivan et al.'s case, trees based on multigene regions) reflects the true tree of that gene or gene complex? That is, even if I assume that all of the genes in my matrix share the same history, must they support the same inferred tree?

Since I have worked a lot at low taxonomic levels, and often with other people's (plastid) data (during my entire career, I remained faithful to the nuclear-encoded ribosomal DNA spacers), my spontaneous answer would be: Absolutely not! Topological conflict may hint towards decoupled gene histories — it is a neccessary criterion but not a sufficient criterion.

There are quite a lot evolutionary scenarios that will lead to data inevitably supporting wrong branches, or false positives (see also Walker et al.'s discussion). Even if evolution is a strictly dichotomous process (which it clearly isn't):
  • low divergence may result in primitive (underived) sequences ('genetic symplesiomorphies') being shared by distant taxa
  • high divergence may result in saturation, which ultimately triggers branching artifacts
  • long isolation coupled with small active population sizes, repeated bottleneck / massive extinction events and/or lack of radiations will lead to sequences that are different from anything else in our data (in angiosperms, this phenomenon has a name: Ceratophyllum).
In fact, the very argument for angiosperm molecular phylogeneticists to move away from using single-gene phylogenies was that these first single-gene trees had branches that made little sense, especially when based on plastid data.

Single-gene trees will get things wrong. The more signal we add, usually by adding additional gene regions, the more we will reduce these errors (this is best-case scenario, but see Delsuc et al., Nature Rev. Genet. 2005). Thus, if some gene-trees conflict more with the combined tree than do others, it can be for two possible reasons:
  1. The conflicting genes had indeed different evolutionary histories. However, this would have to involve intra-plastome recombination and heteroplasmy, which so far have been very rarely documented in angiosperms.
  2. All genes had the same evolutionary history, but some of the data get more aspects of this true tree right than do others (and, of course, some are wrong that others get right).

And the matK said: "I'm your lord, follow my lead"

Walker et al. (all their scripts and results files can be found on github) find that it's only a few of the genes that essentially make up the combined tree. One of them is an old reliable pal of angiosperm phylogeneticists, the chloroplast matK gene. The literature is full of "multigene" trees that are effectively matK gene-trees using enlarged matrices. The matK determines a topology, and by adding genes that cannot compete with it (being too conserved, too variable or just inconsistently different), we re-enforce this topology. Only branches unresolved by matK will be further optimized using the added data.

Let's look at an example.

For the purpose of this post (and the follow-up), I'll use an old angiosperm matrix on stock (I know the quirks of this matrix). For analysis, I eliminated all of the OTUs with missing gene partitions, mainly to make sure that all of the trees and bootstrap (BS) pseudoreplicate trees have the same set of leaves, so I can summarize the tree samples using consensus networks.

Here's the my combined tree, unpartitioned.

Gray – current APG IV classification, "gold tree" (primary relationships within Mesangiospermae still a matter of debate)
And here is the fully partitioned one (over-parametrized; with each gene/codon position treated as data partition).

Essentially the same tree (some branches elongated, others shortened), eudicot clade and the Ceratophyllum-monocot clade swapped positions. Both trees have the same scale.

Even though my matrix includes only relatively few genes (just 21,550 sites), the tree gets the main aspects of the APG IV standard tree. The support for most of the branches is nearly unambiguous (irrespective of data partition), with the exception of some deep-down relationships within the Mesangiospermae (a long-standing issue, called the "dirty dozen"). The fact that the unpartioned and partitioned analysis agree for most part, indicates the signal in my matrix has no model-related issues (at least, none we could fix by using "better" models).

And the matK tree mirrors the fully partitioned tree, as shown here.

A tanglegram of the matK and the combined trees. Shown is the matK BS support for shared and conflicting edges. Orange asterisks, the monocot subtrees have the same structure but when using only matK, the conifer outgroup Podocarpus is nested deep within.

The similarity is indeed striking, in particular since the gene sample in the matrix comprises data from:
  • two of the nuclear-encoded ribosomal RNA genes (18S, 25S; biparentally inherited) that did follow partly different evolutionary trajectories, as e.g. well-studied in the case of Fagales (being a derived eudicot, not included in my matrix)
  • six chloroplast genes/gene regions (maternally inherited including the classics rbcL and matK but also the rpoC2, the most informative gene identified by Walker et al.)
  • three mitochondrial genes (also maternally inherited, but most mutations are, amino-acid-wise, synonymous, being concentrated at the third codon position).
The main things that matK get's wrong* in contrast to the combined tree are deep divergences represented by (very) short branches, in the part of the graph following the (very rapid) split of the mesangiosperm common ancestor (known as "Darwin's abominable mystery").

Also, it nests Podocarpus, the conifer in the outgroup, with unambiguous support in the monocots — which clearly is wrong, a false positive. Looking into the alignment, we can see that the reason for this is a mix of moderate-LBA (long-branch attraction) with missing-data-culling. To minimize LBA artifacts in the matrix originally used, I blanked out parts of the matK in the outgroup (which included a more derived conifer, Pinus, but also the extremely divergent gnetophytes); parts that were not straightforwardly alignable with the angiosperm matK.

The best way to illustrate internal signal conflict is, however, to directly show the BS Consensus network, not mapping support on two alternative topologies as seen in the tanglegram.

BS Consensus network based on 150 matK BS pseudoreplicates (numbers of necessary BS replicates determined by Pattengale et al.'s extended majority rule bootstop criterion implemented in RAxML)

When looking at BS << 100 and the boxes of competing splits in BS-support networks, it is important to keep in mind that low support can have two reasons:
  • Lack of decisive signal, because the BS pseudoreplicates will have (semi-)random or biased branching patterns; in the tree this surfaces usually as low (when random) to moderately high (when biased) support associated with (very) short branches.
  • Conflicting signals, ie. signals incompatible with a single tree; depending which site is eliminated or duplicated during resampling, the BS pseudoreplicate will show one or another topology; strong, deep conflict can surface in a tree by low support associated with (normally) long internal branches but also relatively high support for one alternative topology, the other only manifesting in very long terminal branches.
Regarding Walker et al.'s results, we now need to ask:
  1. Are the non-conflicted branches in the combined tree (major clades equal to the gold tree) the result of shared history of all of the included genes, or just that of the matK?
  2. Is the conflict with the combined tree and locally ambiguous signals due to a different history of the matK, located in the large single-copy unit, and the other genes, or just matK's inability to get certain things right?
In this case, all relatively high-supported conflicting matK splits are associated either with: (i) very short internal branches in the tree, the non-discriminative product of a fast ancient radiation, or (ii) are the result of an obvious data/branching artifact, ie. the misplaced Podocarpus.

So far, nothing challenges the assumption that the combined genes didn't follow the same history. Whether the other genes reveal something else, we'll see in my next post.



* or right: APG IV treats Ceratophyllum as the "probable sister of the eudicots" (see also Stevens' Angiosperm Phylogeny Website).