This package uses a levelDB (key-value disk repository) to annotate each query, from a BLAST/DIAMOND tabular output, using the best alignment for which a mapping is known.
To create a levelDB from a mapping file use the createdb
sub-command. A mapping file is composed by a header (opcional) and at least two columns, one containing the identifiers that will be used as keys, and the other containing the values mapped for each key. These keys are expected to be found in the hits/subject column from a BLAST/DIAMOND tabular output, generating an output that maps the queries to new identifiers.
Although this software was developed to perform functional annotations, other applications may be suitable. More info can be found at the github page.
A levelDB repository and the plyvel package are required to run this software. Install this package via conda including the conda-forge
channel as follows:
conda install -c conda-forge -c arthurvinx annotate -y
pip3 install -U plyvel --no-cache-dir --no-deps --force-reinstall