Expand description
Implementation of the DNA alphabet.
§Example
use bio::alphabets;
let alphabet = alphabets::dna::alphabet();
assert!(alphabet.is_word(b"GATTACA"));
assert!(alphabet.is_word(b"gattaca"));
assert!(!alphabet.is_word(b"ACGU"));
Functions§
- The DNA alphabet (uppercase and lowercase).
- Return complement of given DNA alphabet character (IUPAC alphabet supported).
- The IUPAC DNA alphabet (uppercase and lowercase).
- The DNA alphabet including N (uppercase and lowercase).
- Calculate reverse complement of given text (IUPAC alphabet supported).