Help for this page

Select Code to Download


  1. or download this
    perl -lne '$c++ while />/g }{ print $c' fasta-file
    # or
    perl -lne '$c += () = />/g }{ print $c' fasta-file
    
  2. or download this
    perl -lne '$c++ if /^>/ }{ print $c' fasta-file