Skip to content

Instantly share code, notes, and snippets.

@mxposed
Created January 12, 2017 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mxposed/9d1ee79ae661949a61508683215091a2 to your computer and use it in GitHub Desktop.
Save mxposed/9d1ee79ae661949a61508683215091a2 to your computer and use it in GitHub Desktop.
Я имел в виду, что можно посмотреть на все строки, где есть gene, потом сгруппировать одинаковые и посчитать:
$ fgrep '/gene=' AJ507799.txt | sort | uniq -c | wc -l
111
А потом посмотреть, что там есть:
$ fgrep '/gene=' AJ507799.txt | sort | uniq -c
И так же для белков:
$ fgrep '/protein_id=' AJ507799.txt | sort | uniq -c | wc -l
95
$ fgrep '/protein_id=' AJ507799.txt | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment