[EMBOSS] Counting the number of sequences in a file

Mahmut Uludag uludag at ebi.ac.uk
Tue Jul 20 16:57:25 EDT 2010


>> $ seqret -filter -sformat=genbank gbvrt1.seq | grep -c '^>'

infoseq prints a separate line for each sequence, following command line may 
also work.

  > $ infoseq -filter -sformat=genbank gbvrt1.seq | wc -l


Mahmut
 



More information about the EMBOSS mailing list