Crate taxonomy

Source

Re-exports§

pub use errors::Error;
pub use errors::ErrorKind;

Modules§

errors
gtdb
json
ncbi
newick
phyloxml

Structs§

GeneralTaxonomy
The type that is returned when loading any taxonomies through that library. It include 2 implementations of the Taxonomy trait: one using strings as ids (easier to use but slower) and one using internal indices (harder to use but faster). Most fields are public for flexibility reason.

Enums§

TaxRank
A taxonomic rank. For example, a species or phylum.

Traits§

Taxonomy
The trait to implement for each form we implement. It does include some default implementations for a few functions as well as a way to iterate through it, starting with the specified node.

Functions§

prune_away
Return a tree with these tax_ids and their children removed.
prune_to
Return a tree containing only the given tax_ids and their parents.