deeptools / HiCExplorer

HiCExplorer is a powerful and easy to use set of tools to process, normalize and visualize Hi-C data.
https://hicexplorer.readthedocs.org
GNU General Public License v3.0
223 stars 68 forks source link

hicBuildMatrix TypeError #888

Closed Claudiolete closed 5 months ago

Claudiolete commented 5 months ago

Hi, I'm trying to use hicBuildMatrix using the following command line:

hicBuildMatrix -s file_1.sam file_2.sam -o builded_matrix.h5 --QCfolder ./Building_Matrix/ --binSize 10000

It returns: Traceback (most recent call last): File "/home/resources/programs/miniconda3/bin/hicBuildMatrix", line 7, in main() File "/home/resources/programs/miniconda3/lib/python3.8/site-packages/hicexplorer/hicBuildMatrix.py", line 1226, in main computed_pairs += len(buffer_workers1[i]) TypeError: object of type 'NoneType' has no len()

I don't know if this problem is caused by python or is the result of an error on my part in the command line. The version of hicExplorer is 2.2.1.1 and the version of python is 3.8.3

Any help is welcome.

joachimwolff commented 5 months ago

The HiCExplorer version you use is outdated. Please use the current version 3.7.3.