Closed Phlya closed 3 months ago
Thanks for reporting this issue and providing an easy way to reproduce the bug!
Off the top of my head I can't think of a reason why that operation should fail. Will try to look into this by the end of the week.
Thanks again for reporting this issue.
The problem turned out to be having bin tables where all chromosomes have exactly one bin.
The code used in hictk to estimate the cache size when opening .hic files had the incorrect assumption that the longest chromosome in a genome has at least two bins.
Violating this assumption led to an integer overflow which resulted in the position is greater than chromosome size
error.
Thank you for looking into it so quickly!
Hi, I am trying out hictk to convert .mcool to .hic, and I am encountering an issue. After writing all by-chromosome pixels, it tries to create the All:All matrix and fails like this:
This is a tiny .mcool with some yeast data that we use for testing in distiller, the file is attached (changed the extension to txt so github doesn't complain) all.sacCer3.mapq_30.1000.txt
Am I doing something wrong here?