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

Re: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?

by rnaeye (Pilgrim)
on Jul 29, 2012 at 03:31 UTC ( #984256=note: print w/ replies, xml ) Need Help??


in reply to How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?

Here is one liner:

perl -ne 'print if $. <= 100' inputfile


Comment on Re: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-29 17:09 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 (266 votes), past polls