Skip to content
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

what is the .h5ad file? #180

Closed
fenghuijian opened this issue Jul 11, 2019 · 3 comments
Closed

what is the .h5ad file? #180

fenghuijian opened this issue Jul 11, 2019 · 3 comments
Labels

Comments

@fenghuijian
Copy link

Hi,
I have some question about the .h5ad file .
What is a h5ad file?
What is its data storage structure?
Why is it read much faster than CSV.

@Koncopd
Copy link
Member

Koncopd commented Jul 11, 2019

Hi, this is a hdf5 file with some additional structure specifying how to store AnnData objects.
We use h5py package, so you can read more about the hdf5 file format there.

@josinejansen
Copy link

josinejansen commented Jan 27, 2021

Hi Koncopd,
Do you happen to know how to re-write an .h5ad file to a 'regular' .h5 file? Or to directly sc.write_10x_h5 ?
I'd like to execute some downstream analyses with a subset of cells I created with Anndata/Scanpy, using a software package which can not read the .h5ad format, but CAN however read the .h5 format.

The issue was discussed before, but was wondering if in the mean time other people ran into this problem & whether there are some updates [https://github.com/scverse/scanpy/issues/262]

Thanks in advance,
Josine

@Koncopd
Copy link
Member

Koncopd commented Jan 27, 2021

Hi, @josinejansen . You can open a h5ad file as if it is a standard hdf5 file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants