Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31002
1 vote
Accepted

check50 gives different output than my own for "18.txt" sequence. All others pass. Any thoug...

If you look at the databases, you'll see that Harry (which your code produces for sequence 18) is almost an exact match with one exception. Sequence 18 contains TCTG 41 times, rather than the 40 times …
Sentox's user avatar
  • 950
1 vote
Accepted

PSET 6 DNA - Computing STRs

What is the value of i when the function moves on to the next str?
Sentox's user avatar
  • 950
0 votes
Accepted

Program for dna not printing anything

Some final tips: != 'name': is unnecessary because the fieldnames[1:] already drops 'name' strsn[z] == k[z] will never be true, because the data is read in from the CSV file as strings, while your se …
Sentox's user avatar
  • 950
0 votes

Program for dna not printing anything

Your code should most definitely be printing errors, not just nothing. Your most pressing problem is that your indices for argv are wrong (you're trying to open the wrong parameters for the files you …
Sentox's user avatar
  • 950
1 vote
Accepted

Computing consecutive STR is sometimes off by a little (Spoiler!)

Your problem is that the nucleotide loop steps through each letter of the sample, but when you find a match your index variable falls out of sync with the letter you are checking. I generally prefer n …
Sentox's user avatar
  • 950