跳到正文
Bioinformatics·· 12 天前AI 评分40

Hyperiax:基于 JAX 的树遍历与消息传递库,用于形状数据的系统发育推断

Hyperiax and Phylogenetic Inference from Shape Data

AI 导读

Hyperiax 是一个基于 JAX 的开源树遍历与消息传递库,专门支持 Backward Filtering Forward Guiding(BFFG)框架所需的操作,从而在形状数据上实现参数推断与祖先状态重建。此前 BFFG 的实际应用受限于缺乏高效实现,Hyperiax 可高效处理节点数众多的树,并支持离散时间模型与随机微分方程模型中的推断。研究在蝴蝶翅膀二维标志点形状和鸟类喙部三维标志点形状上做了演示,所用系统发育树分别有 850 和 696 个节点,形状数据分辨率高于以往(分别为 118 个二维标志点和 79 个三维标志点)。

阅读原文

来源:Bioinformatics · doi.org

论文摘要

Summary

Phylogenetic inference on high-dimensional morphological traits requires algorithms that account for both the nonlinear geometry of the shape data and the phylogenetic tree structure. The Backward Filtering Forward Guiding (BFFG) framework provides smoothing for nonlinear stochastic processes on trees and enables inference of parameters and ancestral states. As practical adoption has been limited by a lack of efficient implementations, we present Hyperiax, an open-source library for tree traversal algorithms and message passing using JAX, designed particularly to support operations needed for BFFG. Hyperiax enables efficient execution of operations on trees with large numbers of nodes and, coupled with the BFFG-specific operations, this allows efficient inference in both discrete-time and stochastic differential equation models. Concretely, we demonstrate that Hyperiax enables parameter inference and ancestral reconstruction for butterfly wing shapes represented by landmarks in two dimensions, and analyses of avian beaks from landmarks in three dimensions. Both cases demonstrate application of BFFG on two substantially larger phylogenetic trees with 850 and 696 nodes with higher resolution shape data (118 two-dimensional landmarks and 79 three-dimensional landmarks, specifically) than previously possible.

Availability and Implementation

Hyperiax source code and documentation are available at GitHub and GitHub Pages. Analysis scripts, experiment data, and configuration files are available at hyperiax-phylo 10.5281/zenodo.23393988.