Sha256: 67f14157902576d247e3292775350002d9a42661fe0b7735d8db0880a8f8cbb4

Contents?: true

Size: 1.37 KB

Versions: 77

Compression:

Stored size: 1.37 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`

## Running Ceylon Tests

Before tests can be run, your code must be compiled via [`ceylon compile`](https://ceylon-lang.org/documentation/current/reference/tool/ceylon/subcommands/ceylon-compile.html).

We run tests with the [`ceylon test`](https://ceylon-lang.org/documentation/reference/tool/ceylon/subcommands/ceylon-test.html) command.

`ceylon test` expects a module name to run the tests on.
In the Ceylon track, each exercise has just a single module.

Therefore, you can run the tests with:

```bash
ceylon compile && ceylon test $(basename source/*)
```

## Source

Hyperphysics [http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html](http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html)

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

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.158 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.157 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.156 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.155 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.154 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.153 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.152 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.151 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.150 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.149 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.148 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.147 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.146 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.145 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.144 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.143 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.142 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.141 tracks/ceylon/exercises/rna-transcription/README.md
trackler-2.2.1.140 tracks/ceylon/exercises/rna-transcription/README.md