Back to index

python-biopython  1.60
test_translate Namespace Reference


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

Variable Documentation

tuple test_translate.dna = Seq.Seq(s, IUPAC.unambiguous_dna)

Definition at line 11 of file

tuple test_translate.gapped_protein = dna.translate()

Definition at line 69 of file

tuple test_translate.gapped_protein_from_rna = rna.translate()

Definition at line 101 of file

tuple test_translate.p2 = dna.translate(table=2, to_stop=True)

Definition at line 77 of file

tuple test_translate.protein = dna.translate(to_stop=True)

Definition at line 31 of file

tuple test_translate.protein_from_rna = rna.translate(to_stop=True)

Definition at line 95 of file

tuple test_translate.rna = dna.transcribe()

Definition at line 12 of file

string test_translate.s = "ATA"

Definition at line 10 of file

tuple test_translate.stop_protein = dna.translate('SGC1', to_stop=True)

Definition at line 114 of file