Sha256: a12f5f055e5eb55a202944b42795be4c74c27622c10d7354055c46bb20c90458

Contents?: true

Size: 1.97 KB

Versions: 79

Compression:

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

## Getting Started
For installation and learning resources, refer to the
[exercism help page](http://exercism.io/languages/ocaml).

## Installation
To work on the exercises, you will need `Opam` and `Core`. Consult [opam](https://opam.ocaml.org) website for instructions on how to install `opam` for your OS. Once `opam` is installed open a terminal window and run the following command to install core:

```bash
opam install core
```

To run the tests you will need `OUnit`. Install it using `opam`:

```bash
opam install ounit
```

## Running Tests
A Makefile is provided with a default target to compile your solution and run the tests. At the command line, type:

```bash
make
```

## Interactive Shell
`utop` is a command line program which allows you to run Ocaml code interactively. The easiest way to install it is via opam:
```bash
opam install utop
```
Consult [utop](https://github.com/diml/utop/blob/master/README.md) for more detail.

## Feedback, Issues, Pull Requests
The [exercism/ocaml](https://github.com/exercism/ocaml) repository on
GitHub is the home for all of the Ocaml exercises.

If you have feedback about an exercise, or want to help implementing a new
one, head over there and create an issue.  We'll do our best to help you!

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

79 entries across 79 versions & 1 rubygems

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