Question: Please write this as a Matlab code RNA plays a role in translating genetic information stored in DNa into the form of a protein. An
RNA plays a role in translating genetic information stored in DNa into the form of a protein. An RNA molecule is a sequence of nucleotides, and a protein molecule is a sequence of amino acids. There are only 4 nucleotides in RNA: adenine (A), cytosine (C), guanine (G), or uracil (U). These are combined in sets of 3 (called codons) to represent an amino acid. There are 4^3 = 64 possible codons, each of which corresponds to either a single amino acid or the instruction "stop". The translation table below shows all the possible combinations of 3 nucleotides A(, C, G and U), with each of the amino acids represented by its 3 letter code (e.g., Phe = Phenylalanine, Ser = Serine, Tyr = Tyrosine, etc.) For example, the RNA nucleotide sequence 'GUCACCUAA' translates to ValThrStop. Write a program that takes in a character string of 3 RNA nucleotides and returns the amino acid. (Make sure it works for all 64 combinations above. Note that some combinations of first and second nucleotides result in the same amino acid, so you can use this information to shorten your code.) Write a program that takes in a character string of a sequence of RSA nucleotides (any multiple of 3) and returns the amino acid sequence of the protein
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
