Workflow: cellpose.cwl

Fetched 2024-06-11 11:33:48 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.

dir_size Long (Optional)

Size of tiffs, in MiB. If provided, will be used to calculate ResourceRequirement.

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
25e76dc880100f7be80dc0570125ae1e (CommandLineTool)
stage_cellpose
inputParser.cwl (ExpressionTool)
execute_cellpose
db28379447a096936ab9265ac1d071b4 (CommandLineTool)
execute_filtering
87be754996f686382cfd61656645818b (CommandLineTool)
execute_cellpose_prep
45a3904fa22263d8607a21d53f656829 (CommandLineTool)

Outputs

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