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
227 stars 70 forks source link

hicConvertFormat convert iced matrix #809

Open BenxiaHu opened 2 years ago

BenxiaHu commented 2 years ago

Hello, would you like to tell me that hicConvertFormat can convert HiC-Pro iced matrix to cool or other formats?

hicConvertFormat -m fastq_100000_iced.matrix --bedFileHicpro ${bed} --resolutions 100000 --inputFormat hicpro --outputFormat cool -o fastq_100000_iced.cool Traceback (most recent call last): File "/data/anaconda3/envs/Hicexpoler/bin/hicConvertFormat", line 7, in main() File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/hicexplorer/hicConvertFormat.py", line 165, in main distance_counts, correction_factors = matrixFileHandlerInput.load() File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/hicmatrix/lib/matrixFileHandler.py", line 49, in load return self.matrixFile.load() File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/hicmatrix/lib/hicpro.py", line 33, in load matrix = csr_matrix((data, (instances, features)), shape=(shape, shape)) File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/scipy/sparse/compressed.py", line 55, in init dtype=dtype)) File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/scipy/sparse/coo.py", line 196, in init self._check() File "/data/anaconda3/envs/Hicexpoler/lib/python3.7/site-packages/scipy/sparse/coo.py", line 287, in _check raise ValueError('negative row index found') ValueError: negative row index found