Sha256: bb6aee109a52eaf58fa5e78f8f742040861d9df8b8fdaacadef0386e59688828
Contents?: true
Size: 1.54 KB
Versions: 64
Compression:
Stored size: 1.54 KB
Contents
# Nucleotide Count Given a DNA string, compute how many times each nucleotide occurs in the string. DNA is represented by an alphabet of the following symbols: 'A', 'C', 'G', and 'T'. Each symbol represents a nucleotide, which is a fancy name for the particular molecules that happen to make up a large part of DNA. Shortest intro to biochemistry EVAR: - twigs are to birds nests as - nucleotides are to DNA and RNA as - amino acids are to proteins as - sugar is to starch as - oh crap lipids I'm not going to talk about lipids because they're crazy complex. So back to nucleotides. DNA contains four types of them: adenine (`A`), cytosine (`C`), guanine (`G`), and thymine (`T`). RNA contains a slightly different set of nucleotides, but we don't care about that for now. ## Setup Go through the setup instructions for JavaScript to install the necessary dependencies: http://exercism.io/languages/javascript ## Making the Test Suite Pass Execute the tests with: jasmine <exercise-name>.spec.js Replace `<exercise-name>` with the name of the current exercise. E.g., to test the Hello World exercise: jasmine hello-world.spec.js In many test suites all but the first test have been skipped. Once you get a test passing, you can unskip the next one by changing `xit` to `it`. ## 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
64 entries across 64 versions & 1 rubygems