-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support for AnnData/H5AD files #1
Comments
Hello, thank you so much for putting this up. I am trying to install, I get the following error. Any ideas as to whats wrong? Thanks so much ✓ checking for file ‘/private/var/folders/rf/yddlf5ss53968h_zpbkfvkkx1vsnpd/T/RtmpxoZWGw/remotescc9d622d28c/mojaveazure-seurat-disk-007a931/DESCRIPTION’ ...
|
I tried to convert from a HD5ad file to h5seurat using convert function in seurat-disk package, but it failed with this error message "Error: Cannot find feature names in this H5AD file" |
Hi, First thanks for developing this nice tool. It has been very helpful. I have a question here. I am not sure if this is expected. Source: https://cellxgene.cziscience.com/ The h5ad file is around 735MB. I was successful in converting to 'h5seurat' format (with file size around 1.04GB). When I try to load with "LoadH5Seurat", I am kind of surprised that it takes around 30GB memory on my linux computer (Centos 7). Is this expected?
Thanks. |
Hi, Thank you for developing the tool! I was able to convert my h5ad file to h5seurat. However, when I am reading the h5seurat file, the following error was resulted: test <- LoadH5Seurat(file = 'myfilename.h5seurat') I tried on multiple files and they all result in the same error. Would you please let me know what went wrong? Thank you so much! |
Not sure whether the first warning comes from. The h5Seurat object step works fine and then fails in the second step. |
Hello, I was able to successfully convert my integrated assay (with SCT used for normalization) into h5ad but I am unable to read it into scanpy. Scanpy:
Error:
Output:
|
Have you sloved this issue? i meet the same error |
I have also the same error with any Seurat object I try to convert.
|
I was able to convert an .h5ad file from this dataset into .h5seurat, but I can't seem to load the file. Upon running I get the following error: Do you have any advice on resolving this? |
pbmc3k <- LoadH5Seurat("pbmc3k_final.h5seurat",array = "RNA") will work |
This also worked for me, but use |
Hi , I want to used convert function to convert h5ad to seurat. Error in self$write_low_level(value, file_space = self_space_id, mem_space = mem_space_id, : Is there anyone knows how to solve? |
Hi. I am also facing issues while reading the (successfully converted) H5Seurat file. Here is the traceback
|
Hi, did someone solve this issue?? |
Hello, Were you able to figure out issue here? |
Hey I have the same problem!! |
Hi, I wonder know how to process the spatial information of 10x Visium data, follows are my code : In R :
In Python : transformed adata loses so much information, espacially for spatial position and image. |
I'm having the exact same error. |
Hello,
And when I load the h5ad into scanpy I get:
Thank you in advance for your help!! |
Have you sloved this issue? i meet the same error |
Yes, the answer was that the convert function was trying to pull the scaled data and there was no argument we could find in the convert function that would change where it was pulling from, so it was always pulling the scaled 2000 variable genes only:
The solution that worked was to rescale the object in R, which rescales all genes:
Once I did that then saved as H5 and converted, it exported the full gene list |
how do I change your code 'data <- ScaleData(data, features = rownames(data))', if my seuratobject name is s. |
Sorry,I didn't slove this issue
…---Original---
From: ***@***.***>
Date: Wed, Jun 21, 2023 11:16 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [mojaveazure/seurat-disk] Support for AnnData/H5AD files (#1)
Have you sloved this issue? i meet the same error
Yes, the answer was that the convert function was trying to pull the scaled data and there was no argument we could find in the convert function that would change where it was pulling from, so it was always pulling the scaled 2000 variable genes only:
Adding scale.data from RNA as X
Transfering meta.features to var
Adding data from RNA as raw
The solution that worked was to rescale the object in R, which rescales all genes:
data <- ScaleData(data, features = rownames(data))
Once I did that then saved as H5 and converted, it exported the full gene list
how do I change your code 'data <- ScaleData(data, features = rownames(data))', if my seuratobject name is s.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
just replace "data" with your seurat object name as labeled when you load it into the R workspace |
hello ,when i covert my h5ad file to h5seurat, there is an error : Can you help me? |
Hi, when I tried to use LoadSeurat function for a .h5ad object , I got the error messages like : |
Same here. |
Tracker for bugs in the h5Seurat/H5AD converter. Please note:
Seurat
object/H5AD saving and loadingH5T_COMPOUND
datasets found in the obs, var, obsm, and varm slots older AnnData objects. Modern AnnData objects use HDF5 groups, which are supported in SeuratDiskThe text was updated successfully, but these errors were encountered: