-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync rna-transcription docs with problem-specifications (#134)
The rna-transcription exercise has been overhauled as part of a project to make practice exercises more consistent and friendly. For more context, please see the discussion in the forum, as well as the pull request that updated the exercise in the problem-specifications repository: - https://forum.exercism.org/t/new-project-making-practice-exercises-more-consistent-and-human-across-exercism/3943 - exercism/problem-specifications#2251
- Loading branch information
Showing
2 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
23 changes: 12 additions & 11 deletions
23
exercises/practice/rna-transcription/.docs/instructions.md
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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
# Instructions | ||
|
||
Given a DNA strand, return its RNA complement (per RNA transcription). | ||
Your task is determine the RNA complement of a given DNA sequence. | ||
|
||
Both DNA and RNA strands are a sequence of nucleotides. | ||
|
||
The four nucleotides found in DNA are adenine (**A**), cytosine (**C**), | ||
guanine (**G**) and thymine (**T**). | ||
The four nucleotides found in DNA are adenine (**A**), cytosine (**C**), guanine (**G**) and thymine (**T**). | ||
|
||
The four nucleotides found in RNA are adenine (**A**), cytosine (**C**), | ||
guanine (**G**) and uracil (**U**). | ||
The four nucleotides found in RNA are adenine (**A**), cytosine (**C**), guanine (**G**) and uracil (**U**). | ||
|
||
Given a DNA strand, its transcribed RNA strand is formed by replacing | ||
each nucleotide with its complement: | ||
Given a DNA strand, its transcribed RNA strand is formed by replacing each nucleotide with its complement: | ||
|
||
* `G` -> `C` | ||
* `C` -> `G` | ||
* `T` -> `A` | ||
* `A` -> `U` | ||
- `G` -> `C` | ||
- `C` -> `G` | ||
- `T` -> `A` | ||
- `A` -> `U` | ||
|
||
~~~~exercism/note | ||
If you want to look at how the inputs and outputs are structured, take a look at the examples in the test suite. | ||
~~~~ |
16 changes: 16 additions & 0 deletions
16
exercises/practice/rna-transcription/.docs/introduction.md
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,16 @@ | ||
# Introduction | ||
|
||
You work for a bioengineering company that specializes in developing therapeutic solutions. | ||
|
||
Your team has just been given a new project to develop a targeted therapy for a rare type of cancer. | ||
|
||
~~~~exercism/note | ||
It's all very complicated, but the basic idea is that sometimes people's bodies produce too much of a given protein. | ||
That can cause all sorts of havoc. | ||
But if you can create a very specific molecule (called a micro-RNA), it can prevent the protein from being produced. | ||
This technique is called [RNA Interference][rnai]. | ||
[rnai]: https://admin.acceleratingscience.com/ask-a-scientist/what-is-rnai/ | ||
~~~~ |