Entering edit mode
2.7 years ago
fifty_fifty
▴
60
I have an h5 file which has a different structure than it is described on the 10x website. I checked the structure with h5ls("filename.h5")
and the output looks like this
when I try to read it in Seurat with data <- Read10X_h5("filename.h5")
, this error occurs:
Error in x$exists(name) : HDF5-API Errors:
error #000: ../../src/hdf5-1.12.0/src/H5L.c in H5Lexists(): line 961: unable to get link info
class: HDF5
major: Links
minor: Can't get value
error #001: ../../src/hdf5-1.12.0/src/H5VLcallback.c in H5VL_link_specific(): line 5198: unable to execute link specific callback
class: HDF5
major: Virtual Object Layer
minor: Can't operate on object
error #002: ../../src/hdf5-1.12.0/src/H5VLcallback.c in H5VL__link_specific(): line 5161: unable to execute link specific callback
class: HDF5
major: Virtual Object Layer
minor: Can't operate on object
error #003: ../../src/hdf5-1.12.0/src/H5VLnative_link.c in H5VL__native_link_specific(): line 337: unable to specific link info
class: HDF5
major: Links
minor: Object not found
error #004: ../../src/hdf5-1.12.0/src/H5L.c in H5L_exists(): line 3131: path doesn't exist
class: HDF5
major: Links
I tried to use hdf5r:
data <- H5File$new("filename.h5")
but there is another error with 'file access'
How can I read this file to create a Seurat object and do all the downstream analysis?
Hello I wonder if you could fix this issue. I am dealing with a quite similar issue.