Closed walshaw closed 4 years ago
Hey @walshaw ,
This is an issue with the CARD json wherein model 3745 for Tuberculosis does not have an SNP, resulting in RGI throwing an error. We will look further into this entry.
If Tuberculosis is not of your concern, then this can be ignored. However, seeing your error, this error causes the operation to end so attached to this message is an ad-hoc fix wrapping the problem code with a try; except block. This error will be bypasses so that you can get your data.
Please download this zip. Unzip it and place it into the app folder within your rig-5.1.0 directory. Select replace and reinstall RGI via command line.
You can do this by using the command line to enter the rig-5.1.0 directory and using:
pip install .
or
pip3 install .
Whichever your device supports.
Try to run your data again and let me know. It ran successfully on my end.
Cheers.
William Huynh, CARD Curator-Developer
I recently installed RGI via bioconda. I can't find a version command for rgi itself, but I'm guessing this must be version 5.1.0.
I tried out RGI on a 3rd-party genome sequence from NCBI (https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/195/955/GCF_000195955.2_ASM19595v2/GCF_000195955.2_ASM19595v2_genomic.fna.gz)
Stderr shows:
Background:
I've been using the README.rst as reference.
Prior to the above, I'd run the following commands (plus some for downloads/unpacking, omitted here). I'd loaded the wildcard and kmer datasets because I intend to use
rgi bwt
on unassembled metagenomes later. Would that cause a problem when applying it to assembled data?`
One other thing which I don't know is relevant:
I was expecting a version number to appear in card_variants?
OS: Debian (Jessie).