paper-with-me

홈 › Papers

phylo2vec: a library for vector-based phylogenetic tree manipulation

2025-06-24 · Neil Scheidwasser, Ayush Nag, Matthew J Penn, Anthony MV Jakob, Frederik Mølkjær Andersen, Mark P Khurana, Landung Setiawan, Madeline Gordon, David A Duchêne, Samir Bhatt

Phylogenetics is a fundamental component of many analysis frameworks in biology as well as linguistics to study the evolutionary relationships of different entities. Recently, the advent of large-scale genomics and the SARS-CoV-2 pandemic has underscored the necessity for phylogenetic software to handle large datasets of genomes or phylogenetic trees. While significant efforts have focused on scaling optimisation algorithms, visualization, and lineage identification, an emerging body of research has been dedicated to efficient representations of data for genomes and phylogenetic trees such as phylo2vec. Compared to traditional tree representations such as the Newick format, which represents trees using strings of nested parentheses, modern representations of phylogenetic trees utilize integer vectors to define the tree topology traversal. This approach offers several advantages, including easier manipulability, increased memory efficiency, and applicability to downstream tasks such as machine learning. Here, we present the latest release of phylo2vec (or Phylo2Vec), a high-performance software package for encoding, manipulating, and analysing binary phylogenetic trees. At its core, the package is based on the phylo2vec representation of binary trees, which defines a bijection from any tree topology with $n$ leaves into an integer vector of size $n-1$. Compared to the traditional Newick format, phylo2vec is designed to enable fast sampling and comparison of binary trees. This release features a core implementation in Rust, providing significant performance improvements and memory efficiency, while remaining available in Python (superseding the release described in the original paper) and R via dedicated wrappers, making it accessible to a broad audience in the bioinformatics community.

📄 PDF Abstract BibTeX arXiv:2506.19490

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TreeFlow: probabilistic programming and automatic differentiation for phylogenetics

2022-11-09 · Christiaan Swanepoel, Mathieu Fourment, Xiang Ji, Hassan Nasif 외

Probabilistic programming frameworks are powerful tools for statistical modelling and inference. They are not immediately generalisable to phylogenetic problems due to the particular computational properties of the phylo…

Probabilistic Programming

Phylo2Vec: a vector representation for binary trees

2023-04-25 · Matthew J Penn, Neil Scheidwasser, Mark P Khurana, David A Duchêne 외

Binary phylogenetic trees inferred from biological data are central to understanding the shared history among evolutionary units. However, inferring the placement of latent nodes in a tree is computationally expensive. S…

Vector encoding of phylogenetic trees by ordered leaf attachment

2025-03-13 · Harry Richman, Cheng Zhang, Frederick A. Matsen IV

As part of work to connect phylogenetics with machine learning, there has been considerable recent interest in vector encodings of phylogenetic trees. We present a simple new "ordered leaf attachment" (OLA) method for un…

Phylo.io: interactive viewing and comparison of large phylogenetic trees on the web

2016-02-12

Phylogenetic trees are pervasively used to depict evolutionary relationships. Increasingly, researchers need to visualize large trees and compare multiple large trees inferred for the same set of taxa (reflecting uncerta…

TreeGrafter: phylogenetic tree-based annotation of proteins with Gene Ontology terms and other annotations

2018-02-20

Summary: TreeGrafter is a new software tool for annotating protein sequences using annotated phylogenetic trees. Cur-rently, the tool provides annotations to Gene Ontology terms, and PANTHER protein class, family and sub…