Help for this page

Select Code to Download


  1. or download this
    # Choose first N FASTA records
    perl -ne 'BEGIN {$/=">";$o=0}{chomp;$o<N?(/^$/?next:print">$_"):last;$
    +o++}' EXAMPLE.fa
    
  2. or download this
     perl -ne 'BEGIN{$/=">";$o=0}{chomp;$o<22?(/^$/?next:print">$_"):last;
    +$o++}' b4x_est100.fa # print the first 22 records