use-nucleotide 0.1.0

Primitive nucleotide vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    30 out of 30 items documented1 out of 8 items with examples
  • Size
  • Source code size: 11.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 614.28 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-bioinformatics
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-nucleotide

Primitive nucleotide vocabulary.

use-nucleotide parses and displays common nucleotide symbols. It keeps DNA/RNA distinctions descriptive and does not perform genome analysis, variant calling, mutation-effect prediction, transcription, or translation.

use use_nucleotide::Nucleotide;

let base = Nucleotide::parse_symbol('A').unwrap();
let ambiguous = Nucleotide::parse_symbol('N').unwrap();

assert_eq!(base.to_string(), "A");
assert_eq!(ambiguous.to_string(), "N");