Hi wonder if anyone could help me to understand if this is possible;
ad = anndata.read_zarr('s3://foo/bar/baz.zarr')
qux = ad.varm['qux']
Such that only qux is ever pulled from s3 - and the rest of the data is never moved?
For any arbitrary part of the data structure this is not just varm…
Alternatively, you could try shadows GitHub - scverse/shadows: Shadow objects for AnnData and MuData (experimental) (I do not have experience with this approach)
@josh-gree, I would recommend using the anndata.io.read_elem
function here. This would look like:
z = zarr.open("s3://foo/bar/baz.zarr")
qux = anndata.io.read_elem(z["varm"]["qux"])