|
преди 5 години | |
---|---|---|
.. | ||
NucleotideCount.fs | преди 5 години | |
NucleotideCount.fsproj | преди 5 години | |
NucleotideCountTests.fs | преди 5 години | |
README.md | преди 5 години |
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:
To run the tests, run the command dotnet test
from within the exercise directory.
F# source code can be formatted with the Fantomas tool.
After installing it with dotnet tool restore
, run dotnet fantomas .
to format code within the current directory.
For more detailed information about the F# track, including how to get help if you’re having trouble, please visit the exercism.io F# language page.
The Calculating DNA Nucleotides_problem at Rosalind http://rosalind.info/problems/dna/