varity.codon
Handles codon.
amino-acid->codons
(amino-acid->codons s)
Returns possible nucleotide strings corresponding to amino acid s. s must be one-character String or Character. e.g. (codon->genes "L") => ["CTG" "CTC" "CTT" "CTA" "TTG" "TTA"] (codon->genes \*) => ["TAG" "TAA" "TGA"]
amino-acid-sequence
(amino-acid-sequence s)
Converts nucleotide sequence into amino acid sequence.
codon->amino-acid
(codon->amino-acid s)
Converts three-character nucleotide string s into a single-letter amino acid. e.g. (genes->codon "TCA") => "S" (genes->codon "tca") => "S" (genes->codon "TAA") => "*" (genes->codon "TCAG") => AssertionError