Skip to content

Typo: Chapter 11 - Removing Duplicates Example #35

@mlschacht

Description

@mlschacht

"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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions