You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> pixels = coolfh.pixels(join=True)
File "/xxxx/lib/python3.6/site-packages/cooler/api.py", line 286, in pixels
cooler/api.py", line 286, in pixels
KeyError: 'nnz'
@nefclan Thank you for reporting this. Do you get the same problem when you run it with -p 1?
That's it! I ran with -p 1, this error never shows up.
nefclan
changed the title
Calling Cooler.pixels raises KeyError: 'nnz' with multiple processes specified
Calling Cooler.pixels raises KeyError: 'nnz' if multiple processes specified in hic2cool convert
May 20, 2020
hic2cool 0.8.3
cooler, version 0.8.6.post0
Converted cool's info.
Manually dump juicer .hic file and convert to sparse matrix file and use
Looks like hic2cool didn't write 'nnz' information which should be equal to the number of total pixels (number of lines of $MATRIX_FILE).
The text was updated successfully, but these errors were encountered: