title: extract a specific range of fasta sequences from a file
body: <p>I am trying to extract sequences from a specific range. the command that I am using can only extract the first n lines in a fasta sequence</p>
  
  <pre><code>awk "/^&gt;/ {n++} n&gt;2000 {exit} {print}" Name.faa &gt; Name_2k_cds.faa
  </code></pre>
  
  <p>If i want to extract sequences from a specific range like 2000 to 3000, how can I do that? is there a simple edit in my existing code.</p>
  
  <p>Thanks! </p>