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
|
|---|