Closed acvill closed 3 years ago
@acvill Thanks for the comments. There are two major modules in RGI called rgi main
and rgi bwt
.
card.json
is used for this modulewildcard_database_v3.0.8.fasta
, index-for-model-sequences.txt
, and card_database_v3.1.0.fasta
are used for rgi bwt
only not rgi main
This is less of an issue and more of a warning to other users. I am using the conda build of rgi v5.2.0 to annotate resistance genes in metaSPAdes contigs. The instructions on loading the reference data advise to pull the latest dataset, which, at the time of writing this, is version 3.1.2.
For metagenomic analyses, the README also recommends using the Prevalence, Resistomes, & Variants data to annotate the CARD database, and provides instructions to download the latest version (v 3.0.8).
After following the steps to create a wildCARD annotation and running
rgi load --wildcard_annotation
to load a local database, I found thatrgi main
would throw errors at the alignment step, regardless of the alignment tool selected.With
-a DIAMOND
:With
-a BLAST
:A closer look at the information provided on the CARD data download page suggests that these errors may be due to build incompatibilities between CARD database v3.1.2 and variants database 3.0.8.
Indeed,
rgi main
does not throw these errors when I use CARD v3.1.0. Here's my workflow, including conda environment setup: