tiledb-bioimg


Nametiledb-bioimg JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/TileDB-Inc/TileDB-Bioimaging
SummaryPackage supports all bio-imaging functionality provided by TileDB
upload_time2024-10-24 09:14:06
maintainerNone
docs_urlNone
authorTileDB, Inc.
requires_python>=3.8
licenseMIT
keywords tiledb bioimaging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a href="https://tiledb.com"><img src="https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png" alt="TileDB logo" width="400"></a>

[![TileDB-BioImaging CI](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml/badge.svg)](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml)
![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/ktsitsi/32d48185733a4e7375e80e3e35fab452/raw/gist_bioimg.json)

# TileDB-BioImaging

Python package for:
- converting images stored in popular Biomedical Imaging formats to groups of TileDB arrays (& vice versa)
- exposing an expressive and efficient API (powered by TileDB) for querying such data.

## Features

### Ingestion to TileDB Groups of Arrays
    - OME-Zarr
    - OME-Tiff
    - Open-Slide

### Export from TileDB-Bioimaging Arrays to:
    - OME-Zarr
    - OME-Tiff

### Visualization Options

- [TileDB Cloud](https://cloud.tiledb.com) includes a built-in, pyramidal multi-resolution viewer: log in to TileDB Cloud to see an example image preview [here](https://cloud.tiledb.com/biomedical-imaging/TileDB-Inc/dbb7dfcc-28b3-40e5-916f-6509a666d950/preview)
- Napari: https://github.com/TileDB-Inc/napari-tiledb-bioimg

## Installation Prerequisites

OpenSlide Python requires that OpenSlide be installed separately prior to its installation.

Prior to proceeding with the below installation instructions, please [install OpenSlide as recommended by the OpenSlide Python library](https://openslide.org/api/python/#:~:text=OpenSlide%20Python%20requires%20OpenSlide%2C%20which%20must%20be%20installed%20separately).

## Quick Installation

- From PyPI:

      pip install 'tiledb-bioimg[full]'

- From source:

      git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git
      cd TileDB-BioImaging

      pip install -e '.[full]'

## Windows Installation

After installing `Openslide` you should make sure that you create a link between your installation path and
the following default path `C:\openslide-win64\ `.

```cmd
mklink /D C:\openslide-win64\ [your-installation-path]\openslide-win64-20221217\
```

You can install the latest versions of `Openslide` for windows using the pre-built packages
found in the project's github page:
`https://github.com/openslide/openslide-bin/releases`

or in their website:
`https://openslide.org/download/`


## Examples
How to convert imaging data from standard biomedical formats to group of TileDB arrays.

### OME-Zarr to TileDB Group of Arrays
```python
from tiledb.bioimg.converters.ome_zarr import OMEZarrConverter
OMEZarrConverter.to_tiledb("path_to_ome_zarr_image", "tiledb_array_group_path")
```

### OME-Tiff to TileDB Group of Arrays
```python
from tiledb.bioimg.converters.ome_tiff import OMETiffConverter
OMETiffConverter.to_tiledb("path_to_ome_tiff_image", "tiledb_array_group_path")
```

### Open Slide to TileDB Group of Arrays
```python
from tiledb.bioimg.converters.openslide import OpenSlideConverter
OpenSlideConverter.to_tiledb("path_to_open_slide_image", "tiledb_array_group_path")
```

## Documentation
`API Documentation` is auto-generated. Following the instructions below:

```shell
quartodoc build && quarto preview
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TileDB-Inc/TileDB-Bioimaging",
    "name": "tiledb-bioimg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "tiledb, bioimaging",
    "author": "TileDB, Inc.",
    "author_email": "help@tiledb.io",
    "download_url": "https://files.pythonhosted.org/packages/a8/20/7d65a32aecca1855934fbc693fbc7c6abc1f4d96e2732b8e95ebb27659c4/tiledb_bioimg-0.3.2.tar.gz",
    "platform": "any",
    "description": "<a href=\"https://tiledb.com\"><img src=\"https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png\" alt=\"TileDB logo\" width=\"400\"></a>\n\n[![TileDB-BioImaging CI](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml/badge.svg)](https://github.com/TileDB-Inc/TileDB-BioImaging/actions/workflows/ci.yml)\n![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/ktsitsi/32d48185733a4e7375e80e3e35fab452/raw/gist_bioimg.json)\n\n# TileDB-BioImaging\n\nPython package for:\n- converting images stored in popular Biomedical Imaging formats to groups of TileDB arrays (& vice versa)\n- exposing an expressive and efficient API (powered by TileDB) for querying such data.\n\n## Features\n\n### Ingestion to TileDB Groups of Arrays\n    - OME-Zarr\n    - OME-Tiff\n    - Open-Slide\n\n### Export from TileDB-Bioimaging Arrays to:\n    - OME-Zarr\n    - OME-Tiff\n\n### Visualization Options\n\n- [TileDB Cloud](https://cloud.tiledb.com) includes a built-in, pyramidal multi-resolution viewer: log in to TileDB Cloud to see an example image preview [here](https://cloud.tiledb.com/biomedical-imaging/TileDB-Inc/dbb7dfcc-28b3-40e5-916f-6509a666d950/preview)\n- Napari: https://github.com/TileDB-Inc/napari-tiledb-bioimg\n\n## Installation Prerequisites\n\nOpenSlide Python requires that OpenSlide be installed separately prior to its installation.\n\nPrior to proceeding with the below installation instructions, please [install OpenSlide as recommended by the OpenSlide Python library](https://openslide.org/api/python/#:~:text=OpenSlide%20Python%20requires%20OpenSlide%2C%20which%20must%20be%20installed%20separately).\n\n## Quick Installation\n\n- From PyPI:\n\n      pip install 'tiledb-bioimg[full]'\n\n- From source:\n\n      git clone https://github.com/TileDB-Inc/TileDB-BioImaging.git\n      cd TileDB-BioImaging\n\n      pip install -e '.[full]'\n\n## Windows Installation\n\nAfter installing `Openslide` you should make sure that you create a link between your installation path and\nthe following default path `C:\\openslide-win64\\ `.\n\n```cmd\nmklink /D C:\\openslide-win64\\ [your-installation-path]\\openslide-win64-20221217\\\n```\n\nYou can install the latest versions of `Openslide` for windows using the pre-built packages\nfound in the project's github page:\n`https://github.com/openslide/openslide-bin/releases`\n\nor in their website:\n`https://openslide.org/download/`\n\n\n## Examples\nHow to convert imaging data from standard biomedical formats to group of TileDB arrays.\n\n### OME-Zarr to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.ome_zarr import OMEZarrConverter\nOMEZarrConverter.to_tiledb(\"path_to_ome_zarr_image\", \"tiledb_array_group_path\")\n```\n\n### OME-Tiff to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.ome_tiff import OMETiffConverter\nOMETiffConverter.to_tiledb(\"path_to_ome_tiff_image\", \"tiledb_array_group_path\")\n```\n\n### Open Slide to TileDB Group of Arrays\n```python\nfrom tiledb.bioimg.converters.openslide import OpenSlideConverter\nOpenSlideConverter.to_tiledb(\"path_to_open_slide_image\", \"tiledb_array_group_path\")\n```\n\n## Documentation\n`API Documentation` is auto-generated. Following the instructions below:\n\n```shell\nquartodoc build && quarto preview\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Package supports all bio-imaging functionality provided by TileDB",
    "version": "0.3.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/TileDB-Inc/TileDB-Bioimaging/issues",
        "Documentation": "https://docs.tiledb.com",
        "Homepage": "https://github.com/TileDB-Inc/TileDB-Bioimaging"
    },
    "split_keywords": [
        "tiledb",
        " bioimaging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6847adf5d4cd7217d25ae2266867f6e1f21d4714b7baddb70996e0efff68e9a8",
                "md5": "eeaacbb3664df0f75c5ff789ffeae196",
                "sha256": "1c7189fa547bf8df07d5d583bf0785f06b8cd73117d370321a9c7c8b73327fa9"
            },
            "downloads": -1,
            "filename": "tiledb_bioimg-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eeaacbb3664df0f75c5ff789ffeae196",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 43787,
            "upload_time": "2024-10-24T09:14:03",
            "upload_time_iso_8601": "2024-10-24T09:14:03.099120Z",
            "url": "https://files.pythonhosted.org/packages/68/47/adf5d4cd7217d25ae2266867f6e1f21d4714b7baddb70996e0efff68e9a8/tiledb_bioimg-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8207d65a32aecca1855934fbc693fbc7c6abc1f4d96e2732b8e95ebb27659c4",
                "md5": "876ac8953bca688491ba4d5854b999e5",
                "sha256": "74cbf12c6ae02ba2b552e688d69a9c2d7f55e638cf3693f27f2c9153b0efd5cf"
            },
            "downloads": -1,
            "filename": "tiledb_bioimg-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "876ac8953bca688491ba4d5854b999e5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 38390224,
            "upload_time": "2024-10-24T09:14:06",
            "upload_time_iso_8601": "2024-10-24T09:14:06.719931Z",
            "url": "https://files.pythonhosted.org/packages/a8/20/7d65a32aecca1855934fbc693fbc7c6abc1f4d96e2732b8e95ebb27659c4/tiledb_bioimg-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-24 09:14:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TileDB-Inc",
    "github_project": "TileDB-Bioimaging",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tiledb-bioimg"
}
        
Elapsed time: 0.43199s