Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Comparing a large set of DNA sequences

by roboticus (Canon)
on Nov 10, 2011 at 00:24 UTC ( #937249=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
            print "$k\t", join(",\n\t\t", @{$H{$k}}), "\n";
        }
    }
    
  2. or download this
    $ cat DNA_strings.dat
    CTGAG
    ...
    AGCA*:    AGCAC, AGCAA
    CTGA*:    CTGAG, CTGAA
    G*CAT:    GCCAT, GGCAT
    
  3. or download this
    $ perl gen_random_strings.pl 100000 20 20 ACGT >DNA_strings.dat
    
    ...
    real    0m47.659s
    user    0m46.395s
    sys     0m1.252s
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-25 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls