[][src]Crate fastax

Modules

tree

Structs

Node

Functions

get_nodes

Fetch from the database the nodes that correspond to the given terms and return them. If any of the term does not correspond to a Node, an error is returned.

make_lineages

Make the lineage for each of the given terms. If any of them does not correspond to a Node, an error is returned.

make_subtree

Make the subtree with the Node corresponding to the given term as root, or return an error if no Node is found. If species is true, then doesn't include nodes below species (such as subspecies) in the resulting tree.

make_tree

Make the tree with the Root as root and the Nodes corresponding to the given terms as leaves. If any of them does not correspond to a Node, an error is returned.

populate_db

Populate the local taxonomy DB at datadir while sending email to the NCBI FTP servers.