Converting h5 to h5ad files?

Hi all,

It seems like ScanPy and EpiScanPy like being fed h5ad files. Is there an easy way to convert from h5 to h5ad? Thanks in advance!

I’m not sure there is a conversion tool but you could create an anndata from scratch with your data and save it as h5ad

https://anndata-tutorials.readthedocs.io/en/latest/getting-started.html

scanpy.read_hdf(filename , key )

will read a .h5 file and return an adata object

https://scanpy.readthedocs.io/en/stable/generated/scanpy.read_hdf.html