Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 studying the Monastery: (12)
As of 2015-04-27 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (501 votes), past polls