taxutils 1.0.4

Rust utilities for NCBI taxonomy data and FASTA files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Rust port of the Python `taxutils` package.
//!
//! The main entry point is [`TaxonomicUtils::new`]. Resource locations and
//! defaults match the Python package: `TAXUTILS_GLOBALS`, or `./taxutils/`.

mod accession;
mod resources;
mod taxonomy;

pub use resources::{TaxutilsBuilder, TaxutilsOptions};
pub use taxonomy::{TaxonId, TaxonNode, TaxonomicUtils, TopologyProfile, TopologyStat};

/// Python-compatible convenience constructor.
pub fn taxutils() -> anyhow::Result<TaxonomicUtils> {
    TaxonomicUtils::new(TaxutilsOptions::default())
}