Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Input record separator

by tlm (Prior)
on Mar 18, 2005 at 15:02 UTC ( [id://440710]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >Record 1
    AGTCTAGTCAT
    ...
    ATGAACAGCAG
    ATGAAGAATGG
    ATAG
    
  2. or download this
    % perl -lne 's/>//?$s=$_:$s{$s}.=$_;\
    > END{ <do smthng w/ %s> }' \
    > huge.fasta massive.fasta humongo.fasta
    
  3. or download this
    % perl -MStorable -lne 's/>//?$s=$_:$s{$s}.=$_;\
    > END{ store \%s "for_later" }' \
    > huge.fasta massive.fasta humongo.fasta
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-19 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found