Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-02-21 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (320 votes). Check out past polls.