Thanks to visit codestin.com
Credit goes to lib.rs

#machine-learning #bioinformatics #felsenstein

phylo_grad

Fast gradient calculation of the Felsenstein algorithm with respect to the rate matrix

4 stable releases

Uses new Rust 2024

2.1.0 Feb 24, 2026
2.0.0 Feb 18, 2026
1.1.0 Jan 14, 2026
1.0.0 Dec 10, 2025

#600 in Biology

MIT/Apache

45KB
959 lines

PhyloGrad

This is the Rust implementation of PhyloGrad. For more information go to the main repository https://github.com/soedinglab/phylo_grad


lib.rs:

PhyloGrad

This crate provides a Rust implementation of a fast differentiation algorithm for the rate matrix in phylogenetic models. For usage refer to the [FelsensteinTree] struct.

If you are looking to use this from Python, you can find information on https://github.com/soedinglab/phylo_grad

SIMD

This crate uses the portable_simd feature to enable SIMD acceleration. This feature is not stable yet, so you need to use the nightly compiler for now. It is tested on rustc 1.88.0-nightly (7918c7eb5 2025-04-27)

Dependencies

~16MB
~451K SLoC