Work

CompactTree: a lightweight header-only C++ library and Python wrapper for ultra-large phylogenetics

Year: 2025
Type: article
Abstract: The study of viral and bacterial species requires the ability to load and traverse ultra-large phylogenies with tens of millions of tips, but existing tree libraries struggle to scale to these sizes. We introduce CompactTree, a lightweight header-only C++ library with a user-friendly Python wrapper for traversing ultra-large trees that can be easily incorporated into other tools. We show that CompactTree is orders of magnitude faster and requires orders of magnitude less memory than existing tree packages. CompactTree is freely accessible as an open source project: https://github.com/niemasd/CompactTree.
Source: Gigabyte
Language: English
Open Access status: gold
Estimated APC paid: $350
OpenAlex ID: W4408233087
FWCI: 0.505
Cites: 19
Cited by: 2
Related to: 10