Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by pvaldes (Chaplain)
on Jul 26, 2012 at 21:44 UTC ( #983948=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?

to grab the first 200 lines (each sequence having at least two lines) its a simple "head -n 200 myfile" problem or, if you want to be more perlish, while $my_file print if $. <= 200, but I suggest you to take a look to bioperl in any case


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2014-08-21 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls