Skip to main content

A BioIO reader for reading bioformats formatted images.

Project description

bioio-bioformats

Build Status PyPI version License: GPL v3 Python 3.9+

A BioIO reader plugin for reading many file formats like as seen here using bioformats


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-bioformats
Development Head: pip install git+https://github.com/bioio-devs/bioio-bioformats.git

Special Installation Instructions

This package utilizes bioformats which depends on java

To install java and maven with conda, run:

conda install -c conda-forge scyjava

You may need to deactivate/reactivate your environment after installing. If you are still getting a JVMNotFoundException, try setting JAVA_HOME as follows:

Mac / Linux

export JAVA_HOME=$CONDA_PREFIX

Windows

set JAVA_HOME=%CONDA_PREFIX%\\Library

Example Usage (see full documentation for more examples)

Install bioio-bioformats alongside bioio:

pip install bioio bioio-bioformats

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_bioformats

img = BioImage("my_file.tiff", reader=bioio_bioformats.Reader)
img.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bioio-bioformats-1.0.0.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

bioio_bioformats-1.0.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file bioio-bioformats-1.0.0.tar.gz.

File metadata

  • Download URL: bioio-bioformats-1.0.0.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for bioio-bioformats-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5bf92c21cda2f1f7b13c56cd1cb545382611b1c54edf50061d5d0b705d3c50ac
MD5 9e51529b1209b783c165358a75c48dfa
BLAKE2b-256 6019c8d42faf8ce5130285fe252a004f19823aba18d83c4d7abbb21507645540

See more details on using hashes here.

File details

Details for the file bioio_bioformats-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bioio_bioformats-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aced2b7a22a8f7a30f3834fff23df3a6df46be4a3f53b658201e606e20566a22
MD5 37b2a8fa203bd6cac4b35cb52a806b3a
BLAKE2b-256 93ce02518536cfb666c756705fa19da5c18d033b6e8c4097e559b2fa8a9d7389

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page