3.2 Counting sequences

We can count how many sequences “survived” the “purge”: it will be equal to the number of lines that contain the symbol > wihtin the file, that we can count with the Unix utility “word count” wc and requesting only the number of lines with -l added:

fgrep ">" spike_filtered.fa | wc -l
32

Upon first revision this number grew to 167. Larger numbers are expected as more sequences are added to the database (see 2.1.)