Workflow: pipeline.cwl

Fetched 2023-03-07 09:41:08 GMT
children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Inputs

ID Type Title Doc
tiffs Directory (Optional)

The directory containing all .tiff files

exp_loc Directory (Optional)

Location of directory containing starfish experiment.json file. Only used when both skip_formatting and skip_processing are true.

rescale Boolean (Optional)

Whether to rescale images before running decoding.

skip_qc Boolean (Optional)

If true, QC will not be run.

aux_name String (Optional)

The name of the aux view to look at in the experiment file for image segmentation.

clip_max Float (Optional)

Pixels above this percentile are set to 1.

clip_min Float (Optional)

Pixels below this percentile are set to 0.

codebook https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#codebook/json (Optional)
save_pdf Boolean (Optional)

If true, will save graphical output to a pdf.

cycle_yml File (Optional)

PyYML-formatted dictionary outlining how the truerounds in imaging relate to the pseudorounds in the decoding codebook. The keys are truerounds and the values are the corresponding pseudorounds.

file_vars String[] (Optional)

Variables to get substituted into the file_format string.

fov_count Integer (Optional)

The number of FOVs that are included in this experiment

input_dir Directory (Optional)

Root directory containing space_tx formatted experiment. Only used if skip_formatting is true.

is_volume Boolean (Optional)

Whether to treat the zplanes as a 3D image.

low_sigma Integer (Optional)

Sigma value for low pass gaussian filter. Will not be run if not provided.

add_blanks Boolean (Optional)

If true, will add blanks with a hamming distance 1 from existing codes.

fov_offset Integer (Optional)

The index of the first FOV (for file names).

high_sigma Integer (Optional)

Sigma value for high pass gaussian filter. Will not be run if not provided.

run_baysor Boolean (Optional)

If true, the baysor step will be run.

anchor_view String (Optional)

The name of the auxillary view to be processed in parallel with primary view, such as for anchor round in ISS processing. Will not be included if not provided.

binary_mask https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#binary_mask/basic_watershed (Optional)
channel_yml File (Optional)

PyYML-formatted list containing a dictionary outlining how the truechannels in imaging relate to the pseudochannels in the decoding codebook. The index of each dict within the list is the trueround % (count of pseudorounds). The keys of the dict are the channels within the image and the values are the pseudochannels in the converted notebook.

file_format String (Optional)

String with layout for .tiff files

find_ripley Boolean (Optional)

If true, will run ripley K estimates to find spatial density measures. Can be slow.

n_processes Integer (Optional)

If provided, the number of processes that will be spawned for processing. Otherwise, the maximum number of available CPUs will be used.

round_count Integer (Optional)

The number of imaging rounds in the experiment

use_ref_img Boolean (Optional)

Whether to generate a reference image and use it alongside spot detection.

aux_tilesets https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#aux_tilesets/aux_tilesets (Optional)
codebook_csv File (Optional)

Flattened csv input, refer to record entry.

level_method String (Optional)

Levelling method for clip and scale application. Defaults to SCALE_BY_CHUNK.

round_offset Integer (Optional)

The index of the first round (for file names).

zplane_count Integer (Optional)

The number of z-planes in each image

channel_count Integer (Optional)

The number of total channels per imaging round

codebook_json File (Optional)

Flattened json input, refer to record entry.

decoding_blob https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#decoding_blob/blob (Optional)
selected_fovs Integer[] (Optional)

If provided, steps after conversion will only be run on FOVs with these indices.

tophat_radius Integer (Optional)

Radius for white top hat filter. Should be slightly larger than the expected spot radius. Will not be run if not provided.

channel_offset Integer (Optional)

The index of the first channel (for file names).

decoding_pixel https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#decoding_pixel/pixel (Optional)
mask_roi_files Directory (Optional)

Flattened directory input, refer to record entry \"binary_mask\"

parameter_json File (Optional)

json file containing parameters for the whole experiment. If variable is present here, it will supercede any passed in the yml.

rolling_radius Integer (Optional)

Radius for rolling ball background subtraction. Larger values lead to increased intensity evening effect. The value of 3 will work for most datasets. Will not be run if not provided.

background_view String (Optional)

The name of the auxillary view to be used for background subtraction. Background will be estimated if not provided.

deconvolve_iter Integer (Optional)

Number of iterations to perform for deconvolution. High values remove more noise while lower values remove less. The value 15 will work for most datasets unless image is very noisy. Will not be run if not provided.

fov_positioning https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl#fov_positioning/fov_positioning (Optional)
match_histogram Boolean (Optional)

If true, histograms will be equalized.

skip_formatting Boolean (Optional)

If true, will skip first two stages and start at processing.

skip_processing Boolean (Optional)

If true, image processing step will be skipped.

cache_read_order String[] (Optional)

Order of non x,y dimensions within each image.

deconvolve_sigma Integer (Optional)

Sigma value for deconvolution. Should be approximately the expected spot size.

mask_roi_formats String (Optional)

Flattened record input, refer to record entry \"binary_mask\"

register_aux_view String (Optional)

The name of the auxillary view to be used for image registration.

mask_labeled_files Directory (Optional)

Flattened file input, refer to record entry \"binary_mask\"

register_background Boolean (Optional)

If true, `background_view` will be aligned to `aux_name`.

mask_labeled_formats String (Optional)

Flattened record input, refer to record entry \"binary_mask\"

not_filtered_results Boolean (Optional)

Pipeline will not remove genes that do not match a target and do not meet criteria.

Steps

ID Runs Label Doc
qc
steps/qc.cwl (Workflow)
stage
steps/inputParser.cwl (ExpressionTool)
sorter
steps/sorter.cwl (Workflow)
processing
read_schema
4a2754fb371ebd6094606ac3fdc67bf9 (CommandLineTool)
baysorStaged
segmentation
stagedSorted
starfishRunner
spaceTxConversion

Outputs

ID Type Label Doc
7_QC Directory
6_Baysor Directory
4_Decoded Directory
3_Processed Directory
5_Segmented Directory
1_Pseudosort Directory
2_tx_converted Directory
Permalink: https://w3id.org/cwl/view/git/03b8da4ede3afcbf97b4e780c153155f33e76c84/pipeline.cwl