|Problems? Is your data what you think it is?|
similar string matchingby Anonymous Monk
|on Jul 05, 2004 at 07:25 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have at my work a little tricky task. It is a string matching problem. I want to compare two amino acid sequences (here in Letter code, single char represents one amino acid) to find at which positions one sequence lies in the other! example?
simple? new examples
I tried with the regexp and the module String::Approx and aslice with the option 'minimal_distance', but I don't like the return values for this module.
Any hints how to do "the best way"?
edit (broquaint): dropped <pre> tags aand added formatting