Module bio::alphabets::rna

source ·
Expand description

Implementation of the RNA alphabet.

§Example

use bio::alphabets;
let alphabet = alphabets::rna::alphabet();
assert!(alphabet.is_word(b"GAUUACA"));
assert!(alphabet.is_word(b"gauuaca"));
assert!(!alphabet.is_word(b"ACGT"));

Functions§

  • The RNA alphabet (uppercase and lowercase).
  • Return complement of given RNA alphabet character (IUPAC alphabet supported).
  • The IUPAC RNA alphabet (uppercase and lowercase).
  • The RNA alphabet including N (uppercase and lowercase).
  • Calculate reverse complement of given text (IUPAC alphabet supported).