Question: 7) Programming skills. Design and then write a program called ribosome.py. It should have two functions: one called getAa, which takes three letters and which

 7) Programming skills. Design and then write a program called ribosome.py.
It should have two functions: one called getAa, which takes three letters

7) Programming skills. Design and then write a program called ribosome.py. It should have two functions: one called getAa, which takes three letters and which turns ATG into an "M", (Methionine), the stop codons ('TAA', 'TAG', or 'TGA') into a single period'., and for any other codon should produce a 'X' (shorthand for a default amino acid). The getAa function should be called by a larger, second function called translateDna and return data to it. For example if your code is run with the test code #Test code for translateDNA dna='ATGGGGCCCTGA' protein=translateDna(dna) print "Protein is", protein it should print out: Protein is MXX

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!