mojaveazure / seurat-disk

Interfaces for HDF5-based Single Cell File Formats
https://mojaveazure.github.io/seurat-disk
GNU General Public License v3.0
156 stars 50 forks source link

Convert a scATAC data into h5Seurat #120

Open emanuelavilla opened 2 years ago

emanuelavilla commented 2 years ago

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?