Assignment 3 Review - Washington University Department of...

Preview:

Citation preview

Assignment3Review2/17/17

EmilyLewis

Slidingwindow!!

CommonMistake• For i in range (0, (len(gene)-25))

len = 5Want:3mersHowmany3mersarethere?à 3So,wanttopullout0th, 1st & 2nd itemi.e.Rangeisnon-inclusiveof

last#For num in range (0,3):

print (num) 012

ACTCG0 31 2 4

For i in range (0, (len(gene)-2)):

Fragmentsize-1

=5

=3

UsefulSites

Recommended