Error creating heatmap from Unclassified metagenome

Issue #16 new
Former user created an issue

It seems that when trying to plot a heat map from a merged table containing the following:

ID soil-metagenome unclassified 100.0

I get the following error:

/usr/lib64/python2.7/site-packages/matplotlib/axes/_base.py:2562: UserWarning: Attempting to set identical left==right results in singular transformations; automatically expanding. left=-0.5, right=-0.5 'left=%s, right=%s') % (left, right)) Traceback (most recent call last): File "/kdbio/home/jso/microEgo/sw/metaphlan/plotting_scripts/metaphlan_hclust_heatmap.py", line 481, in <module> tax_lev = pars['tax_lev'] File "/kdbio/home/jso/microEgo/sw/metaphlan/plotting_scripts/metaphlan_hclust_heatmap.py", line 452, in hclust heatmap_panel( fig, D, minv, maxv, idx1, idx2, cm_name, scale, sample_labels, feat_labels, label_font_size, -cm_h8.0/ysize, cm_h0.88.0/ysize, flabelon, slabelon, cm_ticks, gridon, ydend_offset+sdend_h8.0/ysize ) File "/kdbio/home/jso/microEgo/sw/metaphlan/plotting_scripts/metaphlan_hclust_heatmap.py", line 275, in heatmap_panel axmatrix2.set_yticklabels([rows[r] for r in idx1],size=label_font_size,va='center') IndexError: list index out of range

Comments (0)

  1. Log in to comment