Sha256: 2a07a40018fa4370c1392e7753f9dfac314efa67e70e588940b383e2a4823708
Contents?: true
Size: 1.32 KB
Versions: 75
Compression:
Stored size: 1.32 KB
Contents
# Nucleotide Count Given a single stranded DNA string, compute how many times each nucleotide occurs in the string. The genetic language of every living thing on the planet is DNA. DNA is a large molecule that is built from an extremely long sequence of individual elements called nucleotides. 4 types exist in DNA and these differ only slightly and can be represented as the following symbols: 'A' for adenine, 'C' for cytosine, 'G' for guanine, and 'T' thymine. Here is an analogy: - twigs are to birds nests as - nucleotides are to DNA as - legos are to lego houses as - words are to sentences as... ## Running the tests 1. Go to the root of your PHP exercise directory, which is `<EXERCISM_WORKSPACE>/php`. To find the Exercism workspace run % exercism debug | grep Workspace 1. Get [PHPUnit] if you don't have it already. % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar % chmod +x phpunit.phar 2. Execute the tests: % ./phpunit.phar nucleotide-count/nucleotide-count_test.php [PHPUnit]: http://phpunit.de ## Source The Calculating DNA Nucleotides_problem at Rosalind [http://rosalind.info/problems/dna/](http://rosalind.info/problems/dna/) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
75 entries across 75 versions & 1 rubygems