Sha256: eb95f39d870fb42cd35187532cdd7456d1f835938e83c671155b8c971549d86c

Contents?: true

Size: 1.77 KB

Versions: 183

Compression:

Stored size: 1.77 KB

Contents

# Protein Translation

Translate RNA sequences into proteins.

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 translation 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              | Cysteine
UGG                   | Tryptophan
UAA, UAG, UGA         | STOP


Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki/Translation_(biology))
## Source

Tyler Long

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

183 entries across 183 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.179 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.178 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.177 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.176 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.175 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.174 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.173 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.172 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.171 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.170 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.169 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.167 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.166 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.165 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.164 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.163 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.162 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.161 tracks/fsharp/exercises/protein-translation/README.md
trackler-2.2.1.160 tracks/fsharp/exercises/protein-translation/README.md