-
Notifications
You must be signed in to change notification settings - Fork 2
/
pipeline.cwl
executable file
·47 lines (43 loc) · 1.02 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
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.1
requirements:
ScatterFeatureRequirement: {}
inputs:
ometiff_directory:
type: Directory
processes:
type: int
default: 1
rgb:
type: boolean?
downsample_type:
type: string?
output_filename:
type: string?
outputs:
pyramid_dir:
type: Directory[]
outputSource: convert_to_pyramid/pyramid_dir
n5_dir:
type: Directory[]
outputSource: convert_to_pyramid/n5_dir
steps:
collect_ometiff_files:
run: collect-ometiff-files.cwl
in:
ometiff_directory: ometiff_directory
out:
[ometiff_file, base_directory]
convert_to_pyramid:
scatter: [ometiff_file, base_directory]
scatterMethod: dotproduct
run: steps/ometiff-to-pyramid.cwl
in:
ometiff_file: collect_ometiff_files/ometiff_file
base_directory: collect_ometiff_files/base_directory
processes: processes
rgb: rgb
downsample_type: downsample_type
output_filename: output_filename
out: [pyramid_dir, n5_dir]