HiCExplorer icon indicating copy to clipboard operation
HiCExplorer copied to clipboard

AttributeError: module 'cooler' has no attribute 'fileops' while converting cool to h5

Open Shubhra-B opened this issue 1 year ago • 1 comments

Hello, I am trying to convert cool to h5 format using hicConvertFormat. I have an mcool file from which I have already extracted my resolution using

cooler dump --join ../test.iced.mcool::resolutions/10000 -o test.cool

and then I run -

hicConvertFormat \
  -m test.cool \
    --outFileName test.h5 \
   --inputFormat cool \
   --outputFormat h5

I get the error: AttributeError: module 'cooler' has no attribute 'fileops'

If I try using mcool directly for conversion using -

hicConvertFormat \
    -m test.iced.mcool::resolutions/10000 \
    --outFileName test.h5 \
   --inputFormat cool \
   --outputFormat h5

Same issue pops up. Any help would be appreciated. Thanks.

Shubhra-B avatar Jan 24 '25 10:01 Shubhra-B

Are you using the latest HiCExplorer and cooler lib?

joachimwolff avatar Mar 26 '25 18:03 joachimwolff