Sha256: dfcd762620e1bb57e69d1825d1d1aa64d7ddc8786dc701a091adbca0dbe883b4

Contents?: true

Size: 999 Bytes

Versions: 183

Compression:

Stored size: 999 Bytes

Contents

# Rna Transcription

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`

## Hints
For this exercise the following F# feature comes in handy:
- [Match Expressions](https://fsharpforfunandprofit.com/posts/match-expression/) While this can be solved using a dictionary, using a match expression is more idiomatic.
## Source

Rosalind [http://rosalind.info/problems/rna](http://rosalind.info/problems/rna)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

183 entries across 183 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.179 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.178 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.177 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.176 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.175 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.174 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.173 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.172 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.171 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.170 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.169 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.167 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.166 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.165 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.164 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.163 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.162 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.161 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.160 tracks/fsharp/exercises/rna-transcription/README.md