Workflow: cellpose.cwl

Fetched 2024-11-15 23:53:29 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

use_gpu Boolean (Optional)

if set, uses GPU instead of CPU

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
30fbc9d588b64b89c55bb89dbdf6c502 (CommandLineTool)
stage_cellpose
inputParser.cwl (ExpressionTool)
execute_cellpose
11acb5b537b916bc9f66737b6191eb62 (CommandLineTool)
execute_filtering
ebec65b724e3ad261cdc19bb0bec75c9 (CommandLineTool)
execute_cellpose_prep
2e84b428848217224629ebc978144c56 (CommandLineTool)

Outputs

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