mcd2zarr


Namemcd2zarr JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/BodenmillerGroup/mcd2zarr
SummaryCommand line tool to convert MCD files to Zarr
upload_time2023-01-14 14:52:00
maintainer
docs_urlNone
authorJonas Windhager
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mcd2zarr

Command line tool to convert MCD files to Zarr

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) 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

[MIT](https://github.com/BodenmillerGroup/mcd2zarr/blob/main/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/BodenmillerGroup/mcd2zarr",
    "name": "mcd2zarr",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jonas Windhager",
    "author_email": "jonas.windhager@uzh.ch",
    "download_url": "https://files.pythonhosted.org/packages/aa/c0/afaa460b99c59254a99df42faee7a24a0ead2fb2943d400b76b1c431752e/mcd2zarr-0.1.0.tar.gz",
    "platform": null,
    "description": "# mcd2zarr\n\nCommand line tool to convert MCD files to Zarr\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install mcd2zarr:\n\n```\npip install mcd2zarr\n```\n\n## Usage\n\nCall `mcd2zarr` on the command line:\n\n```\n> mcd2zarr --help\nUsage: mcd2zarr [OPTIONS] MCD_FILE [ZARR_FILE]\n\n  Convert MCD files to Zarr\n\nOptions:\n  --zarr-version TEXT      Zarr version\n  --ome-zarr-version TEXT  OME-Zarr version\n  --version                Show the version and exit.\n  --help                   Show this message and exit.\n```\n\n## Zarr format\n\nMCD file contents are extracted into the following Zarr structure:\n\n```\nmyfile.zarr\n\u251c\u2500\u2500 .zattrs  (mcd_file, mcd_schema, slide_groups)\n\u251c\u2500\u2500 .zgroups\n\u2502\n\u251c\u2500\u2500 S01_SlideDescription01\n\u251c\u2500\u2500 S02_SlideDescription02\n\u251c\u2500\u2500 ...\n\u2514\u2500\u2500 Snn_SlideDescriptionNN\n    \u251c\u2500\u2500 .zattrs  (slide_metadata, acquisition_groups, panorama_groups)\n    \u251c\u2500\u2500 .zgroups\n    \u2502\n    \u251c\u2500\u2500 Ann_AcquisitionDescriptionNN\n    \u251c\u2500\u2500 A02_AcquisitionDescription02\n    \u251c\u2500\u2500 ...\n    \u251c\u2500\u2500 Ann_AcquisitionDescriptionNN  (in OME-Zarr format)\n    \u2502   \u251c\u2500\u2500 .zattrs  (acquisition_metadata, has_before_ablation_image, has_after_ablation_image)\n    \u2502   \u251c\u2500\u2500 .zgroups\n    \u2502   \u2502\n    \u2502   \u251c\u2500\u2500 before_ablation_image  (optional, in OME-Zarr format)\n    |   |   \u251c\u2500\u2500 .zattrs\n    |   |   \u2514\u2500\u2500 .zgroups\n    \u2502   \u2502\n    \u2502   \u2514\u2500\u2500 after_ablation_image (optional, in OME-Zarr format)\n    |       \u251c\u2500\u2500 .zattrs\n    |       \u2514\u2500\u2500 .zgroups\n    \u2502\n    \u251c\u2500\u2500 P01_PanoramaDescription01\n    \u251c\u2500\u2500 P02_PanoramaDescription02\n    \u251c\u2500\u2500 ...\n    \u2514\u2500\u2500 Pnn_PanoramaDescriptionNN  (in OME-Zarr format)\n        \u251c\u2500\u2500 .zattrs  (panorama_metadata)\n        \u2514\u2500\u2500 .zgroups\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://github.com/BodenmillerGroup/mcd2zarr/blob/main/LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Command line tool to convert MCD files to Zarr",
    "version": "0.1.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de09dd2c1ba6350e30836c9b536830438fc677509c13c2359bf8fffebc5adfb8",
                "md5": "97471726b315777e2664027cb8227667",
                "sha256": "ff83f4f078954e0f3bb53f9256f1d52886c3e7a26b4e32527282c01b01e647e9"
            },
            "downloads": -1,
            "filename": "mcd2zarr-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "97471726b315777e2664027cb8227667",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5485,
            "upload_time": "2023-01-14T14:51:59",
            "upload_time_iso_8601": "2023-01-14T14:51:59.455603Z",
            "url": "https://files.pythonhosted.org/packages/de/09/dd2c1ba6350e30836c9b536830438fc677509c13c2359bf8fffebc5adfb8/mcd2zarr-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aac0afaa460b99c59254a99df42faee7a24a0ead2fb2943d400b76b1c431752e",
                "md5": "9a15a14503042aad4a5ea3767fcd87f0",
                "sha256": "a2f9fe0e772fdeaf3e3bb6e5dabdee427245f2aa2853114f22cb6136292e1e02"
            },
            "downloads": -1,
            "filename": "mcd2zarr-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9a15a14503042aad4a5ea3767fcd87f0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7040,
            "upload_time": "2023-01-14T14:52:00",
            "upload_time_iso_8601": "2023-01-14T14:52:00.702538Z",
            "url": "https://files.pythonhosted.org/packages/aa/c0/afaa460b99c59254a99df42faee7a24a0ead2fb2943d400b76b1c431752e/mcd2zarr-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-14 14:52:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "BodenmillerGroup",
    "github_project": "mcd2zarr",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "mcd2zarr"
}
        
Elapsed time: 0.22226s