-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.cwl
76 lines (73 loc) · 1.83 KB
/
pipeline.cwl
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
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.1
label: SPRM pipeline
inputs:
image_dir:
label: "Directory containing image files"
type: Directory
mask_dir:
label: "Directory containing mask files"
type: Directory
options_file:
label: "SPRM options file"
type: File?
cell_types_file:
label: "Cell type annotations file"
type: File?
options_preset:
label: "SPRM options preset (alternate options file bundled with the package)"
type: string?
enable_manhole:
label: "Whether to enable remote debugging via 'manhole'"
type: boolean?
enable_faulthandler:
label: "Whether to enable the Python 'faulthandler' module"
type: boolean?
verbose:
label: "Whether to enable verbose/debug mode"
type: boolean?
processes:
label: "Number of images to process in parallel (default: 1)"
type: int?
outputs:
sprm_output:
outputSource: sprm/output_dir
type: Directory
label: "SPRM output"
steps:
ome_tiff_normalize_expr:
in:
data_dir:
source: image_dir
out: [output_dir]
run: ome-tiff-normalize/ome_tiff_normalize.cwl
ome_tiff_normalize_mask:
in:
data_dir:
source: mask_dir
out: [output_dir]
run: ome-tiff-normalize/ome_tiff_normalize.cwl
sprm:
in:
image_dir:
source: ome_tiff_normalize_expr/output_dir
mask_dir:
source: ome_tiff_normalize_mask/output_dir
options_file:
source: options_file
cell_types_file:
source: cell_types_file
options_preset:
source: options_preset
enable_manhole:
source: enable_manhole
enable_faulthandler:
source: enable_faulthandler
verbose:
source: verbose
processes:
source: processes
out: [output_dir]
run: steps/sprm.cwl
label: "SPRM analysis"