-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow_schema.json
More file actions
84 lines (84 loc) · 2.92 KB
/
Copy pathnextflow_schema.json
File metadata and controls
84 lines (84 loc) · 2.92 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
82
83
84
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/BioimageAnalysisCoreWEHI/import_large_geojson/main/nextflow_schema.json",
"title": "import_large_geojson pipeline parameters",
"description": "Headless QuPath import of large GeoJSON cell annotations into a QuPath project",
"type": "object",
"$defs": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"required": ["project", "geojson_dir"],
"properties": {
"project": {
"type": "string",
"format": "file-path",
"exists": true,
"description": "Path to QuPath project .qpproj file"
},
"qupath_bin": {
"type": "string",
"format": "file-path",
"exists": true,
"default": "/stornext/System/data/software/rhel/9/base/tools/QuPath/0.6.0/bin/QuPath",
"description": "Path to QuPath executable"
},
"script": {
"type": "string",
"format": "file-path",
"exists": true,
"default": "bin/import_large_geojson.groovy",
"description": "Path to Groovy script run by QuPath in headless mode"
},
"geojson_dir": {
"type": "string",
"format": "directory-path",
"exists": true,
"description": "Directory containing GeoJSON files to import. Files are matched to QuPath images by name."
},
"clear_existing": {
"type": "boolean",
"default": true,
"description": "Clear all existing objects from each image before importing new GeoJSON objects"
},
"file_pattern": {
"type": "string",
"default": "{stem}.geojson",
"description": "Filename pattern for matching GeoJSON files to images. {stem} is replaced with the image name (without extension)."
},
"outdir": {
"type": "string",
"format": "directory-path",
"description": "Output directory for log files"
},
"publish_dir_mode": {
"type": "string",
"default": "copy",
"description": "Method used by Nextflow publishDir",
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"]
},
"resolve_hierarchy": {
"type": "boolean",
"default": true,
"description": "Run QuPath resolveHierarchy() after import. Set false for flat detections to skip O(n^2) nesting step."
}
}
},
"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" }
]
}