6
Assignment 3 Review 2/17/17 Emily Lewis

Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary

Assignment3Review2/17/17

EmilyLewis

Page 2: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary
Page 3: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary

Slidingwindow!!

Page 4: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary

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

Page 5: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary
Page 6: Assignment 3 Review - Washington University Department of ...genetics.wustl.edu/bio5488/files/2017/02/Assignment-3-Review.pdf · Getting pairwise proportions of concordance in a binary

UsefulSites