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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started