# Traceback (most recent call last):
# File "/home/software/HiC-Pro/bin/utils/sparseToDense.py", line 75, in <module>
# counts = io.load_counts(args.filename, lengths=lengths)
# File "/usr/local/lib/python2.7/dist-packages/iced/io/_io_else.py", line 30, in load_counts
# counts = sparse.coo_matrix((X[:, 2], (X[:, 0], X[:, 1])), shape=shape)
# File "/usr/local/lib/python2.7/dist-packages/scipy/sparse/coo.py", line 184, in __init__
# self._check()
# File "/usr/local/lib/python2.7/dist-packages/scipy/sparse/coo.py", line 230, in _check
# raise ValueError('row index exceeds matrix dimensions')
# ValueError: row index exceeds matrix dimensions
The min and max bin numbers in the bed file and matrix file are the same.
This is only thrown on a subset of my data sets, others work fine. Has anyone dealt with this and figured out a solution? I'm happy to post some of the data, but I'm hoping someone else had this problem and has a solution.