@prefix NetworkAccess: <https://w3id.org/cwl/cwl#NetworkAccess/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix CommandLineBinding: <https://w3id.org/cwl/cwl#CommandLineBinding/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix DockerRequirement: <https://w3id.org/cwl/cwl#DockerRequirement/> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns1:   <http://commonwl.org/cwltool#> .
@prefix ExpressionTool: <https://w3id.org/cwl/cwl#ExpressionTool/> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_area_thresh>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_file_vars>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_cyto_seg>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_background>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/binary_mask>
        cwl:source     <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_watershed_footprint_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_masking_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_correct_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_thresh_block_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_area_thresh> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_files> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_files> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_img_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_min_dist> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_cyto_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_nuclei_view> ;
        cwl:valueFrom  "${\n  if(self[14] && self[15]) {\n    return {\n      \"roi_set\": self[14],\n      \"file_formats\": self[15]\n    }\n  } else if(self[16] && self[17]){\n    return {\n      \"labeled_image\": self[16],\n      \"file_formats_labeled\": self[17]\n    };\n  } else if(!self[1] && !self[6]){\n    return self[0];\n  } else if(self[1]){\n    return {\n      \"img_threshold\": self[1],\n      \"min_dist\": self[2],\n      \"min_allowed_size\": self[3],\n      \"max_allowed_size\": self[4],\n      \"masking_radius\": self[5]\n    };\n  } else {\n    return {\n      \"nuclei_view\": self[6],\n      \"cyto_seg\": self[7],\n      \"correct_seg\": self[8],\n      \"border_buffer\": self[9],\n      \"area_thresh\": self[10],\n      \"thresh_block_size\": self[11],\n      \"watershed_footprint_size\": self[12],\n      \"label_exp_size\": self[13]\n    };\n  }\n}\n" .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/datafile>
        cwl:source  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#parameter_json> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/correct_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/nuclei_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/thresh_block_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/watershed_footprint_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/cyto_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/area_thresh> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_files>
        rdfs:comment  "Flattened file input, refer to record entry \"binary_mask\"" ;
        sld:type      cwl:Directory , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/area_thresh> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/cyto_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/nuclei_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/thresh_block_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/watershed_footprint_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/correct_seg> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#deconvolve_sigma>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/cyto_seg>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--cyto-seg" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--cyto-seg" ] ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/cyto_seg>
        rdfs:comment  "If true, the cytoplasm will be segmented" ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/correct_seg>
        rdfs:comment  "If true, suspected nuclei/cytoplasms that overlap will be removed." ;
        sld:type      xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/segmented>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(\"tmp/\" + inputs.tmp_prefix + \"/5_Segmented/\")" ] ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(\"tmp/\" + inputs.tmp_prefix + \"/5_Segmented/\")" ] ;
        sld:type           cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_distance_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set/file_formats>
        rdfs:comment  "Layout for name of each RoiSet.zip, per fov. Will be formatted with String.format([fov index])." ;
        sld:type      xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/masking_radius>
        rdfs:comment  "Radius for white tophat noise filter" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_shape>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_pmax>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#round_count>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#clip_min>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#max_allowed_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channels_per_reg>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_norm_order>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#match_histogram>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/aux_name>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--aux-name" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--aux-name" ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_qc>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_max_allowed_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/watershed_footprint_size>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--watershed-footprint-size" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--watershed-footprint-size" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#exp_loc>
        rdfs:comment  "Location of directory containing the 'experiment.json' file" ;
        sld:type      cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask>
        sld:type  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set> , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_min_intensity>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/tmp_prefix>
        cwl:source  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#tmpname/tmp> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/nuclei_view>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--nuclei-view" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--nuclei-view" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image/labeled_image>
        rdfs:comment  "Directory of labeled images with image segmentation data, such as from ilastik classification." ;
        sld:type      cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_voxel>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_slope>
        sld:type  [ sld:items  xsd:float ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_views>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set/file_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set/roi_set> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_img_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#n_processes>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/schema>
        cwl:valueFrom  "/opt/segmentation.json" .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_trace_building_strategy>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_nuclei_view>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#anchor_view>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_min_allowed_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_to_primary>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask>
        sld:type  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_correct_seg>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/decoded_loc>
        cwl:source  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#decoded_loc> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_watershed_footprint_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/tmp_prefix>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--tmp-prefix" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--tmp-prefix" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation>
        cwl:in   <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/binary_mask> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/decoded_loc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/exp_loc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/tmp_prefix> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/selected_fovs> ;
        cwl:out  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/segmented> ;
        cwl:run  [ a                 cwl:CommandLineTool ;
                   cwl:baseCommand   ( "/opt/segmentationDriver.py" ) ;
                   cwl:baseCommand   ( "/opt/segmentationDriver.py" ) ;
                   cwl:inputs        <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/exp_loc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/selected_fovs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/tmp_prefix> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/decoded_loc> ;
                   cwl:outputs       <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/segmented> ;
                   cwl:requirements  [ a                             cwl:DockerRequirement ;
                                       DockerRequirement:dockerPull  "hubmap/starfish-custom:latest"
                                     ] ;
                   cwl:requirements  [ a                             cwl:DockerRequirement ;
                                       DockerRequirement:dockerPull  "hubmap/starfish-custom:latest"
                                     ]
                 ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#not_filtered_results>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_num_sigma>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/area_thresh>
        rdfs:comment  "Threshold used when determining if an object is one nucleus or two or more overlapping nuclei. Objects whose ratio of convex hull area to normal area are above this threshold are removed if the option to remove overlapping nuclei is set." ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#zplane_offset>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_count>
        sld:type  [ sld:items  xsd:float ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/max_allowed_size>
        rdfs:comment  "maxiumum size for a cell (in pixels)" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_processing>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/aux_name>
        cwl:source     <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#aux_name> ;
        cwl:valueFrom  "${\n  if(self[0]){\n    return self[0];\n  } else if (self[1]){\n    return self[1];\n  } else {\n    return null;\n  }\n}\n" .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/schema>
        cwl:source  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/data> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#selected_fovs>
        rdfs:comment  "If provided, segmentation will only be run on FOVs with these indices." ;
        sld:type      sld:null ;
        sld:type      [ sld:items  xsd:int ;
                        sld:type   sld:array
                      ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_search_radius>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/border_buffer>
        rdfs:comment  "If not None, removes cytoplasms whose nuclei lie within the given distance from the border." ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation>
        cwl:in    <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/schema> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/datafile> ;
        cwl:out   <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/selected_fovs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_cyto_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_masking_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_nuclei_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_watershed_footprint_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_area_thresh> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_img_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_correct_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_min_dist> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/binary_mask_thresh_block_size> ;
        cwl:run   <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl> ;
        cwl:when  "$(inputs.datafile != null)" .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/thresh_block_size>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--thresh-block-size" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--thresh-block-size" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_thresh_block_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#is_volume>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/min_dist>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--min-dist" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--min-dist" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/min_allowed_size>
        rdfs:comment  "minimum size for a cell (in pixels)" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/img_threshold>
        rdfs:comment  "Global threshold value for images" ;
        sld:type      xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_shape>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_slope>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#level_method>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#selected_fovs>
        sld:type  [ sld:items  xsd:int ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_locs>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#use_ref_img>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_aux_view>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_decode>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#file_vars>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_border_buffer>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_locs>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image/file_formats_labeled>
        rdfs:comment  "Layout for name of each labelled image. Will be formatted with String.format([fov index])" ;
        sld:type      xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#cellprob_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/max_allowed_size>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--max-size" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--max-size" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_mode>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_count>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#schema>
        cwl:inputBinding  [ cwl:loadContents  true ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/tmpdir.cwl#tmp>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#clip_max>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_formatting>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#diameter>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#add_blanks>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#run_cellpose>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/img_threshold>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--img-threshold" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--img-threshold" ] ;
        sld:type          xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#tophat_radius>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/masking_radius>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--masking-radius" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--masking-radius" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_formats>
        rdfs:comment  "Flattened record input, refer to record entry \"binary_mask\"" ;
        sld:type      xsd:string , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_files>
        rdfs:comment  "Flattened directory input, refer to record entry \"binary_mask\"" ;
        sld:type      cwl:Directory , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_norm_order>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/selected_fovs>
        cwl:source     <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#selected_fovs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation/selected_fovs> ;
        cwl:valueFrom  "${\n  if(self[0]){\n    return self[0];\n  } else if(self[1]) {\n    return self[1];\n  } else {\n    return null;\n  }\n}\n" .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image/labeled_image> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image/file_formats_labeled> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/nuclei_view>
        rdfs:comment  "Name of the auxillary view with nuclei data" ;
        sld:type      xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/min_allowed_size>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--min-size" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--min-size" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#border_buffer>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image/labeled_image> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/labeled_image/file_formats_labeled> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#segmented>
        cwl:outputSource  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/segmented> ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_metric>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_offset>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/selected_fovs>
        rdfs:comment      "If provided, processing will only be run on FOVs with these indices." ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--selected-fovs" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--selected-fovs" ] ;
        sld:type          sld:null ;
        sld:type          [ sld:items  xsd:int ;
                            sld:type   sld:array
                          ] ;
        sld:type          [ sld:items  xsd:int ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/tmpdir.cwl>
        a                          cwl:ExpressionTool ;
        ns1:original_cwlVersion    "v1.2" ;
        ExpressionTool:expression  "${\n    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n    const charactersLength = characters.length;\n    let counter = 0;\n    let result = \"\";\n    while (counter < 10) {\n      result += characters.charAt(Math.floor(Math.random() * charactersLength));\n      counter += 1;\n    }\n    return {\"tmp\": result};\n}\n" ;
        cwl:cwlVersion             cwl:v1.2 ;
        cwl:outputs                <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/tmpdir.cwl#tmp> ;
        cwl:requirements           [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/masking_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/min_dist> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/basic_watershed/img_threshold> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#background_view>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_names>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_masking_radius>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_max_area>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set/file_formats>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--file-formats" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--file-formats" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/thresh_block_size>
        rdfs:comment  "Size of structuring element for local thresholding of nuclei. If nuclei interiors aren't passing threshold, increase this value, if too much non-nuclei is passing threshold, lower it." ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.2" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#stage_segmentation> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#tmpname> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_files> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#exp_loc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_roi_files> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#decoded_loc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#selected_fovs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#parameter_json> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#segmented> ;
        cwl:requirements         [ a  cwl:StepInputExpressionRequirement ] ;
        cwl:requirements         [ a  cwl:SubworkflowFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:MultipleInputFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/masking_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/min_dist> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/img_threshold> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_overlap>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image/file_formats_labeled>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--file-formats-labeled" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--file-formats-labeled" ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#save_pdf>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_voxel>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_return_original_intensities>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#low_sigma>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#pretrained_model_str>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_anchor_round>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_offset>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_single_round>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/run/data>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "583302721336ae9533b64427af4960f1f37515ae" ] ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "583302721336ae9533b64427af4960f1f37515ae" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decode_method>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_count>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_file_formats>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_magnitude_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema>
        cwl:in   <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/schema> ;
        cwl:out  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/data> ;
        cwl:run  [ a                 cwl:CommandLineTool ;
                   cwl:baseCommand   ( "cat" ) ;
                   cwl:baseCommand   ( "cat" ) ;
                   cwl:inputs        <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/run/schema> ;
                   cwl:outputs       <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/run/data> ;
                   cwl:requirements  [ a                             cwl:DockerRequirement ;
                                       DockerRequirement:dockerPull  "hubmap/starfish-custom:latest"
                                     ] ;
                   cwl:requirements  [ a                             cwl:DockerRequirement ;
                                       DockerRequirement:dockerPull  "hubmap/starfish-custom:latest"
                                     ] ;
                   cwl:stdout        "583302721336ae9533b64427af4960f1f37515ae"
                 ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#use_mrna>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/exp_loc>
        cwl:source  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#exp_loc> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_error_rounds>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_physical_coords>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#flow_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_cache_read_order>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/label_exp_size>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--label-exp-size" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--label-exp-size" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/correct_seg>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--correct-seg" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--correct-seg" ] ;
        sld:type          xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_pmin>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/exp_loc>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--exp-loc" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--exp-loc" ] ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#min_allowed_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#deconvolve_iter>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#parameter_json>
        rdfs:comment  "File containing parameters to run this step." ;
        sld:type      cwl:File , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#mask_labeled_formats>
        rdfs:comment  "Flattened record input, refer to record entry \"binary_mask\"" ;
        sld:type      xsd:string , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_name>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl>
        a                          cwl:ExpressionTool ;
        ns1:original_cwlVersion    "v1.0" ;
        ExpressionTool:expression  "${   var data = JSON.parse(inputs.datafile.contents);\n     var schema = JSON.parse(inputs.schema.contents);\n     function enforce_record(data, key, items, output_dict){\n         if(Array.isArray(items[0])){\n              // Record where one of a mutually exclusive set of sublists is defined\n              // Find closest match and enforce that\n              var subind = 0;\n              var coverage = 0.0;\n              for(var i=0;i<items.length;i++){\n                      var tally = 0.0;\n                      for(var j=0;j<items[i].length;j++){\n                              if(items[i][j].constructor != Object){\n                                      var subkey = items[i][j].replace(\"?\",\"\");\n                                      if(subkey in data){\n                                              tally++;\n                                      }\n                                      // we want to define this key as null so that\n                                      // all possible outputs from schema are accounted for,\n                                      // even for non-selected schemas\n                                      output_dict[key + \"_\" + subkey] = null;\n                              } else {\n                                      var sbk = Object.keys(items[i][j])[0];\n                                      for(var k=0;k<items[i][j][sbk].length; k++){\n                                              var sublis = items[i][j][sbk][k];\n                                              for(var m=0;m<sublis.length;m++){\n                                                      var cleaned = sublis[m].replace(\"?\",\"\");\n                                                      output_dict[key + \"_\" + sbk + \"_\" + cleaned] = null;\n                                              }\n                                      }\n                              }\n                      }\n                      var new_coverage = tally / items[i].length;\n                      if(new_coverage > coverage){\n                              coverage = new_coverage;\n                              subind = i;\n                      }\n              }\n              enforce_record(data, key, items[subind], output_dict);\n         } else {\n                 for(var i=0;i<items.length;i++){\n                      if(items[i].constructor == Object){\n                              // Record within a record, make recursive call\n                              var subkey = Object.keys(items[i])[0];\n                              enforce_record(data[subkey], key+\"_\"+subkey, items[i][subkey], output_dict);\n                      } else {\n                              // If not present, throw an error unless marked with \"?\"\n                              var item_comp = items[i].replace(\"?\",\"\");\n                              if(!(item_comp in data)){\n                                      if(!items[i].includes(\"?\")){\n                                              throw 'If '+key+' is defined, then all of '+items+' must be defined.';\n                                      }\n                              } else {\n                              // Add val to output dict\n                                      output_dict[key + '_' + item_comp] = data[item_comp];\n                              }\n                      }\n                 }\n                 return output_dict;\n         }\n     }\n\n     var values_dict = {};\n     for(var i=0;i<schema.length;i++){\n         if(schema[i].constructor == Object){\n              var key = Object.keys(schema[i])[0];\n              var lis = schema[i][key];\n              enforce_record(data[key], key, lis, values_dict);\n         } else {\n              var sch = schema[i].replace(\"?\",\"\");\n              if(sch in data){\n                   values_dict[sch] = data[sch];\n              } else {\n                   values_dict[sch] = null;\n              }\n         }\n     }\n     return values_dict;\n}\n" ;
        cwl:cwlVersion             cwl:v1.2 ;
        cwl:hints                  [ a                            cwl:NetworkAccess ;
                                     NetworkAccess:networkAccess  true
                                   ] ;
        cwl:hints                  [ a                cwl:LoadListingRequirement ;
                                     cwl:loadListing  "deep_listing"
                                   ] ;
        cwl:inputs                 <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#datafile> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#schema> ;
        cwl:outputs                <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#find_ripley> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#round_offset> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_correct_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_count> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_max_area> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#run_cellpose> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#high_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_to_primary> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_nuclei_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_norm_order> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#flow_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_min_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_names> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_anchor_round> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_label_exp_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_physical_coords> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_img_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_locs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_locs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_file_vars> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#n_processes> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_background> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#match_histogram> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_cache_read_order> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_intercept> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_return_original_intensities> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_min_area> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_cyto_seg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decode_method> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_pmin> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_shape> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_max_distance> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_slope> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_mode> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#anchor_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_voxel> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#diameter> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#file_format> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_pmax> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_count> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_single_round> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#stitch_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_file_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_composite_decode> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channels_per_reg> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_watershed_footprint_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_offset> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#min_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_thresh_block_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_distance_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_area_thresh> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#add_blanks> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_metric> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_views> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_metric> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#tophat_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#clip_min> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_slope> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_masking_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_overlap> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#zplane_count> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_voxel> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_voxel> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_shape> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_border_buffer> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_processing> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#rolling_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#save_pdf> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_min_dist> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#selected_fovs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_trace_building_strategy> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#register_aux_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#rescale> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_magnitude_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_formatting> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#file_vars> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#cache_read_order> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#is_volume> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#round_count> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#level_method> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_error_rounds> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_max_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_locs> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#use_ref_img> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#deconvolve_iter> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#deconvolve_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#zplane_offset> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_norm_order> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_shape> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#cellprob_threshold> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#background_view> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_num_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_name> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#clip_max> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#channel_count> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#low_sigma> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#not_filtered_results> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#use_mrna> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_offset> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_min_intensity> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#skip_qc> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#run_baysor> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_search_radius> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#max_allowed_size> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#pretrained_model_str> ;
        cwl:requirements           [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set>
        sld:fields  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set/file_formats> , <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set/roi_set> ;
        sld:type    sld:record .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/basic_watershed/min_dist>
        rdfs:comment  "minimum distance (pixels) between distance transformed peaks" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#run_baysor>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#find_ripley>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#round_offset>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/label_exp_size>
        rdfs:comment  "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." ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#tmpname>
        cwl:out  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#tmpname/tmp> ;
        cwl:run  <https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/tmpdir.cwl> .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_metric>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#aux_name>
        rdfs:comment  "The name of the aux view to look at in the experiment file." ;
        sld:type      xsd:string , sld:null .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#rescale>
        sld:type  xsd:boolean .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/labeled_image/labeled_image>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--labeled-image" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--labeled-image" ] ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#decoded_loc>
        rdfs:comment  "Location of the directory that is the output from the starfishRunner step." ;
        sld:type      cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_z_shape>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#file_format>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/density_based/watershed_footprint_size>
        rdfs:comment  "Size of structuring element for watershed segmentation. Larger values will segment the nuclei into larger objects and smaller values will result in smaller objects. Adjust according to nucleus size." ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#cache_read_order>
        sld:type  [ sld:items  xsd:string ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/roi_set/roi_set>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--roi-set" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--roi-set" ] ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/decoded_loc>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--decoded-loc" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--decoded-loc" ] ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_x_locs>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_max_sigma>
        sld:type  [ sld:items  xsd:float ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#rolling_radius>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#aux_tilesets_aux_channel_intercept>
        sld:type  [ sld:items  xsd:int ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_label_exp_size>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#fov_positioning_y_voxel>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#datafile>
        cwl:inputBinding  [ cwl:loadContents  true ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#zplane_count>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_decoder_max_distance>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_min_area>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/border_buffer>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--border-buffer" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--border-buffer" ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#binary_mask/roi_set/roi_set>
        rdfs:comment  "Directory of RoiSet.zip for each fov, from fiji segmentation" ;
        sld:type      cwl:Directory .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#execute_segmentation/run/binary_mask/density_based/area_thresh>
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--area-thresh" ] ;
        cwl:inputBinding  [ CommandLineBinding:prefix
                          "--area-thresh" ] ;
        sld:type          xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#binary_mask_min_dist>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#high_sigma>
        sld:type  xsd:int .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/segmentation.cwl#read_schema/run/schema>
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#decoding_min_sigma>
        sld:type  [ sld:items  xsd:float ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#stitch_threshold>
        sld:type  xsd:float .

<https://w3id.org/cwl/view/git/6ef7a6399b2ab55c1d3edd4e37631a8234889fd9/steps/inputParser.cwl#label_exp_size>
        sld:type  xsd:int .
