-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Hello, I am trying to follow the steps here to test AnnData to Seurat conversion, using PBMC 3k dataset to convert from AnnData to Seurat via h5Seurat
whenever I start
> library("SeuratObject")
I get error message:
Loading required package: sp
‘SeuratObject’ was built under R 4.4.0 but the current version is 4.4.2; it is
recomended that you reinstall ‘SeuratObject’ as the ABI for R may have changed
‘SeuratObject’ was built with package ‘Matrix’ 1.7.0 but the current version is
1.7.1; it is recomended that you reinstall ‘SeuratObject’ as the ABI for
‘Matrix’ may have changedAttaching package: ‘SeuratObject’
The following objects are masked from ‘package:base’:
intersect, t
I then run:
BiocManager::install("SeuratObject")
library("SeuratObject")
BiocManager::install("Seurat")
library("Seurat")
followed by:
library(Seurat)
library(SeuratData)
library(SeuratDisk)
url <- "https://seurat.nygenome.org/pbmc3k_final.h5ad"
curl::curl_download(url, basename(url))
Convert("pbmc3k_final.h5ad", dest = "h5seurat", overwrite = TRUE)
but I get error:
Warning: Unknown file type: h5ad
Warning: 'assay' not set, setting to 'RNA'
Creating h5Seurat file for version 3.1.5.9900
Adding X as scale.data
Adding raw/X as data
Adding raw/X as counts
Adding meta.features from raw/var
Adding dispersions from scaled feature-level metadata
Adding dispersions_norm from scaled feature-level metadata
Merging gene_ids from scaled feature-level metadata
Adding highly_variable from scaled feature-level metadata
Adding means from scaled feature-level metadata
Merging n_cells from scaled feature-level metadata
Error in dfile$obj_copy_from(src_loc = source, src_name = "obs", dst_name = "meta.data") :
HDF5-API Errors:
error #000: ../../src/hdf5-1.12.2/src/H5Ocopy.c in H5Ocopy(): line 240: unable to copy object
class: HDF5
major: Object header
minor: Unable to copy objecterror #001: ../../src/hdf5-1.12.2/src/H5VLcallback.c in H5VL_object_copy(): line 5495: object copy failed class: HDF5 major: Virtual Object Layer minor: Unable to copy object error #002: ../../src/hdf5-1.12.2/src/H5VLcallback.c in H5VL__object_copy(): line 5456: object copy failed class: HDF5 major: Virtual Object Layer minor: Unable to copy object error #003: ../../src/hdf5-1.12.2/src/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: ../../src/hdf5-1.12.2/src/H5Ocopy.c in H5O__copy(): line 301: unable to copy object class: HDF5 major: Object header minor: UnabError in private$closeFun(id) : HDF5-API Errors:
error #000: ../../src/hdf5-1.12.2/src/H5F.c in H5Fclose(): line 711: decrementing file ID failed
class: HDF5
major: File accessibility
minor: Unable to close fileerror #001: ../../src/hdf5-1.12.2/src/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: ../../src/hdf5-1.12.2/src/H5Fint.c in H5F__close_cb(): line 251: unable to close file class: HDF5 major: File accessibility minor: Unable to close file error #003: ../../src/hdf5-1.12.2/src/H5VLcallback.c in H5VL_file_close(): line 3983: file close failed class: HDF5 major: Virtual Object Layer minor: Unable to close file error #004: ../../src/hdf5-1.12.2/src/H5VLcallback.c in H5VL__file_close(): line 3952: file close failed class: HDF5 major: Virtual Object Layer min