Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Parsing .2bit DNA files

by bart (Canon)
on Mar 06, 2008 at 11:48 UTC ( [id://672436]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    tr/0123/TCAG/
    
  2. or download this
    my $dna = '';
    use constant CHUNKSIZE => 2048;
    for (my $offset = 0; $offset < length($raw); $offset += CHUNKSIZE) {
       $dna.= join '', @CONV[ unpack 'C*', substr $raw, $offset, CHUNKSIZE
    + ];
    }
    
  3. or download this
    s/(.)/$CONV[ord $1]/sge
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-06-18 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.