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.63 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.62 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.61 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.60 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.59 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.58 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.57 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.56 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.55 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.54 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.53 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.52 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.51 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.50 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.49 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.48 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.47 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.46 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.45 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.44 tracks/php/exercises/rna-transcription/README.md