Moreover, in a fasta file, the > appears only once per line, and only as the very first character
well, then
grep -c '^>' fasta-fileshould do.
In reply to Re^3: Counting no of '>' symbol in a file
by shmem
in thread Counting no of '>' symbol in a file
by GSperlbio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |