Sha256: cf8c396a818ab16df9ca9570a67a57174087f7754d0c4de96695d76bc71409e5

Contents?: true

Size: 1.36 KB

Versions: 78

Compression:

Stored size: 1.36 KB

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`

* * * *

For installation and learning resources, refer to the
[exercism Racket page](http://exercism.io/languages/racket).

You can run the provided tests through DrRacket, or via the command line.

To run the test through DrRacket, simply open the test file and click the 'Run' button in the upper right.

To run the test from the command line, run the test from the exercise directory with the following command:

```
raco test rna-transcription-test.rkt
```

which will display the following:

```
raco test: (submod "rna-transcription-test.rkt" test)
2 success(es) 0 failure(s) 0 error(s) 2 test(s) run
0
2 tests passed
```

## 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

78 entries across 78 versions & 1 rubygems

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