Question: 13]. def detect-homopolymer(seq): # Given a DNA sequence in string object, this function will detect all homopolymers with # the minimum length of 8 or

 13]. def detect-homopolymer(seq): # Given a DNA sequence in string object,

13]. def detect-homopolymer(seq): # Given a DNA sequence in string object, this function will detect all homopolymers with # the minimum length of 8 or more (eg. 'ccccccccccc' or 'AAAAAAAA" ). # Consequently, we need to know the homopolymer sequence, start and end position # as well as its length (eg., 'ccccccccccc. , start-5, end-15, length-10) All # detected homopolymers will be saved into a list where each element of the ist is a # tuple that has 4 parts (e.g., ('ccccccccccc 1,5,15, 10) ). homo list-D return homo-list # The returned list is named as homo-list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!