Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Fast Identification Of String Difference

by neversaint (Deacon)
on Jan 17, 2011 at 02:38 UTC ( #882590=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $s1 = "ACTGGA";
        my $s2 = "AGTG-A";
    
       # Note the string can be longer than this.
       # But they are always of the same length.
    
  2. or download this
    #String Position 0-based
    # First col = Base in S1
    ...
    # Third col = Position in S1 where they differ
    C G 1
    G - 4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://882590]
Approved by broomduster
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-06 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls