Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2015-11-29 13:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls