-
-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Lets write a program that will translate RNA sequences into proteins. [general ref](http://en.wikipedia.org/wiki/Translation_(biology) | ||
|
||
RNA can be broken into three nucleotide sequences called codons, and then translated to a polypeptide like so: | ||
|
||
RNA: `"AUGUUUUCU"` => translates to | ||
|
||
Codons: `"AUG", "UUU", "UCU"` | ||
=> which become a polypeptide with the following sequence => | ||
|
||
Protein: `"Methionine", "Phenylalanine", "Serine"` | ||
|
||
There are 64 codons which in turn correspond to 20 amino acids; however, all of the codon sequences and resulting amino acids are not important in this exercise. If it works for one codon, the program should work for all of them. | ||
However, feel free to expand the list in the test suite to include them all. | ||
|
||
There are also four terminating codons (also known as 'STOP' codons); if any of these codons are encountered(by the ribosome), all tranlsation ends and the protein is terminated. | ||
|
||
All subsequent codons after are ignored, like this: | ||
|
||
RNA: `"AUGUUUUCUUAAAUG"` => | ||
|
||
Codons: `"AUG", "UUU", "UCU", "UAG", "AUG"` => | ||
|
||
Protein: `"Methionine", "Phenylalanine", "Serine"` | ||
|
||
Note the stop codon terminates the translation and the final methionine is not translated into the protein sequence. | ||
|
||
Below are the codons and resulting Amino Acids needed for the exercise. | ||
**|Codon| **|Protein | ||
--------------------------------------- | ||
AUG |Methionine | ||
|
||
UUU, UUC |Phenylalanine | ||
|
||
UUA, UUG |Leucine | ||
|
||
UCU, UCC, UCA, UCG |Serine | ||
|
||
UAU, UAC |Tyrosine | ||
|
||
UGU, UGC |Cystine | ||
|
||
UGG |Tryptophan | ||
|
||
UAA, UAG, UGA |STOP |