counting fasta files

Jason Stajich jason at cgt.mc.duke.edu
Wed Sep 11 15:52:19 UTC 2002


% grep "^>" file.fa | wc -l


On Wed, 11 Sep 2002, Ted Chiang wrote:

>
> Hello,
>
> I have a file that contains several hundreds of fasta sequences.  Is there
> a function/program that will count the number of sequences in this file
> and report it?
>
> -Ted
>
>
> =====================================
> Ted Chiang, Analyst
> Centre for Computational Biology
> Hospital for Sick Children, Toronto
> 416.813.7028
> tchiang at bioinfo.sickkids.on.ca
> =====================================
>
>

-- 
Jason Stajich
Duke University
jason at cgt.mc.duke.edu




More information about the EMBOSS mailing list