-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #876 from fractal-analytics-platform/874_updated_t…
…asks_info Add tasks docs_info
- Loading branch information
Showing
18 changed files
with
230 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
fractal_tasks_core/dev/task_info/apply_registration_to_image.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Purpose | ||
- **Applies pre-calculated registration** transformations to images in an **HCS** OME-Zarr dataset, aligning all acquisitions to a specified reference acquisition. | ||
- **Masks regions not included** in the registered ROI table and aligns both intensity and label images. | ||
- Replaces the non-aligned image with the newly aligned image in the dataset if `overwrite input` is selected. | ||
- Typically used as the third task in a workflow, following `Calculate Registration (image-based)` and `Find Registration Consensus`. | ||
|
||
### Limitations | ||
- If `overwrite input` is selected, the non-aligned image is permanently deleted, which may impact workflows requiring access to the original images. |
9 changes: 9 additions & 0 deletions
9
fractal_tasks_core/dev/task_info/calculate_registration_image_based.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Purpose | ||
- **Computes image-based registration** transformations for acquisitions in **HCS** OME-Zarr datasets. | ||
- Processes images grouped by well, under the assumption that each well contains one image per acquisition. | ||
- Calculates transformations for **specified regions of interest (ROIs)** and stores the results in the corresponding ROI table. | ||
- Typically used as the first task in a workflow, followed by `Find Registration Consensus` and optionally `Apply Registration to Image`. | ||
|
||
### Limitations | ||
- Supports only HCS OME-Zarr datasets, leveraging their acquisition metadata and well-based image grouping. | ||
- Assumes each well contains a single image per acquisition. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Purpose | ||
- **Segments images using Cellpose models**. | ||
- Supports both **built-in Cellpose models** (shipped with Cellpose) and **user-trained models**. | ||
- Accepts dual image input for segmentation. | ||
- Can process **arbitrary regions of interest (ROIs)**, including whole images, fields of view (FOVs), or masked outputs from prior segmentations, based on corresponding ROI tables. | ||
- Provides access to all advanced Cellpose parameters. | ||
- Allows custom rescaling options per channel, particularly useful for sparse images. | ||
|
||
### Limitations | ||
- Compatible only with Cellpose 2.x models; does not yet support 3.x models. |
8 changes: 8 additions & 0 deletions
8
fractal_tasks_core/dev/task_info/convert_cellvoyager_multiplex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Purpose | ||
- Converts **multiplexed 2D and 3D images from CellVoyager CV7000/8000** systems into OME-Zarr format, storing each acquisition as a separate OME-Zarr image in the same OME-Zarr plate. | ||
- Creates **OME-Zarr HCS plates**, combining all fields of view for each acquisition in a well into a single image. | ||
- Saves Fractal **region-of-interest (ROI) tables** for both individual fields of view and the entire well. | ||
- Handles overlapping fields of view by adjusting their positions to be non-overlapping, while preserving the original position data as additional columns in the ROI tables. | ||
|
||
### Limitations | ||
- This task currently does not support time-resolved data and ignores the time fields in CellVoyager metadata. |
8 changes: 8 additions & 0 deletions
8
fractal_tasks_core/dev/task_info/convert_cellvoyager_to_ome_zarr.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Purpose | ||
- Converts **2D and 3D images from CellVoyager CV7000/8000** systems into OME-Zarr format, creating OME-Zarr HCS plates and combining all fields of view in a well into a single image. | ||
- Saves Fractal **region-of-interest (ROI) tables** for both individual fields of view and the entire well. | ||
- Handles overlapping fields of view by adjusting their positions to be non-overlapping while retaining the original position data as additional columns in the ROI tables. | ||
- Supports processing multiple plates in a single task. | ||
|
||
### Limitations | ||
- Currently, this task does not support time-resolved data and ignores the time fields in CellVoyager metadata. |
7 changes: 7 additions & 0 deletions
7
fractal_tasks_core/dev/task_info/find_registration_consensus.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Purpose | ||
- Determines the **consensus alignment** region across all selected acquisitions **within each well of an HCS OME-Zarr dataset**. | ||
- Generates a new ROI table for each image, defining consensus regions that are aligned across all acquisitions. | ||
- Typically used as the second task in a workflow, following `Calculate Registration (image-based)` and optionally preceding `Apply Registration to Image`. | ||
|
||
### Limitations | ||
- Supports only HCS OME-Zarr datasets, leveraging their acquisition metadata and well-based image grouping. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Purpose | ||
- **Corrects illumination** in OME-Zarr images using **pre-calculated flatfield profiles**. | ||
- Optionally performs **background subtraction**. | ||
|
||
### Limitations | ||
- Requires pre-calculated flatfield profiles in TIFF format. | ||
- Supports only fixed-value background subtraction; background subtraction profiles are not supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Purpose | ||
- Imports a **single OME-Zarr dataset** into the Fractal framework for further processing. | ||
- Supports importing either a **full OME-Zarr HCS plate** or an **individual OME-Zarr image**. | ||
- Ensures the OME-Zarr dataset is located in the `zarr_dir` specified by the dataset. | ||
- Generates the necessary **image list metadata** required for processing the OME-Zarr with Fractal. | ||
- Optionally **adds new ROI tables** to the existing OME-Zarr, enabling compatibility with many other tasks. | ||
|
||
### Limitations | ||
- Supports only OME-Zarr datasets already present in the `zarr_dir` of the corresponding dataset. | ||
- Assumes the input OME-Zarr is correctly structured and formatted for compatibility with the Fractal framework. |
26 changes: 26 additions & 0 deletions
26
fractal_tasks_core/dev/task_info/napari_workflows_wrapper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### Purpose | ||
- Executes a **napari workflow** on the regions of interest (ROIs) within a single OME-NGFF image. | ||
- Processes specified images and labels as inputs to the workflow, producing outputs such as new labels and data tables. | ||
- Offers **flexibility in defining input and output** specifications to customize the workflow for specific datasets and analysis needs. | ||
|
||
### Limitations | ||
- Currently supports only Napari workflows that utilize functions from the `napari-segment-blobs-and-things-with-membranes` module. Other Napari-compatible modules are not supported. | ||
|
||
### Input Specifications | ||
Napari workflows require explicit definitions of input and output data. | ||
Example of valid `input_specs`: | ||
```json | ||
{ | ||
"in_1": {"type": "image", "channel": {"wavelength_id": "A01_C02"}}, | ||
"in_2": {"type": "image", "channel": {"label": "DAPI"}}, | ||
"in_3": {"type": "label", "label_name": "label_DAPI"} | ||
} | ||
``` | ||
|
||
Example of valid `output_specs`: | ||
```json | ||
{ | ||
"out_1": {"type": "label", "label_name": "label_DAPI_new"}, | ||
"out_2": {"type": "dataframe", "table_name": "measurements"}, | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Purpose | ||
- Performs **Z-axis projection of intensity images** using a specified projection method. | ||
- **Generates a new OME-Zarr HCS plate** to store the projected data. | ||
|
||
### Limitations | ||
- Supports projections only for OME-Zarr HCS plates; other collections of OME-Zarrs are not yet supported. | ||
- Currently limited to data in the CZYX format. |
Oops, something went wrong.