Module bio::alphabets::protein

source ·
Expand description

Implementation of the protein alphabet.

§Example

use bio::alphabets;
let alphabet = alphabets::protein::alphabet();
assert!(alphabet.is_word(b"DEQsga"));
assert!(!alphabet.is_word(b"BzJ"));

Functions§

  • Returns the standard protein alphabet, containing the 20 common amino acids.
  • Returns the IUPAC amino acid alphabet.