Module bio::alphabets

source ·
Expand description

Implementation of alphabets and useful utilities.

§Example

use bio::alphabets;
let alphabet = alphabets::dna::alphabet();
assert!(alphabet.is_word(b"AACCTgga"));
assert!(!alphabet.is_word(b"AXYZ"));

Modules§

  • Implementation of the DNA alphabet.
  • Implementation of the protein alphabet.
  • Implementation of the RNA alphabet.

Structs§

  • Representation of an alphabet.
  • Iterator over q-grams.
  • Tools based on transforming the alphabet symbols to their lexicographical ranks.

Functions§

Type Aliases§