<?xml version="1.0" encoding="windows-1252"?>
<node id="983948" title="Re: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?" created="2012-07-26 17:44:22" updated="2012-07-26 17:44:22">
<type id="11">
note</type>
<author id="920017">
pvaldes</author>
<data>
<field name="doctext">
&lt;p&gt;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 $. &lt;= 200, but I suggest you to take a look to [http://search.cpan.org/dist/bioperl/|bioperl] in any case&lt;/p&gt;</field>
<field name="root_node">
983938</field>
<field name="parent_node">
983938</field>
</data>
</node>
