Last active
June 1, 2016 12:39
-
-
Save Tabea-K/82831f426b24f3631e25 to your computer and use it in GitHub Desktop.
Sorts a BLAST output file in format X (option -X) by the highest bitscore.
From http://seqanswers.com/forums/showthread.php?t=23166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sort -k1,1 -k12,12gr -k11,11g -k3,3gr blastout.txt | sort -u -k1,1 --merge > bestHits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment