BLUTILS
The Blutils
tool allow user to run and generate consensus identities of Blast
results. Currently the BlastN is available.
Installation
Blutils
package could be installed directly from
crates.io using cargo:
After installed, Blutils
could be evoked using the blu
command.
The output should be close to:
)
Check dependencies
Optionally you could check OS dependencies before run Blutils
. Naturally BLutils
depends on Ncbi-Blast+ tool to be installed on the host system to perform
parallel blast search. To check if the host OS has these package installed run
the Blutils
checker for linux systems:
Note: Currently the system check is available only for linux systems and assumes that dependencies could be evoked directly from terminal.
Run Blast with Blutils
The Blutils
execution is simple. To check all available options evoke the
blast subcommand help:
After inspect available options, simple run Blutils
with test data. First
download test data from the project github directory:
Then run Blutils
:
Seems the above commands, the output files could be found in output directory
which will contains two additional files named blast.out
and
blutils.consensus.json
. The first contains default Blast tabular response and
the former, the Blutils response, which will be close to:
[
{
}
{
}
{
}
Blast execution
Blast execution try to reaches the full available CPU saturation. At the default
multithread blast execution mode, the full saturation is not reached. To run
Blast through Blutils
it is possible. All the steps taken during this process
can be seen in the image below.
Consensus generation
Different from consensus generations from QIIME
2, the Blutils
consensus algorithm performs
a data pre-filtering based on Blast results for bit-score and perc-identity,
seems the algorithm described in the image below.
Next steps
This project contains only basic features to run BlastN and generate consensus identities. Thus, many features should be created, like create the database extractor to get data from official NCBI taxdump results and build FASTA database simultaneously, and others. We welcome new feature suggestions when needed!