Hi,
I am unable to convert my h5ad object to h5seurat. I'd be grateful for any pointers about how to get this working. Here is the code I used:
library(Seurat)
library(SeuratDisk)
Convert("/Users/sargent/projects/Bioinf_CRO/ADA/data/byrd-h5ad_for_cellphonedb/38682c3f/38682c3f_healthy_normalized.h5ad", dest = "h5seurat", overwrite = FALSE)
Here is the output:
Warning: Unknown file type: h5ad
Warning: 'assay' not set, setting to 'RNA'
Creating h5Seurat file for version 3.1.5.9900
Adding X as data
Adding X as data
Adding X as counts
Adding X as counts
Adding meta.features from var
Adding meta.features from var
Error in dfile$obj_copy_from(src_loc = source, src_name = "obs", dst_name = "meta.data") :
HDF5-API Errors:
error #000: H5Ocopy.c in H5Ocopy(): line 240: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #001: H5VLcallback.c in H5VL_object_copy(): line 5495: object copy failed
class: HDF5
major: Virtual Object Layer
minor: Unable to copy object
error #002: H5VLcallback.c in H5VL__object_copy(): line 5456: object copy failed
class: HDF5
major: Virtual Object Layer
minor: Unable to copy object
error #003: H5VLnative_object.c in H5VL__native_object_copy(): line 125: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #004: H5Ocopy.c in H5O__copy(): line 301: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #005: H5Ocopy.c in H5O__copy_obj(): line 1196: unable to copy object
class: HDF5
maj
Error in dfile$obj_copy_from(src_loc = source, src_name = "obs", dst_name = "meta.data") :
HDF5-API Errors:
error #000: H5Ocopy.c in H5Ocopy(): line 240: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #001: H5VLcallback.c in H5VL_object_copy(): line 5495: object copy failed
class: HDF5
major: Virtual Object Layer
minor: Unable to copy object
error #002: H5VLcallback.c in H5VL__object_copy(): line 5456: object copy failed
class: HDF5
major: Virtual Object Layer
minor: Unable to copy object
error #003: H5VLnative_object.c in H5VL__native_object_copy(): line 125: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #004: H5Ocopy.c in H5O__copy(): line 301: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy object
error #005: H5Ocopy.c in H5O__copy_obj(): line 1196: unable to copy object
class: HDF5
maj
Error in private$closeFun(id) : HDF5-API Errors:
error #000: H5F.c in H5Fclose(): line 711: decrementing file ID failed
class: HDF5
major: File accessibility
minor: Unable to close file
error #001: H5Iint.c in H5I_dec_app_ref(): line 1018: can't decrement ID ref count
class: HDF5
major: Object atom
minor: Unable to decrement reference count
error #002: H5Fint.c in H5F__close_cb(): line 251: unable to close file
class: HDF5
major: File accessibility
minor: Unable to close file
error #003: H5VLcallback.c in H5VL_file_close(): line 3983: file close failed
class: HDF5
major: Virtual Object Layer
minor: Unable to close file
error #004: H5VLcallback.c in H5VL__file_close(): line 3952: file close failed
class: HDF5
major: Virtual Object Layer
minor: Unable to close file
error #005: H5VLnative_file.c in H5VL__native_file_close(): line 838: can't close file
clas
Error in private$closeFun(id) : HDF5-API Errors:
error #000: H5F.c in H5Fclose(): line 711: decrementing file ID failed
class: HDF5
major: File accessibility
minor: Unable to close file
error #001: H5Iint.c in H5I_dec_app_ref(): line 1018: can't decrement ID ref count
class: HDF5
major: Object atom
minor: Unable to decrement reference count
error #002: H5Fint.c in H5F__close_cb(): line 251: unable to close file
class: HDF5
major: File accessibility
minor: Unable to close file
error #003: H5VLcallback.c in H5VL_file_close(): line 3983: file close failed
class: HDF5
major: Virtual Object Layer
minor: Unable to close file
error #004: H5VLcallback.c in H5VL__file_close(): line 3952: file close failed
class: HDF5
major: Virtual Object Layer
minor: Unable to close file
error #005: H5VLnative_file.c in H5VL__native_file_close(): line 838: can't close file
clas
A h5seurat file is created but when I try to read it in using the following command:
Hi, I am unable to convert my h5ad object to h5seurat. I'd be grateful for any pointers about how to get this working. Here is the code I used:
Here is the output:
A h5seurat file is created but when I try to read it in using the following command:
healthy_seu <- LoadH5Seurat("/Users/sargent/projects/Bioinf_CRO/ADA/data/byrd-h5ad_for_cellphonedb/38682c3f/38682c3f_healthy_normalized.h5seurat")
I get the following error:
Here is my sessionInfo()