biahub

HUB for Bio Image Analysis

https://github.com/czbiohub-sf/biahub

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

HUB for Bio Image Analysis

Basic Info
  • Host: GitHub
  • Owner: czbiohub-sf
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 1.42 MB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 2
  • Open Issues: 64
  • Releases: 2
Created almost 2 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License Citation

README.md

biahub

Bio-image analysis hub supporting high-throughput data reconstruction on HPC clusters with Slurm workload management.

acquisition and reconstruction schematic

biahub was originally developed to reconstruct data acquired on the mantis microscope using the shrimPy acquisition engine, and has since been extended to process diverse multimodal datasets. biahub reconstruction workflows rely on OME-ZARR datasets (for example, as created with iohub) which enable efficient parallelization across compute nodes. Available reconstruction routines are listed below; more information can be obtained with biahub --help.

Install

``` conda create -n biahub python==3.11 conda activate biahub

git clone https://github.com/czbiohub-sf/biahub.git pip install -e ./biahub ```

Data reconstruction

Data reconstruction uses a command line interface. All reconstruction calls take an input -i and an output -o, and most reconstruction calls use configuration files passed via a -c option. Reconstruction workflows launch multiple Slurm jobs and can also be run locally using the -l flag.

A typical set of CLI calls to go from raw data to registered volumes looks like:

```sh

CONVERT TO ZARR

iohub convert \ -i ./acqname/acqnamelabelfree1 \ -o ./acqnamelabelfree.zarr \ iohub convert \ -i ./acqname/acqnamelightsheet1 \ -o ./acqnamelightsheet.zarr

DECONVOLVE FLUORESCENCE

(optional) characterize the PSF

biahub characterize-psf -i ./beads.zarr \ -c ./characterize_params.yml \ -o ./report/

estimate PSF parameters

biahub estimate-psf \ -i ./beads.zarr \ -c ./psf_params.yml \ -o ./psf.zarr

deconvolve data

biahub deconvolve \ -i ./acqnamelightsheet.zarr \ -c ./deconvolveparams.yml \ --psf-dirpath ./psf.zarr -o ./acqnamelightsheetdeconvolved.zarr

DESKEW FLUORESCENCE

estimate deskew parameters

biahub estimate-deskew \ -i ./acqnamelightsheet.zarr/0/0/0 \ -o ./deskew.yml

apply deskew parameters

biahub deskew \ -i ./acqnamelightsheet.zarr///* \ -c ./deskewparams.yml \ -o ./acqnamelightsheetdeskewed.zarr

RECONSTRUCT PHASE/BIREFRINGENCE

biahub reconstruct \ -i ./acqnamelabelfree.zarr///* \ -c ./recon.yml \ -o ./acqnamelabelfree_reconstructed.zarr

STABILIZE

estimate stabilization parameters

biahub estimate-stabilization \ -i ./acqnamelabelfree.zarr///* \ -o ./stabilization.yml \ --stabilize-xy \ --stabilize-z

stabilize data

biahub stabilize \ -i ./acqnamelabelfree.zarr///* \ -c ./stabilization.yml \ -o ./acqnamelabelfree_stabilized.zarr///*

REGISTER

estimate registration parameters

biahub estimate-registration \ -s ./acqnamelabelfreereconstructed.zarr/0/0/0 \ -t ./acqnamelightsheetdeskewed.zarr/0/0/0 \ -o ./register.yml

optimize registration parameters

biahub optimize-registration \ -s ./acqnamelabelfreereconstructed.zarr/0/0/0 \ -t ./acqnamelightsheetdeskewed.zarr/0/0/0 \ -c ./register.yml \ -o ./register_optimized.yml

register data

biahub register \ -s ./acqnamelabelfreereconstructed.zarr///* \ -t ./acqnamelightsheetdeskewed.zarr///* \ -c ./registeroptimized.yml \ -o ./acqname_registered.zarr

CONCATENATE CHANNELS

biahub concatenate \ -c ./concatenate.yml \ -o ./acqnameconcatenated.zarr

STITCH

estimate stitching parameters

biahub estimate-stitching \ -i ./acq_name.zarr///* \ -o ./stitching.yml \ --channel DAPI --percent-overlap 0.05

stitch fields of view

biahub stitch \ -i ./acqname.zarr///* \ -c ./stitching.yml \ -o ./acqname_stitched.zarr///* ```

Contributing

We would appreciate the bug reports and code contributions if you use this package. If you would like to contribute to this package, please read the contributing guide.

Owner

  • Name: Chan Zuckerberg Biohub San Francisco
  • Login: czbiohub-sf
  • Kind: organization
  • Location: San Francisco

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: biahub
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Ivan E.
    family-names: Ivanov
    email: ivan.ivanov@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0001-6389-0213"
  - given-names: Eduardo
    family-names: Hirata-Miyasaki
    email: eduardo.hirata@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0002-1016-2447"
  - given-names: Talon
    family-names: Chandler
    email: talon.chandler@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0002-3033-674X"
  - given-names: Ziwen
    family-names: Liu
    email: ziwen.liu@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0001-7482-1299"
  - given-names: Taylla M.
    family-names: Theodoro
    email: taylla.theodoro@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0003-2651-9890"
  - given-names: Alexander
    family-names: Hillsley
    email: alexander.hillsley@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0001-7920-2104"
  - given-names: Allyson Q.
    family-names: Ryan
    email: allyson.ryan@czbiohub.org
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0002-3673-2874"
  - given-names: Shalin B.
    family-names: Mehta
    affiliation: Chan Zuckerberg Biohub San Francisco
    orcid: "https://orcid.org/0000-0002-2542-3582"
repository-code: "https://github.com/czbiohub-sf/biahub"
abstract: Bio-image analysis hub supporting high-throughput data reconstruction on HPC clusters with Slurm workload management.
keywords:
  - bio-image-analysis
  - image-processing
  - image-reconstruction
  - image-analysis-hub
license: BSD-3-Clause
date-released: "2025-03-13"

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 40
  • Total pull requests: 39
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 8
  • Total pull request authors: 7
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.82
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 30
  • Pull requests: 39
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 1 month
  • Issue authors: 8
  • Pull request authors: 7
  • Average comments per issue: 0.73
  • Average comments per pull request: 0.82
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ieivanov (12)
  • ziw-liu (8)
  • tayllatheodoro (7)
  • talonchandler (5)
  • edyoshikun (5)
  • srivarra (1)
  • allysonryan (1)
  • ahillsley (1)
Pull Request Authors
  • tayllatheodoro (13)
  • ieivanov (9)
  • talonchandler (6)
  • edyoshikun (5)
  • srivarra (3)
  • ziw-liu (2)
  • mattersoflight (1)
Top Labels
Issue Labels
bug (5) question (1) documentation (1) enhancement (1)
Pull Request Labels
enhancement (3) bug (3)

Dependencies

.github/workflows/pull-request-ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
pyproject.toml pypi
  • PyQt6 *
  • antspyx *
  • dask [array]
  • imageio-ffmpeg *
  • iohub @ git+https://github.com/czbiohub-sf/iohub
  • largestinteriorrectangle *
  • markdown *
  • matplotlib *
  • monai *
  • napari *
  • napari-animation *
  • napari-psf-analysis *
  • natsort *
  • numpy <2
  • pandas ~=2.1
  • pydantic <3
  • pystackreg *
  • scipy *
  • submitit *
  • torch >=2.3
  • tqdm *
  • waveorder *