|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: how to find this substring?by Not_a_Number (Parson) |
| on Jun 08, 2012 at 14:08 UTC ( #975171=note: print w/ replies, xml ) | Need Help?? |
|
From the OP: I need to read some DNA sequences and check if they start with 'ATG' and end in 'TAA', 'TAG' or 'TGA' Given the sequence: ATGXXXTAAXXXTAAyour code outputs: ATGXXXTAAwhereas it should print the whole string (or 'true', or whatever).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||