-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow_schema.json
More file actions
81 lines (81 loc) · 2.85 KB
/
Copy pathnextflow_schema.json
File metadata and controls
81 lines (81 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/BioimageAnalysisCoreWEHI/prepare_celltune_features/main/nextflow_schema.json",
"title": "prepare_celltune_features pipeline parameters",
"description": "Extract cell measurements from QuPath geojson.gz files and format for CellTune import",
"type": "object",
"$defs": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"required": ["geojson_dir", "pixel_size", "outdir"],
"properties": {
"geojson_dir": {
"type": "string",
"format": "directory-path",
"exists": true,
"description": "Directory containing *.geojson.gz files from QuPath cell measurements"
},
"pixel_size": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Pixel size in µm/pixel for centroid conversion (e.g. 0.3906 for MIBI, 0.4 for COMET)"
},
"cofactor": {
"type": "number",
"default": 100,
"exclusiveMinimum": 0,
"description": "Cofactor for arcsinh normalization. 100 for MIBI/IMC, 0.1 for fluorescence (CODEX/COMET)"
},
"skip_arcsinh": {
"type": "boolean",
"default": false,
"description": "Skip arcsinh normalization and output raw measurements"
},
"mask_suffix": {
"type": "string",
"default": "_mask.tiff",
"description": "Suffix of mask files to rename to _segmentation_labels.tif for CellTune"
},
"output": {
"type": "string",
"default": "celltune_features.parquet",
"description": "Output parquet file name"
},
"celltune_cell_table": {
"type": "string",
"format": "file-path",
"exists": true,
"description": "Optional path to CellTune cellTable_region_props.parquet. When provided, cells absent from the reference are removed from the output and recorded in dropped_cells.csv."
},
"outdir": {
"type": "string",
"format": "directory-path",
"description": "Output directory for published files"
},
"publish_dir_mode": {
"type": "string",
"default": "copy",
"description": "Method used by Nextflow publishDir",
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"]
}
}
},
"generic_options": {
"title": "Generic options",
"type": "object",
"properties": {
"validate_params": {
"type": "boolean",
"default": true,
"hidden": true,
"description": "Validate parameters against schema"
}
}
}
},
"allOf": [
{ "$ref": "#/$defs/input_output_options" },
{ "$ref": "#/$defs/generic_options" }
]
}