edu.sdsc.mbt.util
Class CodonInfo

java.lang.Object
  extended byedu.sdsc.mbt.util.CodonInfo

public class CodonInfo
extends java.lang.Object

Provides static information about mRNA Codons such nucleic acid tuple / amino acid code mapping.

Author:
John L. Moreland
See Also:
Residue, AminoAcidInfo,


Constructor Summary
CodonInfo()
           
 
Method Summary
static java.lang.String getAminoAcidLetter(java.lang.String codon)
          Returns the amino acid letter code for the given 3-letter codon tuple.
static java.lang.String getAminoAcidLetter(java.lang.String letter1, java.lang.String letter2, java.lang.String letter3)
          Returns the amino acid letter code for the given 3-letter codon tuple.
static int getCodonCount()
          Returns the number of codon/amino-acid tuples in the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodonInfo

public CodonInfo()
Method Detail

getCodonCount

public static int getCodonCount()
Returns the number of codon/amino-acid tuples in the database.


getAminoAcidLetter

public static java.lang.String getAminoAcidLetter(java.lang.String codon)
Returns the amino acid letter code for the given 3-letter codon tuple.


getAminoAcidLetter

public static java.lang.String getAminoAcidLetter(java.lang.String letter1,
                                                  java.lang.String letter2,
                                                  java.lang.String letter3)
Returns the amino acid letter code for the given 3-letter codon tuple.