Fast NJ-like algorithms to deal with incomplete distance matrices
1 Equipe Méthodes et Algorithmes pour la Bioinformatique, LIRMM, CNRS – Université Montpellier 2, 161 rue Ada, 34392 Montpellier Cedex 05, France
2 Groupe Phylogénie Moléculaire, ISEM, CNRS – Université Montpellier 2, C.C. 064, 34095 Montpellier Cedex 05, France
3 Equipe Bioinformatique Théorique, LSIIT, Université Louis Pasteur, Strasbourg 1, Pôle API, Boulevard Sébastien Brant, BP 10413, 67412 Illkirch Cedex, France
BMC Bioinformatics 2008, 9:166 doi:10.1186/1471-2105-9-166Published: 26 March 2008
Distance-based phylogeny inference methods first estimate evolutionary distances between every pair of taxa, then build a tree from the so-obtained distance matrix. These methods are fast and fairly accurate. However, they hardly deal with incomplete distance matrices. Such matrices are frequent with recent multi-gene studies, when two species do not share any gene in analyzed data. The few existing algorithms to infer trees with satisfying accuracy from incomplete distance matrices have time complexity in O(n4) or more, where n is the number of taxa, which precludes large scale studies. Agglomerative distance algorithms (e.g. NJ [1,2]) are much faster, with time complexity in O(n3) which allows huge datasets and heavy bootstrap analyses to be dealt with. These algorithms proceed in three steps: (a) search for the taxon pair to be agglomerated, (b) estimate the lengths of the two so-created branches, (c) reduce the distance matrix and return to (a) until the tree is fully resolved. But available agglomerative algorithms cannot deal with incomplete matrices.
We propose an adaptation to incomplete matrices of three agglomerative algorithms, namely NJ, BIONJ  and MVR . Our adaptation generalizes to incomplete matrices the taxon pair selection criterion of NJ (also used by BIONJ and MVR), and combines this generalized criterion with that of ADDTREE . Steps (b) and (c) are also modified, but O(n3) time complexity is kept. The performance of these new algorithms is studied with large scale simulations, which mimic multi-gene phylogenomic datasets. Our new algorithms – named NJ*, BIONJ* and MVR* – infer phylogenetic trees that are as least as accurate as those inferred by other available methods, but with much faster running times. MVR* presents the best overall performance. This algorithm accounts for the variance of the pairwise evolutionary distance estimates, and is well suited for multi-gene studies where some distances are accurately estimated using numerous genes, whereas others are poorly estimated (or not estimated) due to the low number (absence) of sequenced genes being shared by both species.
Our distance-based agglomerative algorithms NJ*, BIONJ* and MVR* are fast and accurate, and should be quite useful for large scale phylogenomic studies. When combined with the SDM method  to estimate a distance matrix from multiple genes, they offer a relevant alternative to usual supertree techniques . Binaries and all simulated data are downloadable from .