-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting the data from Seurat to Anndata #184
Comments
Hello, Best, |
Hello, I got the same error, did you find a solution? thx a lot |
Hi, I apologize for not noticing your questions earlier. I was able to run the command successfully by switching from the V5 assay to the V3 assay, using the following script. I hope this helps!
|
I work out!thank you very much! |
Hi, thank you for providing with us a great package.
I have been analyzing snRNA-seq data using Seurat, and now need to convert the data to Anndata format for the downstream analysis.
I tried to replicate the codes described in the article "Converting from Seurat to AnnData via h5Seurat", resulting in getting the error below.
I would appreciate your comments based on the attached code and errors. Thank you.
Takuro
R
library(Seurat)
library(SeuratData)
library(SeuratDisk)
library(reticulate)
anndata <- import("anndata")
sample1 <- readRDS("${dir}/obj1_v2.rds")
SaveH5Seurat(sample1, filename = "sample1.h5Seurat")
"Creating h5Seurat file for version 3.1.5.9900
Adding cell embeddings for pca
Adding loadings for pca
No projected loadings for pca
Adding standard deviations for pca
No JackStraw data for pca
Adding cell embeddings for umap
No loadings for umap
No projected loadings for umap
No standard deviations for umap
No JackStraw data for umap"
Convert("sample1.h5Seurat", dest = "h5ad")
"Validating h5Seurat file
Adding data from RNA as X
Error in assay.group$obj_copy_to(dst_loc = dfile, dst_name = "X", src_name = x.data) :
HDF5-API Errors:
error #000: H5Ocopy.c in H5Ocopy(): line 247: source object not found
class: HDF5
major: Symbol table
minor: Object not found
The text was updated successfully, but these errors were encountered: