LSD – Least-Squares Dating
Fast dating using least-squares criteria and algorithms
ABSTRACT
Phylogenies provide a useful way to understand the evolutionary history of genetic samples, and data sets with more than a thousand taxa are becoming increasingly common, notably with viruses (e.g., human immunodeficiency virus (HIV)). Dating ancestral events is one of the first, essential goals with such data. However, current sophisticated probabilistic approaches struggle to handle data sets of this size. Here, we present very fast dating algorithms, based on a Gaussian model closely related to the Langley–Fitch molecular-clock model. We show that this model is robust to uncorrelated violations of the molecular clock. Our algorithms apply to serial data, where the tips of the tree have been sampled through times. They estimate the substitution rate and the dates of all ancestral nodes. When the input tree is unrooted, they can provide an estimate for the root position, thus representing a new, practical alternative to the standard rooting methods (e.g., midpoint). Our algorithms exploit the tree (recursive) structure of the problem at hand, and the close relationships between least-squares and linear algebra. We distinguish between an unconstrained setting and the case where the temporal precedence constraint (i.e., an ancestral node must be older that its daughter nodes) is accounted for. With rooted trees, the former is solved using linear algebra in linear computing time (i.e., proportional to the number of taxa), while the resolution of the latter, constrained setting, is based on an active-set method that runs in nearly linear time. With unrooted trees the computing time becomes (nearly) quadratic (i.e., proportional to the square of the number of taxa). In all cases, very large input trees (>10,000 taxa) can easily be processed and transformed into time-scaled trees. We compare these algorithms to standard methods (root-to-tip, r8s version of Langley–Fitch method, and BEAST). Using simulated data, we show that their estimation accuracy is similar to that of the most sophisticated methods, while their computing time is much faster. We apply these algorithms on a large data set comprising 1194 strains of Influenza virus from the pdm09 H1N1 Human pandemic. Again the results show that these algorithms provide a very fast alternative with results similar to those of other computer programs. These algorithms are implemented in the LSD software (least-squares dating), which can be downloaded from this web page, along with all our data sets and detailed results. An Online Appendix, providing additional algorithm descriptions, tables, and figures can be found in the Supplementary Material available on Dryad at http://dx.doi.org/10.5061/dryad.968t3.
Paper
Software
LSD (least-square dating) program containing the LD and QPD algorithms:
- New version LSD-0.3beta is on github
- Download the sources in C++, the binaries (for Linux, OS X and Windows) and the user guide
Data sets
Simulated data sets:
- Download the true unrooted trees with dates (Outgroup is named out)
- Download the alignments simulated using SeqGen
- Download the distance matrices estimated by DNAdist (F84+G)
- Download the FastME trees computed from the distance matrices
- Download the PhyML trees with free topology
- Download the PhyML trees with fixed, true rooted topology
- Download the BEAST xml files with free and fixed topology
- Download the BEAST log files with free and fixed topology
- Download an excel file containing all the results from all methods
H1N1pdm virus data set:
- Download the sequence information
- Download the FastME (original and bootstrap) trees
- Download the PhyML (original and bootstrap) trees
- Download the BEAST xml files
- Download the BEAST Log and MCC tree files
- Download an excel file containing all the results
Contact
Funding
Other tools
WAVES
Warning : This application is no longer maintained and out of date. If you’re interested in, just have a look to MYST Summary WAVES is a web application dedicated to bioinformatic tool integration. It provides an efficient way to implement a service for any bioinformatic software. Such services are automatically made available in three ways:…
ERaBLE: Evolutionary Rates and Branch…
ERaBLE estimates branch lengths and relative gene evolutionary rates from a reference phylogeny and a collection of gene distance matrices. It provides a way to add evolutionary distance information to a topology obtained from a previous phylogenetic analysis. What does ERaBLE do? ERaBLE takes one distance matrix per gene and a tree describing the relationships…
MYST : Manage Your Scientific…
What is MYST? MYST is the orchestration platform behind ATGC online bioinformatics services. It provides a unified web interface and a public REST API to submit analyses, monitor jobs, and retrieve results across a growing catalog of phylogenetic and sequence-analysis tools. MYST is a modernized redesign of WAVES, an older tool previously developped by ATGC…