Annotate genes with gene family functions derived from GlobDB with gene family-level cutoffs determined by empirical Local Alignment Score Ratio (LASR) thresholds..
🔙 To the main page of anvi’o programs and artifacts.
This program annotates genes with functions from the GlobDB gene family database. It requires a globdb-data artifact produced by anvi-setup-globdb-functions.
GlobDB is a curated database of microbial genomes, and offers a set of gene families, also curated and accompanied by gene-family-level Local Alignment Score Ratio (LASR) cutoffs. anvi-run-globdb-functions uses these cutoffs to decide whether each hit is a genuine annotation or noise. Hits that pass the threshold are stored in your contigs database under the function annotation source GlobDB.
anvi-run-globdb-functions -c contigs-db
Use --num-threads for faster DIAMOND searches on multi-core systems.
anvi-run-globdb-functions --fasta-file my_proteins.faa \ --output-file my_annotations.txt
If your globdb-data lives in a non-default location, point anvi’o to it:
anvi-run-globdb-functions -c contigs-db \ --globdb-data-dir /path/to/globdb/data
Or set the environment variable ANVIO_GLOBDB_DATA_DIR once and omit the flag.
For each DIAMOND hit, anvi’o computes a Local Alignment Score Ratio (LASR), the ratio of the raw DIAMOND alignment score to the theoretical maximum self-alignment score of the query sequence computed from BLOSUM45 diagonal values as implemented by the GlobDB folk (which includes Daan Speth et al.). This is then compared against the LASR threshold (lasr), selfmin, and selfmax values stored in the gene family’s YAML entry:
selfmin–selfmax) for the family is classified as correct_length if the BSR passes the threshold.This is how cutoffs work (broadly speaking), and as soon as there is a resource to cite here, we will update this information.
Edit this file to update this information.
Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the __resources__ tag in this file to see an example.