Sha256: b25eedc4ff454372c669a916f045a9c5a5c4a688eaf3583b2c2f5992e753c664

Contents?: true

Size: 1.01 KB

Versions: 107

Compression:

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

## Making the Test Suite Pass

1. Get [PHPUnit].

        % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar
        % chmod +x phpunit.phar

2. Execute the tests for an assignment.

        % phpunit.phar wordy/wordy_test.php

[PHPUnit]: http://phpunit.de


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

107 entries across 107 versions & 1 rubygems

Version Path
trackler-2.2.1.3 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.2 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.1 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.0 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.0.6 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.0.5 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.0.4 tracks/php/exercises/rna-transcription/README.md