Back to index

python-biopython  1.60
Namespaces | Variables
test_translate.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_translate

Variables

string test_translate.s = "ATA"
tuple test_translate.dna = Seq.Seq(s, IUPAC.unambiguous_dna)
tuple test_translate.rna = dna.transcribe()
tuple test_translate.protein = dna.translate(to_stop=True)
tuple test_translate.gapped_protein = dna.translate()
tuple test_translate.p2 = dna.translate(table=2, to_stop=True)
tuple test_translate.protein_from_rna = rna.translate(to_stop=True)
tuple test_translate.gapped_protein_from_rna = rna.translate()
tuple test_translate.stop_protein = dna.translate('SGC1', to_stop=True)