Workflow: cellpose.cwl

Fetched 2026-10-02 00:51:44 GMT
children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Inputs

ID Type Title Doc
exp_loc Directory

Root directory containing space_tx formatted experiment

diameter Float (Optional)

Expected diameter of cells. Should be 0 if a custom model is used.

use_mrna Boolean (Optional)

If true and decoded_loc is provided, mrna data will be used in calculations.

aux_views String[] (Optional)

The views to use for cellpose segmentation.

decoded_loc Directory (Optional)

Location of directory that is output from the starfishRunner step, only needed if mRNA information is to be included.

zplane_count Integer (Optional)

The number of z-planes in each image. All that matters is whether this is equal to 1 or not, retaining the same var name as conversion for simplification.

border_buffer Integer (Optional)

If not None, removes cytoplasms whose nuclei lie within the given distance from the border.

selected_fovs Integer[] (Optional)

If provided, segmentation will only be run on FOVs with these indices.

flow_threshold Float (Optional)

threshold for filtering cell segmentations (increasing this will filter out lower confidence segmentations), range is 0 to infinity

label_exp_size Integer (Optional)

Pixel size labels are dilated by in final step. Helpful for closing small holes that are common from thresholding but can also cause cell boundaries to exceed their true boundaries if set too high. Label dilation respects label borders and does not mix labels.

parameter_json File (Optional)

json containing step parameters.

max_allowed_size Integer (Optional)

maximum size for a cell (in pixels)

min_allowed_size Integer (Optional)

minimum size for a cell (in pixels)

stitch_threshold Float (Optional)

threshold for stitching together segmentations that occur at the same xy location but in adjacent z slices, range is 0 to 1. This should only be used when the image is 3D.

cellprob_threshold Float (Optional)

determines the extent of the segmentations (0 is the default more negative values result in larger cells, more positive values result in smaller cells), range is -6 to 6.

pretrained_model_dir File (Optional)

Manually trained cellpose model to use.

pretrained_model_str String (Optional)

Cellpose-provided model to use.

Steps

ID Runs Label Doc
tmpname
tmpdir.cwl (ExpressionTool)
read_schema
f1a89209de177db1bd10d4cccf21565f (CommandLineTool)
stage_cellpose
inputParser.cwl (ExpressionTool)
execute_cellpose
4b9c584fea1b14386575c5cc286b6426 (CommandLineTool)
execute_filtering
f5ebe82269625fe978763f87bdcabf3b (CommandLineTool)
execute_cellpose_prep
ca0dfc87a97f0029047d6e994e9c1e7f (CommandLineTool)

Outputs

ID Type Label Doc
cellpose_input Directory
cellpose_output Directory
cellpose_filtered Directory
Permalink: https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/cellpose.cwl