Package Bio :: Package Data :: Module CodonTable :: Class CodonTable
[hide private]
[frames] | no frames]

Class CodonTable

source code

Known Subclasses:

Instance Methods [hide private]
 
__init__(self, nucleotide_alphabet=NucleotideAlphabet(), protein_alphabet=ProteinAlphabet(), forward_table={}, back_table={}, start_codons=[], stop_codons=[]) source code
 
__str__(self)
Returns a simple text representation of the codon table
source code
Class Variables [hide private]
  nucleotide_alphabet = NucleotideAlphabet()
  protein_alphabet = ProteinAlphabet()
  forward_table = {}
  back_table = {}
  start_codons = []
  stop_codons = []
Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

Returns a simple text representation of the codon table

e.g. >>> import Bio.Data.CodonTable >>> print Bio.Data.CodonTable.standard_dna_table >>> print Bio.Data.CodonTable.generic_by_id[1]