"We can do this by adding a sort -k1,1d -u, for a final answer of 2,884." But the example code below results in:
[oneils@mbp ~/apcb/intro/blast]$ cat yeast_blastp_yeast_top2.txt | \
grep -v '#' |
awk '{if($1 != $2) {print $0}}' |
sort -k1,1d -u |
wc
2989 29890 149721
Should 2884 in the text be 2989?