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.103 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.102 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.101 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.100 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.99 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.98 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.97 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.96 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.95 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.94 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.93 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.92 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.91 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.90 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.89 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.88 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.87 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.86 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.85 tracks/php/exercises/rna-transcription/README.md
trackler-2.2.1.84 tracks/php/exercises/rna-transcription/README.md