Skip to content

Commit 15708f6

Browse files
committed
Further improvements per http://forum.exercism.org/t/tweak-language-and-formatting-in-protein-translation-description-md/17005/27 (wording, active voice, tables, STOP codons)
1 parent c60eff9 commit 15708f6

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

exercises/protein-translation/description.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,19 @@
22

33
Translate RNA sequences into proteins.
44

5-
RNA can be broken into three-nucleotide sequences called codons, and then translated to a protein like so:
5+
You can break an RNA strand into three-nucleotide sequences called codons and then translate them into amino acids to make a protein like so:
66

7-
RNA: `"AUGUUUUCU"` => translates to
7+
| RNA | Three-letter codons | Amino acids |
8+
|-------------|---------------------|-----------------------------------------|
9+
| "AUGUUUUCU" | "AUG", "UUU", "UCU" | "Methionine", "Phenylalanine", "Serine" |
810

9-
Codons: `"AUG", "UUU", "UCU"`
10-
=> which become a protein with the following sequence
11+
There are also three STOP codons. If you encounter any of these codons, ignore the rest of the sequence — the protein is complete. For example, UAA is a STOP codon, so ignore any subsequent codons:
1112

12-
Protein: `"Methionine", "Phenylalanine", "Serine"`
13+
| RNA | Three-letter codons | Amino acids |
14+
|-------------------|-----------------------------------|-----------------------------------------|
15+
| "AUGUUUUCUUAAAUG" | "AUG", "UUU", "UCU", "UAA", "AUG" | "Methionine", "Phenylalanine", "Serine" |
1316

14-
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.
15-
If it works for one codon, the program should work for all of them.
16-
However, feel free to expand the list in the test suite to include them all.
17-
18-
There are also three terminating codons (also known as _stop codons_); if any of these codons are encountered, all translation ends and the protein is terminated.
19-
All subsequent codons are ignored, like this:
20-
21-
RNA: `"AUGUUUUCUUAAAUG"` =>
22-
23-
Codons: `"AUG", "UUU", "UCU", "UAA", "AUG"` =>
24-
25-
Protein: `"Methionine", "Phenylalanine", "Serine"`
26-
27-
Note the stop codon `"UAA"` terminates the translation and the final methionine is not translated into the protein sequence.
17+
(Note that the latter AUG is not translated into another methionine.)
2818

2919
Below are the codons and resulting amino acids needed for the exercise.
3020

0 commit comments

Comments
 (0)