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
Get step-by-step solutions from verified subject matter experts
