[Bioperl-l] script

James Wasmuth james.wasmuth at ed.ac.uk
Thu Sep 4 12:12:21 EDT 2003


If its a standard FASTA format file, then at the command line prompt type:

grep ">" file.fa | wc -l

hth
james

Lobvi Matamoros wrote:

>
> Hi:
>
> Does any one have an script to count how many proteins do you have in 
> a database/file in FASTA format
>
> Thanks in advance for your help
>
> Lobvi
>
> Lobvi Matamoros Fernández, Ph.D
> Post-doctoral fellow
>
> Centre de Recherche du CHUL
> 2705 Boul. Laurier, T3-80
> Sainte-Foy (Québec)
> G1V 4G2 CANADA
> Tel: 418-6542261
> FAX:418-654-2279
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l


-- 

Nematode Bioinformatics
Blaxter Nematode Genomics Group
Institute of Cell, Animal and Population Biology
Ashworth Labs						
University of Edinburgh				
King's Buildings					
Edinburgh			
EH9 3JT	 			
UK					

(+44)(0)131 650 7403





More information about the Bioperl-l mailing list