[][src]Module bio::alphabets::protein

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

alphabet

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