A BioIO reader plugin for reading Zarr files in the OME format.
Project description
bioio-ome-zarr
A BioIO reader plugin for reading OME ZARR images using ome-zarr
Documentation
See the full documentation on our GitHub pages site - the generic use and installation instructions there will work for this package.
Information about the base reader this package relies on can be found in the bioio-base
repository here
Installation
Stable Release: pip install bioio-ome-zarr
Development Head: pip install git+https://github.com/bioio-devs/bioio-ome-zarr.git
Example Usage (see full documentation for more examples)
Install bioio-ome-zarr alongside bioio:
pip install bioio bioio-ome-zarr
This example shows a simple use case for just accessing the pixel data of the image
by explicitly passing this Reader
into the BioImage
. Passing the Reader
into
the BioImage
instance is optional as bioio
will automatically detect installed
plug-ins and auto-select the most recently installed plug-in that supports the file
passed in.
from bioio import BioImage
import bioio_ome_zarr
img = BioImage("my_file.zarr", reader=bioio_ome_zarr.Reader)
img.data
Reading from AWS S3
To read from private S3 buckets or public buckets using s3://
paths, credentials must be configured. Public buckets can be accessed without credentials by using the https://
path.
from bioio import BioImage
path = "https://allencell.s3.amazonaws.com/aics/nuc_morph_data/data_for_analysis/baseline_colonies/20200323_09_small/raw.ome.zarr"
image = BioImage(path)
print(image.get_image_dask_data())
Issues
Click here to view all open issues in bioio-devs organization at once or check this repository's issue tab.
Development
See CONTRIBUTING.md for information related to developing the code.
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
Built Distribution
Hashes for bioio_ome_zarr-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f51861e86a74c83700702cb1c0ddf5fa9f2c11ad07bc5c07c188d67d2d10b21 |
|
MD5 | 4f67c2ee2bf9901a2752369e60fc4a45 |
|
BLAKE2b-256 | 99f7b87397b1ac9535ff221906e9ea76aa3fe66332a6aad0c44a6b973062a279 |