XiaoTaoWang / TADLib

A Library to Explore Chromatin Interaction Patterns for Topologically Associating Domains
GNU General Public License v3.0
40 stars 11 forks source link

HiTAD - TypeError: 'NoneType object is not subscriptable' #11

Closed StephenRicher closed 5 years ago

StephenRicher commented 5 years ago

Hi,

I am facing an error when running your HiTad tool and was wondering if you could help? I have created a cooler format HiC matrix using cooler load from a 2D bedGraph-like file.

However when I try to run the hitad algorithm I received the following traceback. trackback_hitad

I was wondering if you could help with this? I am using the 'raw' counts because my HiC matrix has already been balanced so these are in float type format.

Thanks very much and thanks for creating this fantastic tool!

Stephen

hlin1221 commented 5 years ago

I met the same problem, have you solved it, stephen

XiaoTaoWang commented 5 years ago

Hey guys,

Sorry for the delay. This bug was caused by outliers in HMM training for some datasets. Can you try the latest version (https://pypi.org/project/TADLib/) and let me know if it works?

Thanks!

oriolfornes commented 5 years ago

pip install tadlib --upgrade fixes it, thanks!

hlin1221 commented 5 years ago

it works now, thanks