exercism/haskell/rna-transcription
2021-09-17 18:12:01 -04:00
..
examples/success-standard haskell: rna-transcription 2021-09-17 18:12:01 -04:00
src haskell: rna-transcription 2021-09-17 18:12:01 -04:00
test haskell: rna-transcription 2021-09-17 18:12:01 -04:00
HELP.md haskell: rna-transcription 2021-09-17 18:12:01 -04:00
package.yaml haskell: rna-transcription 2021-09-17 18:12:01 -04:00
README.md haskell: rna-transcription 2021-09-17 18:12:01 -04:00
stack.yaml haskell: rna-transcription 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