[−][src]Module bio::alphabets::dna
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
alphabet | The DNA alphabet (uppercase and lowercase). |
complement | Return complement of given DNA alphabet character (IUPAC alphabet supported). |
iupac_alphabet | The IUPAC DNA alphabet (uppercase and lowercase). |
n_alphabet | The DNA alphabet including N (uppercase and lowercase). |
revcomp | Calculate reverse complement of given text (IUPAC alphabet supported). |