arpcard / rgi

Resistance Gene Identifier (RGI). Software to predict resistomes from protein or nucleotide data, including metagenomics data, based on homology and SNP models.
Other
328 stars 76 forks source link

CARD version not available #249

Closed shreya1singh728 closed 11 months ago

shreya1singh728 commented 11 months ago

Hello RGI team, I installed RGI using the following commands : git clone https://github.com/arpcard/rgi conda env create -f conda_env.yml conda activate rgi pip install git+https://github.com/arpcard/rgi.git and then downloaded the database as follows : wget https://card.mcmaster.ca/latest/data tar -xvf data ./card.json The installation was done successfully but it is not displaying the version of the installed database. I get the following results:

Screenshot 2023-10-20 144330

Please suggest a solution.

Thankyou in advance. Regards, Shreya

hunglin59638 commented 11 months ago

You still need to type as following:

rgi card_annotation -i /path/to/card.json

It will generate card_database_v3.2.8.fasta and card_database_v3.2.8_all.fasta in the current directory. Then, load them.

rgi load -i /path/to/card.json --card_annotation card_database_v3.2.8.fasta  --card_annotation_all_models card_database_v3.2.8_all.fasta
rgi database --version
# 3.2.8

Or just do this, it can download all CARD and WildCARD.

rgi auto_load
rgi database --version
# 3.2.8
raphenya commented 11 months ago

@hunglin59638 Thank you!