blob: 154e16830a55e4470415798cbf3e14507b7b7c89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Rna Transcription
Welcome to Rna Transcription on Exercism's Raku Track.
If you need help running the tests or submitting your code, check out `HELP.md`.
## Instructions
Given a DNA strand, return its RNA complement (per RNA transcription).
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 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:
* `G` -> `C`
* `C` -> `G`
* `T` -> `A`
* `A` -> `U`
## Source
### Created by
- @dnmfarrell
### Contributed to by
- @kotp
- @kytrinyx
- @m-dango
- @yanick
### Based on
Hyperphysics - http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html
|