HiCExplorer icon indicating copy to clipboard operation
HiCExplorer copied to clipboard

hicConvertFormat convert iced matrix

Open BenxiaHu opened this issue 3 years ago • 0 comments

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

BenxiaHu avatar Jul 22 '22 13:07 BenxiaHu