BLAST Best Hit Chooser

About

Sometimes you need just the best hit when multiple hits are found for the same region in the query or subject sequence. These scripts will help to achieve that. They take and return the compressed BLAST format.

These tools were made by Kirill Kryukov in Saitou lab, NIG. I share them with the hope that they can be useful, but without any warranties.

News

2012-07-05 – Added "keep_best_hit_when_same_query".

2012-06-27 – This page is created.

Download

(Distributed under the zlib/libpng license, see the source file for details)

Usage

perl keep_best_hit_when_same_query.pl <in >out
perl keep_best_hit_when_query_overlaps.pl <in >out
perl keep_best_hit_when_subject_overlaps.pl <in >out

Note: "keep_best_hit_when_same_query.pl" is aware of multi-part hits (from blastx/tblastx), but the other two scripts are not (yet).

If you have any questions, comments or suggestions, please contact me.


  © 2012 Kirill Kryukov
This page is available under the CC BY 3.0 License