binding_locations(strA, strB)

My specifications

The first parameter represents a strand of DNA. The second parameter is one strand from a recognition sequence. Return a list of all the indices where the recognition sequence appears in the DNA strand. (These are the restriction sites.)

-------------------------------------------------------

For example, if the DNA palindrome appears at the beginning of the DNA strand, then 0 would be one of the items in the returned list. Look from left to right; dont reverse the first parameter and look backwards.

Help appreciated. Trying to figure this out by drawing float charts for hours lol, but still stuck on the same topic.

so for example:

strA is
'GGTACCCCTAGG'

and basically strB is return C since that where the DNA Palindrome begin

str.find() can be used if someone is wondering

Thanks

The source code is made available under the Biopython License, which is extremely liberal and compatible with almost every license in the world.

Crash... I'm not using they're software. Why would they mention that?