I have made a clumsy first attempt at fuzzy pattern matching using the re module in python 2.7.
Unfortunately every attempt I make returns an empty list. I simply don't understand the syntax required. I was wondering if someone might tell me why the following code:
import re
m = re.findall('(ATCT){e<=1}', 'ATCGATCGGCATGCAGTGCAGAAGTGACGAT')
print m
returns an empty list?
ATCTfollowed with{e<=1}- these are literal character sequences. See what it matches.