Image prediction with BioImage.IO model

imaging-process-image-bioimageio/main-workflow

Author(s)
Diana Chiang Jurado
version Version
1
last_modification Last updated
Apr 9, 2025
license License
CC-BY-4.0
galaxy-tags Tags
imaging

Features
Tutorial
hands_on Using BioImage.IO models for image analysis in Galaxy

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:
RO-Crate logo with flask Download Workflow RO-Crate
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nBioImage.IO Model"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nImage for Prediction"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["Process image with BioImage.IO model"];
  1 -->|output| 2;
  0 -->|output| 2;
  1c7526a8-37ad-46f3-b29f-2e0bea765e60["Output\noutput_predicted_image"];
  2 --> 1c7526a8-37ad-46f3-b29f-2e0bea765e60;
  style 1c7526a8-37ad-46f3-b29f-2e0bea765e60 stroke:#2c3143,stroke-width:4px;
  98d27783-f74d-40d4-95b0-bea7af9fcedf["Output\noutput_predicted_image_matrix"];
  2 --> 98d27783-f74d-40d4-95b0-bea7af9fcedf;
  style 98d27783-f74d-40d4-95b0-bea7af9fcedf stroke:#2c3143,stroke-width:4px;

Inputs

Input Label
Input dataset BioImage.IO Model
Input dataset Image for Prediction

Outputs

From Output Label
toolshed.g2.bx.psu.edu/repos/bgruening/bioimage_inference/bioimage_inference/2.4.1+galaxy2 Process image using a BioImage.IO model Process image with BioImage.IO model

Tools

Tool Links
toolshed.g2.bx.psu.edu/repos/bgruening/bioimage_inference/bioimage_inference/2.4.1+galaxy2

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands On: Importing a workflow
  1. Click on galaxy-workflows-activity Workflows in the Galaxy activity bar (on the left side of the screen, or in the top menu bar of older Galaxy instances). You will see a list of all your workflows
  2. Click on galaxy-upload Import at the top-right of the screen
  3. Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  4. Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
3 e12c27217 2025-04-09 06:49:13 Update main_workflow.ga
2 441b6a18e 2025-04-04 09:59:26 Update topics/imaging/tutorials/process-image-bioimageio/workflows/main_workflow.ga
1 8eb670c66 2025-04-01 13:07:58 Add tutorial and images for BioImage.IO model processing

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/imaging/tutorials/process-image-bioimageio/workflows/main_workflow.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows