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.43 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.42 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.41 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.40 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.39 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.38 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.37 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.36 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.35 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.34 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.33 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.32 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.31 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.30 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.29 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.28 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.27 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.26 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.25 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.24 tracks/php/exercises/rna-transcription/README.md