# ----ROSALIND_1: ----
# Counting DNA Nucleotides
with open("1_rosalind_dna.txt") as file_object:
seq = file_object.readlines()
seq = [x.strip("\n") for x in seq]
def get_count(seq):
seq = str(seq)
base = "ACTG"
for i in base:
print(seq.count(i), end = " ")
网友评论