Class SimpleGeneticCodeTable

All Implemented Interfaces:
Serializable, ManyToOneTranslationTable, TranslationTable

A genetic code translation table representing a translation table in the DDBJ/EMBL/GenBank Feature Table (appendix V).
Since:
1.5
Author:
gwaldon
See Also:
  • Constructor Details

  • Method Details

    • setTableNumber

      public void setTableNumber(int num)
    • getTableNumber

      public int getTableNumber()
      Returns:
      the value for the feature qualifier table_num found in the DDBJ/EMBL/GenBank Feature Table. The associated feature key is CDS.
    • setDescription

      public void setDescription(String description)
    • getDescription

      Returns:
      A string descripting this table, normally the one found in the DDBJ/EMBL/GenBank Feature Table.
    • translate

      public Symbol translate(Symbol sym) throws IllegalSymbolException
      Description copied from interface: TranslationTable
      Translate a single symbol from source alphabet to the target alphabet.
      Specified by:
      translate in interface TranslationTable
      Parameters:
      sym - the Symbol to translate (member of source alphabet)
      Returns:
      the translated version of sym (member of target alphabet)
      Throws:
      IllegalSymbolException - if sym is not a member of the source alphabet