Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm going to take a stab at a solution after I post this, but it feels like it should be a common(ish) problem. Any ideas?my $oldstring = 'ATTGC---AGTCCATGC------ATGC' my $newstring = 'AT-TGC---AGTCCATGC------ATGC' desired output: gap of length 1 at position 3 gap of length 1 at somewhere between position 20 and 27
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: finding substrings that have been inserted into a string
by merlyn (Sage) on Sep 17, 2006 at 17:07 UTC | |
by Corion (Patriarch) on Sep 17, 2006 at 17:57 UTC | |
|
Re: finding substrings that have been inserted into a string
by Skeeve (Parson) on Sep 17, 2006 at 19:16 UTC | |
|
Re: finding substrings that have been inserted into a string
by Anonymous Monk on Sep 17, 2006 at 17:40 UTC | |
by graff (Chancellor) on Sep 17, 2006 at 22:05 UTC |