Something like this should work:
if ($seq =~ /(ATG.*(TAA|TAG|TGA))/) { $subseq = $1; }
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: how to find this substring?
by roboticus
in thread how to find this substring?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |