Skip to main content

Simple reading and writing classes for tiled tiffs using Bioformats.

Project description

BioFormats Input/Output utility (bfio)

This tool is a simplified but powerful interface to the Bioformats java library. It makes use of Cell Profilers python-bioformats package to access the Bioformats library. One of the issues with using the python-bioformats package is reading and writing large image planes (>2GB). The challenge lies in the way Bioformats reads and writes large image planes, using an int value to index the file. To do get around this, files can be read or written in chunks and the classes provided in bfio handle this automatically. The BioWriter class in this package only writes files in the .ome.tif format, and automatically sets the tile sizes to 1024.

This tool is currently not on any public pip repositories, but can be installed by cloning this repository and installing with pip.

Universal Container Components

All containers contain the follow components:

  1. Python 3.6
  2. openjdk-8
  3. numpy (version 1.18.1)
  4. javabridge (version 1.0.18)
  5. python-bioformats (version 1.5.2)
  6. bfio (version 1.0.8)
  7. loci-tools.jar (Version 6.5.0)

Containers

labshare/polus-bfio-util:1.0.8 & labshare/polus-bfio-util:1.0.8-alpine

This container is built on Alpine Linux. This is the smallest bfio container, but also the most difficult to install additional requirements on.

labshare/polus-bfio-util:1.0.8-slim-buster

This container is built on a stripped down version of Debian Buster. This container is larger than the alpine version, but easier to install new Python packages on.

labshare/polus-bfio-util:1.0.8-tensorflow

This container is built on Debian Buster and includes Tensorflow 2.1.0 and all necessary GPU drivers to run Tensorflow on an NVIDIA graphics card.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bfio-2.0.0a2-py2.py3-none-any.whl (35.7 MB view details)

Uploaded Python 2Python 3

File details

Details for the file bfio-2.0.0a2-py2.py3-none-any.whl.

File metadata

  • Download URL: bfio-2.0.0a2-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4

File hashes

Hashes for bfio-2.0.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7d833f8154cba7954bae73ffdb2c6125bdaab18e44866b72646c6f2a2c7c256e
MD5 492baec98caba83c2b12f06783e06ce4
BLAKE2b-256 dbad95167eec140dc50eba574cb0b42ebda347b1e4f388e700e6d36b3d223518

See more details on using hashes here.

Supported by

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