Sha256: eb8753b41a9aee3f4c2d0cf65f89c3b34e093b8f29a56e7354b9a8220bc36867

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 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 help page](http://exercism.io/languages/groovy).

Run the tests by executing the test script.

```
$ groovy ./HelloWorldSpec.groovy
```

After the first test(s) pass, continue by commenting out or removing the `@Ignore` annotations prepending other tests.

When all tests pass, congratulations!

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

7 entries across 7 versions & 1 rubygems

Version Path
trackler-2.2.1.11 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.10 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.9 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.8 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.7 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.6 tracks/groovy/exercises/rna-transcription/README.md
trackler-2.2.1.5 tracks/groovy/exercises/rna-transcription/README.md