|There's more than one way to do things|
Perl regular expression for amino acid sequenceby seaver (Pilgrim)
|on Dec 01, 2004 at 19:42 UTC||Need Help??|
seaver has asked for the wisdom of the Perl Monks concerning the following question:
I have this very simple pattern:
which i run on some 100 yeast protein sequences. The pattern does it's job.
My problem is that I want to make sure I don't get any repeats of more than 2 letters in that sequence. Meaning I don't mind seeing 'NN', but I do mind seeing 'NNN'.
What's the best way of doing this?