bioRxivEvolutionary BiologyPreprint
k-Nearest Common Leaves algorithm for phylogenetic tree completion
Abstract
Phylogenetic trees represent the evolutionary histories of taxa and support tasks such as clustering and Tree of Life reconstruction. Many established comparison methods, including the Robinson-Foulds (RF) distance, assume identical taxon sets. A methodological gap remains for trees with distinct but overlapping taxa. Existing approaches either prune non-common leaves, which can discard information, or complete both trees such that they share the same taxa. Completion is more comprehensive, but current methods typically ignore branch lengths, which are essential for identifying evolutionary patterns. This paper introduces k-Nearest Common Leaves (k-NCL), an algorithm for completing rooted phylogenetic trees defined on different but overlapping taxa. The method uses branch lengths and topological characteristics and does not rely on a specific distance measure. The k-NCL algorithm is designed to preserve evolutionary relationships in the trees under comparison. The running time is O(n2), where n is the size of the union of the two leaf sets. Additional properties include preservation of original distances and topology, symmetry, and uniqueness of the completion. Implemented in Python, k-NCL is evaluated on biological datasets of amphibians, birds, mammals, and sharks. Experimental results show that RF combined with k-NCL improves phylogenetic tree clustering performance compared to the RF(+) tree completion approach. Availability and implementationAn open-source implementation of k-NCL in Python and the datasets used in this study are available at https://github.com/tahiri-lab/KNCL.
- research focus: phylogenetics / evolution
- research focus: benchmarking
- research focus: clustering
- approach: deep learning
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PhytClust: Efficient and Optimal Monophyletic Partitioning of Rooted Phylogenetic Trees
Katyayni Ganesan, Elisa Billard, … Roland F. Schwarz·bioRxiv·Apr 27, 2026
- Spectral Cluster Supertree: fast and statistically robust merging of rooted phylogenetic trees
R A McArthur, Ahad N. Zehmakan, … Gavin A. Huttley·Frontiers in Molecular BiosciencesPeer-reviewed·Oct 30, 2024
- Scalable distance-based phylogeny inference using divide-and-conquer
Lars Arvestad·bioRxiv·Oct 11, 2023
- Advancing Divide-and-Conquer Phylogeny Estimation using Robinson-Foulds Supertrees
Xilin Yu, Thien Le, … Tandy J. Warnow·Algorithms for Molecular BiologyPeer-reviewed·Jun 28, 2021
- Growing Phylogenetic Trees Using Hierarchical Clustering
Onno Eberhard·bioRxiv·Feb 8, 2022
- Clumps: A Sequential Clustering Approach to Partitioning Sets of Phylogenies with Non-Identical Leaf Sets
Ana Serra Silva, Mark Wilkinson·bioRxiv·Mar 18, 2025