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

CLI for modular creation/edit/concatenation of SpatialData objects #745

Open
LucaMarconato opened this issue Nov 1, 2024 · 0 comments
Open

Comments

@LucaMarconato
Copy link
Member

LucaMarconato commented Nov 1, 2024

Related to scverse/spatialdata-io#231 and scverse/spatialdata-io#72.

We could enable a way to merge/edit spatialdata stored objects in a modular way without having to use Python code.

a possible example

The first part here assumes the two issues linked above are solved (note, this is a draft syntax, the final one may be different)

python -m spatialdata_io convert xenium path/to/raw/data path/to/output/zarr/store
python -m spatialdata_io convert tiff path/to/tiff/file path/to/output/zarr/store2 --name "my_image"

New proposed CLI (this is one of possible design to discuss):

python -m spatialdata write_element --from path/to/output/zarr/store2/images/my_image --to path/to/output/zarr/store

Equivalent syntax for concatenating SpatialData objects and for removing/renaming elements from an object.

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

No branches or pull requests

1 participant