Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$str1='MCCAALAPPMAATVGPESIWLWIGTIGMTLGTLYFVGRGRGVRDRKMQEFYIITIFITTIAAA +MYFAMATGFGVT-------------EVMVG----DE---ALTIYWARYADWLFTTPLLLLDLSLLAGAN +RN----TIATLIG-LDVFMIG---T---GAIAALSST-PGTRIAWWAIST--GALL--ALLYVLVGTLS +ENARNRAPEVA--SLFGRLRNLVIALWFLYPVVWILGT---EGTFGILP--LYWETAAFMVLDLSAKVG +FGVILLQSRSVLERVATPTAAPT'; $str2='--OOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMMMMMIIIIIIIIIIMMMMMMMMMMMMMM +MMMMMMMOOOOO-------------OOOOO----OO---OOOOMMMMMMMMMMMMMMMMMMMMMIIIII +II----MMMMMMM-MMMMMMM---M---MMMMMMOOO-OOOOMMMMMMMM--MMMM--MMMMMMMMMMI +IIIIIIIIIII--IIIIMMMMMMMMMMMMMMMMMMMMO---OOO-OOOO--OOOMMMMMMMMMMMMMMM +MMMMMMIIIIIIIIIIIII----';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: More efficient way for this pattern match?
by GrandFather (Saint) on Apr 14, 2015 at 01:40 UTC | |
by ikegami (Patriarch) on Apr 14, 2015 at 03:00 UTC | |
by hdb (Monsignor) on Apr 14, 2015 at 12:08 UTC | |
by GrandFather (Saint) on Apr 14, 2015 at 21:08 UTC | |
by Anonymous Monk on Apr 14, 2015 at 07:14 UTC | |
by Anonymous Monk on Apr 14, 2015 at 06:46 UTC | |
|
Re: More efficient way for this pattern match?
by Anonymous Monk on Apr 14, 2015 at 14:44 UTC | |
|
Re: More efficient way for this pattern match?
by Anonymous Monk on Apr 14, 2015 at 19:41 UTC | |
by Anonymous Monk on Apr 15, 2015 at 12:07 UTC |