Hi, i am trying to run CARD-RGI and give this error.
./rgi heatmap -i np/ -cat gene_family -o genefamily_samples -clus samples Traceback (most recent call last): File "./rgi", line 4, in <module> MainBase() File "/home/bvs/Neelam/rgi/app/MainBase.py", line 82, in __init__ getattr(self, args.command)() File "/home/bvs/Neelam/rgi/app/MainBase.py", line 336, in heatmap self.heatmap_run(args) File "/home/bvs/Neelam/rgi/app/MainBase.py", line 357, in heatmap_run obj.run() File "/home/bvs/Neelam/rgi/app/Heatmap.py", line 617, in run df_copy = self.cluster_data(self.cluster, df_copy) File "/home/bvs/Neelam/rgi/app/Heatmap.py", line 184, in cluster_data cm = sns.clustermap(df, row_cluster=False, col_cluster=True) File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/_decorators.py", line 46, in inner_f return f(kwargs) File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 1406, in clustermap return plotter.plot(metric=metric, method=method, File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 1219, in plot self.plot_dendrograms(row_cluster, col_cluster, metric, method, File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 1074, in plot_dendrograms self.dendrogram_col = dendrogram( File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/_decorators.py", line 46, in inner_f return f(kwargs) File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 779, in dendrogram plotter = _DendrogramPlotter(data, linkage=linkage, axis=axis, File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 589, in __init__ self.linkage = self.calculated_linkage File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 656, in calculated_linkage return self._calculate_linkage_scipy() File "/home/bvs/.local/lib/python3.8/site-packages/seaborn/matrix.py", line 624, in _calculate_linkage_scipy linkage = hierarchy.linkage(self.array, method=self.method, File "/home/bvs/.local/lib/python3.8/site-packages/scipy/cluster/hierarchy.py", line 1068, in linkage n = int(distance.num_obs_y(y)) File "/home/bvs/.local/lib/python3.8/site-packages/scipy/spatial/distance.py", line 2573, in num_obs_y raise ValueError("The number of observations cannot be determined on " ValueError: The number of observations cannot be determined on an empty distance matrix.
Thank you!