Hi,
I am working on Protein and DNA sequences. When you have a protein sequence it can be translated in to DNA sequence in many ways. A nice way to express this is using regular expression. I would like to create this long regular expression for a protein sequence, and than seach for a smaller string. So that is the other way around of what regular expression does. Is there a way to do this?
a short example would be
DNAsequence
r'atata[atg]ca[atgc]...atatagtagcctgt'
search for
'agcacg'
Thanks