Talk:Bioinformatics/base count

From Rosetta Code

rare or minor bases

I wrote the REXX version to allow other bases,   which would also allow the program to catch typos   (as they would show up in the counts, whether valid or not).


─────────────────────────── from elsewhere on the 'net:

Common Bases:

   A = Adenine 
   C = Cytosine 
   G = Guanine 
   T = Thymine 


Rare or Minor Bases:

In addition to four common bases (ATGC), certain other unusual bases of purine and pyrimidine derivatives, called rare or minor bases, occur in small amounts in some DNA. In some viruses uracil occurs in place of thymine in DNA.


-- Gerard Schildberger (talk) 22:13, 25 November 2019 (UTC)

The Python just counts the character types too, and doesn't check that they are ACG or T only - easier to code, and enough for this task, I thought. --Paddy3118 (talk) 22:29, 25 November 2019 (UTC)