Sha256: 6dce5af2939d723c873a61fd957a82a5d615af9dd34ac89807d813d952850396

Contents?: true

Size: 1.52 KB

Versions: 110

Compression:

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

## Installation
See [this guide](https://github.com/exercism/xr/blob/master/docs/INSTALLATION.md) for instructions on how to setup your local R environment.

## How to implement your solution
In each problem folder, there is a file named `<exercise_name>.R` containing a function that returns a `NULL` value. Place your implementation inside the body of the function.

## How to run tests
Inside of RStudio, simply execute the `test_<exercise_name>.R` script. This can be conveniently done with [testthat's `auto_test` function](https://www.rdocumentation.org/packages/testthat/topics/auto_test). Because exercism code and tests are in the same folder, use this same path for both  `code_path` and `test_path` parameters. On the command-line, you can also run `Rscript test_<exercise_name>.R`.

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

110 entries across 110 versions & 1 rubygems

Version Path
trackler-2.2.1.4 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.1.3 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.1.2 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.1.1 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.1.0 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.0.6 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.0.5 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.0.4 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.0.3 tracks/r/exercises/rna-transcription/README.md
trackler-2.2.0.2 tracks/r/exercises/rna-transcription/README.md