-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Description
This is courtesy of Carlos Guzman on the mailing list:
plotHeatmap -m CM_MNase_Regions_Ctrl -out HM_MNase_Regions_Ctrl.png --dpi 300 --colorMap RdBu --refPointLabel center --sortUsing region_length
produces:
Traceback (most recent call last):
File "/usr/local/anaconda2/bin/plotHeatmap", line 7, in <module>
main()
File "/usr/local/anaconda2/lib/python2.7/site-packages/deeptools/plotHeatmap.py", line 584, in main
sample_list=sortUsingSamples)
File "/usr/local/anaconda2/lib/python2.7/site-packages/deeptools/heatmapper.py", line 1124, in sort_groups
for x in self.regions])
TypeError: list indices must be integers, not str
It looks like we just need to x[2] - x[1] or something along those lines.