next up previous contents
Next: Nucleic to Codon Number Up: Standard Genetic Code Previous: Standard Genetic Code

RNA to Amino Acid

Calling Sequence:
GenCodeToInt(
code)
Parameters:
code : a three RNA bases (one letter each)

Returns: {1..22}

Synopsis: This function converts a three RNA bases to the amino acid number it specifies according to the standard genetic code. If the triplet is unknown, the value 21 is returned. If it is a stop codon, it returns 22.

Examples:

> GenCodeToInt('UUU');             # codes for Phenylalanine, Phe, F
> AToInt('');




Gaston Gonnet
1998-09-15