Command line tool to convert MCD files to Zarr
Project description
mcd2zarr
Command line tool to convert MCD files to Zarr
Installation
Use the package manager pip to install mcd2zarr:
pip install mcd2zarr
Usage
Call mcd2zarr
on the command line:
> mcd2zarr --help
Usage: mcd2zarr [OPTIONS] MCD_FILE [ZARR_FILE]
Convert MCD files to Zarr
Options:
--zarr-version TEXT Zarr version
--ome-zarr-version TEXT OME-Zarr version
--version Show the version and exit.
--help Show this message and exit.
Zarr format
MCD file contents are extracted into the following Zarr structure:
myfile.zarr
├── .zattrs (mcd_file, mcd_schema, slide_groups)
├── .zgroups
│
├── S01_SlideDescription01
├── S02_SlideDescription02
├── ...
└── Snn_SlideDescriptionNN
├── .zattrs (slide_metadata, acquisition_groups, panorama_groups)
├── .zgroups
│
├── Ann_AcquisitionDescriptionNN
├── A02_AcquisitionDescription02
├── ...
├── Ann_AcquisitionDescriptionNN (in OME-Zarr format)
│ ├── .zattrs (acquisition_metadata, has_before_ablation_image, has_after_ablation_image)
│ ├── .zgroups
│ │
│ ├── before_ablation_image (optional, in OME-Zarr format)
| | ├── .zattrs
| | └── .zgroups
│ │
│ └── after_ablation_image (optional, in OME-Zarr format)
| ├── .zattrs
| └── .zgroups
│
├── P01_PanoramaDescription01
├── P02_PanoramaDescription02
├── ...
└── Pnn_PanoramaDescriptionNN (in OME-Zarr format)
├── .zattrs (panorama_metadata)
└── .zgroups
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcd2zarr-0.1.0.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file mcd2zarr-0.1.0.tar.gz
.
File metadata
- Download URL: mcd2zarr-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f9fe0e772fdeaf3e3bb6e5dabdee427245f2aa2853114f22cb6136292e1e02 |
|
MD5 | 9a15a14503042aad4a5ea3767fcd87f0 |
|
BLAKE2b-256 | aac0afaa460b99c59254a99df42faee7a24a0ead2fb2943d400b76b1c431752e |
File details
Details for the file mcd2zarr-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: mcd2zarr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff83f4f078954e0f3bb53f9256f1d52886c3e7a26b4e32527282c01b01e647e9 |
|
MD5 | 97471726b315777e2664027cb8227667 |
|
BLAKE2b-256 | de09dd2c1ba6350e30836c9b536830438fc677509c13c2359bf8fffebc5adfb8 |