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

hicDifferentialTAD TypeError #863

Open CriticalSci opened 1 year ago

CriticalSci commented 1 year ago

Hello, I'm having issues with hicDifferentialTAD for relatively large bin sizes. Domains are called with hicFindTADs without any problems. Sometimes it works, sometimes it doesn't. Seems to break for specific chromosome and bin size combinations.

CriticalSci commented 1 year ago

UPDATE:

I believe the issue originates from an incompatibility between the output of hicMergeMatrixBins and the processing in hicFindTADs and/or hicDifferentialTAD.

My current workaround is to generate the alternate resolutions directly from cooler allowing me to omit the hicMergeMatrixBins step.

  1. hicMergeMatrixBins (skip)
  2. hicNormalize
  3. hicAdjustMatrix
  4. hicCorrectMatrix
  5. hicFindTADs
  6. hicDifferentialTAD