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
In reply to Perl regular expression for amino acid sequence by seaver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |