Package Bio :: Module Translate
[hide private]
[frames] | no frames]

Module Translate

source code

Code to translate DNA or RNA into proteins (OBSOLETE).

Instead of Bio.Translate, for translation you are now encouraged to use the Seq object's translate method, or the translate function in the Bio.Seq module. Translate-to-stop functionality is via an optional argument.

Bio.Seq does not offer any back-translation function like the one here. It was concluded that a since a simple back-translation giving a Seq or python string could only capture some of the possible back translations, there were no practical uses for such a method/function.

This module is now considered to be obsolete, and is likely to be deprecated in a future release of Biopython, and later removed.

Classes [hide private]
  Translator
Variables [hide private]
  unambiguous_dna_by_name = {}
  unambiguous_dna_by_id = {}
  unambiguous_rna_by_name = {}
  unambiguous_rna_by_id = {}
  ambiguous_dna_by_name = {}
  ambiguous_dna_by_id = {}
  ambiguous_rna_by_name = {}
  ambiguous_rna_by_id = {}
  __package__ = 'Bio'
  key = 15
  value = <Bio.Data.CodonTable.AmbiguousCodonTable instance at 0...
Variables Details [hide private]

value

Value:
<Bio.Data.CodonTable.AmbiguousCodonTable instance at 0x1149950>