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.119 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.118 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.117 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.116 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.115 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.114 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.113 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.111 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.110 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.109 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.108 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.107 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.106 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.105 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.104 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.103 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.102 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.101 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.100 tracks/fsharp/exercises/rna-transcription/README.md
trackler-2.2.1.99 tracks/fsharp/exercises/rna-transcription/README.md