hdf错误让你怀疑人生
总是有不少人贬低生信工程师的日常,很懒散,跑个流程就完了,其实我们偶尔也很痛苦,尤其是遇到解决起来非常麻烦的报错。(或者说是学习不到家)
曾经一天之内就遇到两个hdf报错,而且报错信息还不一样,记得当初折磨的我饭都吃不下,额,说起来都是泪。
第一conifer软件的:
self._g_new(filename, mode, **params)
File "tables/hdf5extension.pyx", line 488, in tables.hdf5extension.File._g_new (tables/hdf5extension.c:5458)
tables.exceptions.HDF5ExtError: HDF5 error back trace
File "H5F.c", line 604, in H5Fopen
unable to open file
File "H5Fint.c", line 1085, in H5F_open
unable to read superblock
File "H5Fsuper.c", line 277, in H5F_super_read
file signature not found
End of HDF5 error back trace
Unable to open/create file 'analysis.hdf5'
第二个是GATK软件的,如下:
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
#000: /mnt/scr1/abyrne/HDFJava-platypus-2.11/native/HDF5-prefix/src/HDF5/src/H5F.c line 604 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: /mnt/scr1/abyrne/HDFJava-platypus-2.11/native/HDF5-prefix/src/HDF5/src/H5Fint.c line 1085 in H5F_open(): unable to read superblock
major: File accessibilty
minor: Read failed
#002: /mnt/scr1/abyrne/HDFJava-platypus-2.11/native/HDF5-prefix/src/HDF5/src/H5Fsuper.c line 277 in H5F_super_read(): file signature not found
major: File accessibilty
minor: Not an HDF5 file
https://support.hdfgroup.org/products/java/hdfview/
后面我好像使用conda解决了,又好像没有解决,因为服务器比较多,有时候这个不行,我就赶快换一个。
source activate py36
conda list
conda install -y -c anaconda h5py
conda install -y -c anaconda hdf5
O(∩_∩)O哈哈~
管他了!