seaver has asked for the wisdom of the Perl Monks concerning the following question:
Dear all,
I have this very simple pattern:
/[QGYN]{3,6}/
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?
Thanks
Sam
Back to
Seekers of Perl Wisdom