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
In reply to Re: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?
by pvaldes
in thread How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?
by radnorr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |