Issue with RGI heatmap
0
0
Entering edit mode
3.2 years ago
luca96zen • 0

Hello everyone. I got a problem when I run rgi heatmap. I tried to update pandas but the problem remains. Could you help me? Thanks a lot! this is the command:

rgi heatmap --input heatmap/ -o /home/STUDENTI/luca.rubinetti/result_heatmap -cat drug_class -clus samples

this is the output:

Traceback (most recent call last): File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/bin/rgi", line 4, in MainBase() File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/lib/python3.8/site-packages/app/MainBase.py", line 82, in init getattr(self, args.command)() File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/lib/python3.8/site-packages/app/MainBase.py", line 336, in heatmap self.heatmap_run(args) File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/lib/python3.8/site-packages/app/MainBase.py", line 357, in heatmap_run obj.run() File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/lib/python3.8/site-packages/app/Heatmap.py", line 455, in run complete_class_df= complete_class_df.set_index(["resistance_mechanism", "gene_family"], append=True)["drug_class"].apply(pd.Series).stack() File "/home/STUDENTI/luca.rubinetti/anaconda3/envs/rgi/lib/python3.8/site-packages/pandas/core/generic.py", line 5462, in getattr return object.getattribute(self, name) AttributeError: 'Series' object has no attribute 'stack'

software error • 603 views
ADD COMMENT

Login before adding your answer.

Traffic: 2196 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6