-
Notifications
You must be signed in to change notification settings - Fork 0
/
CountingDNANucleotides.py
11 lines (9 loc) · 1.07 KB
/
CountingDNANucleotides.py
1
2
3
4
5
6
7
8
9
10
11
DNA = "TGTACAGGCCCTCGGCATAGACCGCACAAATAGCAATGGCCCCCGGGTGACGAGCATGCCTAACGCGGAACTGATACCATGGAACTGTTATTACTCTGGGTAATGTCCTGTGGTTCGGAACGGGTATTGGTGGTGACCTCAGAACGTGCACGCATGTTGGCTCCGGCGTCGGTGGTGCCGCTGGCACAGGTGACCGCCTTGTCTTATATCAGGAAGTACGCACGCGTGTGGTTGCCCACCGGCACACGCCACGTTATGATTCCCGTAATTGCGGTTAGCAACAATGCTCGCGAGGACGTATGTATTGAATTCCTTCTGACGCAAAAAGTAAAACCTGCAAGGCCACCTTGGCTCGCGACCTATACTGGCAAGTGCGTCCACACTCGAAACGACACACAAGTCAAAGGGGATGTTACAAAGTCATTCTATACCTCATCGCCCAAGACCAAGGCAGGCAAGTTGGTGCAGTGTACGGAGAGGCGTATCCCATGGGGCTTCGACGTGGAGTCTTAAATTCGTCTTCTCAGCGGAGTGGCACTGCCTTGTTCCGCATTGTCCCACGGTTTAATGGCTTTGCGGTCCACGCCTCTGTCGGGTACAAAGTAGCACGTCCCCATAGTAGTTAGGAGCGTGGGGTGCATCAAGAATGAGCGCACGTCCTTAAGGCTTCACGATCCAGGGGTGGGGGTGCCCGAGCGTACTAGCTTCCCTGCTTCCCTACGGAGTGTTGCCCCCTAACTGCATACGGGACATTGAACATTAAGTCCGTATCACGCTACCATAGCAAATGAATAACATCAGCAACCACATTAACACAGTGGCTACGGAGGGCGAAAATCCATCTCCACGATTCAACTCTTGTACATCATCCGAGTGGCTCAGACGGGCAGAATTTAACCGAGGACGTAATAGCGGATGAATATTGC"
A = DNA.count("A")
G = DNA.count("G")
T = DNA.count("T")
C = DNA.count("C")
print(A , end = ' ')
print(C , end = ' ')
print(G , end = ' ')
print(T)