rgi
rgi copied to clipboard
RGI heatmap/parser Issue [BUG]
Good day, dear representatives of RGI. I faced a problem when using rgi heatmap and rgi parser.
About heatmap: When trying to build a heatmap and giving as arguments a folder with only json files and a subfolder, an error comes out. That said, all files were generated by searching on peptides annotated with prokka. The search for ARG genes was done in protein mode.
Heatmap construction was done in debug mode, hope it helps:
INFO 2024-01-08 22:00:31,106 : {
{ "input": "rgi_gene_res_blast",
"classification": { "drug_class",
"frequency": true,
"output": "HM_gene/DJ_HM_DC",
"cluster": { "both",
"display": "plain",
"debug": true
}
Traceback (most recent call last):
File "/home/vasilchenko_ng/miniconda3/envs/rgi/bin/rgi", line 4, in
As for the parser, it accepts json formats generated by the parser on the site without content (0 strict, 0 loose, o perfect) although everything is in the files, checked.
@MicoNick what is the command you used and which version of RGI?
@MicoNick what is the command you used and which version of RGI? @raphenya You're talking about rgi command for heatmap generation, rgi main or something else?
RGI v 6.0.3
You're talking about rgi command for heatmap generation, rgi main or something else?
Yes, the command for the rgi heatmap.
@raphenya rgi heatmap -i rgi_gene_res_blast -cat drug_class -f -clus both -d plain -o HM_gene/DJ_HM_DC
You should update the package version because the bug was fixed.The issue was caused by a compatibility problem with pandas versions greater than 2. : stackoverflow
You should update the package version because the bug was fixed.The issue was caused by a compatibility problem with pandas versions greater than 2. : stackoverflow
Dear scon7, which package are we talking about? If RGI, it is already 6.0.3.
@MicoNick the rgi heatmap
only uses json
files produced by rgi main
. The rgi parser
is used for generating json
files for the RGI wheel on the card.mcmaster.ca website only. Hope that helps.
@MicoNick the
rgi heatmap
only usesjson
files produced byrgi main
. Thergi parser
is used for generatingjson
files for the RGI wheel on the card.mcmaster.ca website only. Hope that helps.
Dear Raphenya, I'm used rgi heatmap only with json files, which I put in the one directory. And rgi parser used for json generate, but this json has a strange visualised on the website (all wheels be a empty).
Issue is stale and will be closed in 7 days unless there is new activity
Dear colleagues, friends! Could you please suggest possible solutions to the problem?
Issue is stale and will be closed in 7 days unless there is new activity