seurat-disk icon indicating copy to clipboard operation
seurat-disk copied to clipboard

Convert a scATAC data into h5Seurat

Open emanuelavilla opened this issue 2 years ago • 0 comments

Hello everyone!

I have scATAC data, that I analysed using the Signac package.

Now, I have to convert my data into an h5ad one. I found some people, who proposed this:

library(SeuratDisk) SaveH5Seurat(atac, filename = "atac.h5Seurat") Convert("atac.h5Seurat", dest = "h5ad")

However, when I tried to save my object into h5Seurat, it returned an error.

Error in attr$write(robj) : HDF5-API Errors: error #000: ../../../src/H5A.c in H5Awrite(): line 619: null attribute buffer class: HDF5 major: Invalid arguments to routine minor: Bad value

I already knew that a similar problem came out also for sc RNA data and it was solved by updating the object. I tried also that solution, but it didn't work.

Does anyone have the same problem?

emanuelavilla avatar Jul 08 '22 13:07 emanuelavilla