51 lines
1.0 KiB
Markdown
Raw Normal View History

2021-09-17 18:12:01 -04:00
# Rna Transcription
Welcome to Rna Transcription on Exercism's Haskell 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`
Given invalid output, your program should return the first invalid character.
## Source
### Created by
- @etrepum
### Contributed to by
- @b-mehta
- @eijynagai
- @iHiD
- @kytrinyx
- @MazeChaZer
- @petertseng
- @ppartarr
- @rbasso
- @rpottsoh
- @samjonester
- @sshine
- @tejasbubane
### Based on
Hyperphysics - http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html