Hi all I'm having trouble for PSET6 DNA. My code works fine for everything up until and including 4.txt but whenever I go to check the large.csv file and thus 5.txt, 6.txt, 7.txt and so on I seem to ...
I am trying to compute the most repeated STR for each sequence in a dictionary called str_dict.
# compute STRs
i = 0
# stablish length of the sequence
length_seq = len(sequence)
# iterate through all ...
My code works fine for the small csv file; however, when I get to the big csv file, my counts for the number of consecutive STR are less than the actual value by about 1 or 2.
Here is my code: