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

Error with hicFindTADs #773

Open spiderzbh opened 2 years ago

spiderzbh commented 2 years ago

Welcome to the HiCExplorer GitHub repository! Before opening the issue please check that the following requirements are met :

Retry your command, is it solved now? If not please continue with the following:

Data from GSE77565.

Thanks, Bohan

joachimwolff commented 2 years ago

Hi,

the file ending in command (a) is wrong. First, you write hdf5 instead of h5. However, h5 is our HiCExplorer specific file format, and I don't think a study from 2016 used HiCExplorer to create their files! I know it is a bit confusing, but hdf5 is a generalised container format, we just use it, but the internal structure of the file is specific to HiCExplorer. For (b) you specify a h5 but it tries to load a cool file. And then it complains that certain data structures are not available. This indicates that the file you try to load is neither a HiCExplorer specific h5 nor a cool file.

To confirm my assumption, I downloaded one of the files of the given GSE, and yes, the content looks very different from what we are expecting for HiCExplorer:

Screenshot 2022-01-05 at 11 13 43

Compare to: https://hicexplorer.readthedocs.io/en/latest/content/file-formats.html#interaction-matrix-format-h5

Long story short: Please try to load data formats that HiCExplorer actually supports!

Best,

Joachim

spiderzbh commented 2 years ago

Hi Joachim,

Thank you for the information, that's really helpful. Besides that, I was wondering if it is possible for you to tell me if there is any software I can use to convert the hdf5 files to HiCExplorer specific h5s or cool files.

Thanks, Bohan

jzohren commented 2 years ago

Hi Joachim,

I've run into a similar problem as Bohan. I downloaded publicly available Hi-C data in hdf5 format and would like to convert this to a cool file. I thought that hdf5 and h5 are interchangable file extensions, so I tried with with hicConvertFormat but got essentially the same error as Bohan's Output from B posted above. Any help would be greatly appreciated!

Thanks, Jasmin