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

hicMergeDomains throws IndexError: list index out of range #839

Open agata-sm opened 1 year ago

agata-sm commented 1 year ago

Hi,

hicMergeDomains throws IndexError: list index out of range when used with certain combination of domain bed files; sometimes changing order of the files in the command line actually helps and the program finishes without error.

This error happens when the first entry in the first domain.bed (first as in order given in the command) has start at larger value than the first entry in the subsequent domain.bed. I did not observe such behaviour in relation to the end of the last entry per chromosome, however, I did not run extensive tests on this.

A similar error has been reported (#803), no hint on the coordinates in bed files though.

Best, Agata

My versions: hicInfo 3.7.2 Python 3.6.15 all other dependencies at their newest version at the time of environment creation

Installed and run via conda (although a bit different installation procedure than in the documentation)

usernicai commented 5 months ago

@agata-sm Hello, I have encountered the same problem. Have you found a solution?