Enveomics collection

A toolbox for microbial genomics and metagenomics

BlastTab.topHits_sorted.rb

Reports the top-N best hits of a BLAST.

    See source code, Artistic license 2.0.

§ References

    Rodriguez-R & Konstantinidis, 2016, PeerJ Preprints.

§ Requirements

§ Usage

BlastTab.topHits_sorted.rb select in_file | [opts] --blast - --out out_file [opts]

§ Arguments

Sort*
 select  Use 'sort' if your BLAST is not pre-sorted by the first column (or if you're not sure). Use 'cat' otherwise.
Input file*
 in_file  Tabular BLAST file.
Script
 task 
Output*
 --out out_file  Output filtered BLAST file. Supports compression with .gz extension.
Top
 --top integer  Maximum number of hits to report for each query.
Sort by
 --sort-by select  Parameter used to detect the 'best' hits.
Quiet
 --quiet   Run quietly.
* Mandatory.