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

HDF5ExtError: HDF5 error back trace #762

Open clsteam opened 3 years ago

clsteam commented 3 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:

thanks, Yao

joachimwolff commented 3 years ago
clsteam commented 3 years ago

Because this is others large server, I don’t have permission to install the new versio. Secondly, I have tried to change the output file name and tried other methods, and tried many times, but finally failed to solve the problem. Therefore, I prefer to have a way to solve the problem in the current version.

joachimwolff commented 3 years ago

The error says the hdf5 library is unable to get a lock for the file. Does your filesystem support file locks? I guess that's something you need to check with the admins of your server; that's not a HiCExplorer issue.

CocoMlle commented 2 years ago

HI, I have the same issue and i didn't have it before :( i can't understand why it happened now ! i'm running hicexplorer on a serveur, with python 3.8. Hicexplorer was installed with conda, it's version 3.7.2. It's working until hicMergeMatrixBins steps. after that i have this error : hicMergeMatrixBins --matrix ../../../ANALYSIS/hicexplorer_results/GM12878/hicMatrix/GM12878_10kb.h5 --outFileName ../../../ANALYSIS/hicexplorer_results/GM12878/hicMatrix/GM12878.100bins.h5 --numBins 100 Traceback (most recent call last): File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/bin/hicMergeMatrixBins", line 7, in main() File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/hicexplorer/hicMergeMatrixBins.py", line 275, in main hic = hm.hiCMatrix(args.matrix) File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/hicmatrix/HiCMatrix.py", line 56, in init matrixFileHandler_load = self.matrixFileHandler.load() File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/hicmatrix/lib/matrixFileHandler.py", line 51, in load return self.matrixFile.load() File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/hicmatrix/lib/h5.py", line 27, in load with tables.open_file(self.matrixFileName, 'r') as f: File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/tables/file.py", line 315, in open_file return File(filename, mode, title, root_uep, filters, kwargs) File "/work/gad/shared/bin/miniconda3/envs/hicexplorer38/lib/python3.8/site-packages/tables/file.py", line 778, in init self._g_new(filename, mode, params) File "tables/hdf5extension.pyx", line 492, in tables.hdf5extension.File._g_new tables.exceptions.HDF5ExtError: HDF5 error back trace

File "H5F.c", line 509, in H5Fopen unable to open file File "H5Fint.c", line 1652, in H5F_open unable to read superblock File "H5Fsuper.c", line 420, in H5F__super_read file signature not found

End of HDF5 error back trace

Unable to open/create file '../../../ANALYSIS/hicexplorer_results/GM12878/hicMatrix/GM12878_10kb.h5'

any idea? thanks for your help :)