Question: USING PYTHON The contents of a genetic region which varies between individuals can be isolated by defining a start sequence before the region and an

USING PYTHON

The contents of a genetic region which varies between individuals can be isolated by defining a start sequence before the region and an end sequence afterwards. Write a function isolate(dna, start, end) which accepts a DNA string with start and end sequences. It should return the DNA se- quence between the first instance of the start sequence and the end sequence following it. For example isolate("ATGCCCTGATCAAAT", "GCCCT", "AAA") should return the string "GATC" found between the given start and end se- quences. It should return a Boolean value of False if either the start or end sequences can not be found. Thus isolate("ATGCCCTGATCAAAT", "GCCCT", "TTTT") should return False.

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!