use-alphabet 0.1.0

Primitive biological alphabet vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    31 out of 31 items documented1 out of 23 items with examples
  • Size
  • Source code size: 11.32 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 565.87 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-alphabet

Primitive biological alphabet vocabulary.

use-alphabet provides deterministic symbol sets for simple DNA, RNA, and protein alphabets, plus custom alphabets. It checks membership only; it does not parse sequence files, search sequences, score residues, or infer biology.

use use_alphabet::BioAlphabet;

let dna = BioAlphabet::dna();

assert!(dna.contains('A'));
assert!(dna.contains_all("ACGT"));
assert!(!dna.contains('U'));