Sha256: 7fa3d42e15b8fdc2f863daa5d305e36f380a9e8dd8f5f41195b4db67cb9af841

Contents?: true

Size: 1.97 KB

Versions: 103

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

103 entries across 103 versions & 1 rubygems

Version Path
trackler-2.2.1.99 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.98 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.97 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.96 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.95 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.94 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.93 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.92 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.91 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.90 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.89 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.88 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.87 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.86 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.85 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.84 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.83 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.82 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.81 tracks/ocaml/exercises/rna-transcription/README.md
trackler-2.2.1.80 tracks/ocaml/exercises/rna-transcription/README.md