Expand description
§use-biology
Facade crate for primitive RustUse biology vocabulary.
use-biology re-exports focused crates for taxonomy, species names, organisms, cells, genes, traits, tissues, organs, biological systems, life stages, and reproduction. It is not a bioinformatics framework, medical library, taxonomy database, ecology simulator, lab information system, disease model, or biological simulation framework.
use use_biology::prelude::{
BinomialName, CellKind, GeneSymbol, GenusName, LifeStage, OrganismKind, SpecificEpithet,
TaxonomicRank, TraitName, TraitValue,
};
let rank = TaxonomicRank::Species;
let species = BinomialName::new(
GenusName::new("Arabidopsis").unwrap(),
SpecificEpithet::new("thaliana").unwrap(),
);
let organism_kind = OrganismKind::Plant;
let cell_kind = CellKind::Eukaryotic;
let gene_symbol = GeneSymbol::new("AP1").unwrap();
let trait_value = TraitValue::new(TraitName::new("flower color").unwrap(), "white").unwrap();
let life_stage = LifeStage::Flowering;
assert_eq!(rank.to_string(), "species");
assert_eq!(species.to_string(), "Arabidopsis thaliana");
assert_eq!(organism_kind.to_string(), "plant");
assert_eq!(cell_kind.to_string(), "eukaryotic");
assert_eq!(gene_symbol.to_string(), "AP1");
assert_eq!(trait_value.value(), "white");
assert_eq!(life_stage.to_string(), "flowering");This crate describes biological concepts. It does not analyze sequences, infer taxonomy, diagnose, simulate organisms, or fetch data.
Re-exports§
pub use use_biological_system as biological_system;pub use use_cell as cell;pub use use_gene as gene;pub use use_life_stage as life_stage;pub use use_organ as organ;pub use use_organism as organism;pub use use_reproduction as reproduction;pub use use_species as species;pub use use_taxonomy as taxonomy;pub use use_tissue as tissue;pub use use_trait as trait_;
Modules§
- prelude
- Common primitive biology vocabulary reexports.