1class: Workflow
2cwlVersion: v1.1
3inputs:
4 connection:
5 type: string
6 data:
7 type: File
8 db:
9 type: File
10 schema:
11 type: File
12 table:
13 type: string
14outputs:
15 index_err:
16 outputSource: index/errors
17 type: File
18 index_log:
19 outputSource: index/log
20 type: File
21 ingest_err:
22 outputSource: ingest/errors
23 type: File
24 ingest_log:
25 outputSource: ingest/log
26 type: File
27 vacuum_err:
28 outputSource: vacuum/errors
29 type: File
30 vacuum_log:
31 outputSource: vacuum/log
32 type: File
33requirements:
34 InlineJavascriptRequirement: {}
35 ScatterFeatureRequirement: {}
36 StepInputExpressionRequirement: {}
37 SubworkflowFeatureRequirement: {}
38steps:
39 index:
40 in:
41 connection_name: connection
42 database: db
43 depends_on: ingest/log
44 domain:
45 valueFrom: census
46 registry: schema
47 table: table
48 out:
49 - log
50 - errors
51 run: index.cwl
52 ingest:
53 doc: Uploads data into the database
54 in:
55 connection_name: connection
56 database: db
57 domain:
58 valueFrom: census
59 input: data
60 registry: schema
61 table: table
62 out:
63 - log
64 - errors
65 run: ingest.cwl
66 vacuum:
67 in:
68 connection_name: connection
69 database: db
70 depends_on: index/log
71 domain:
72 valueFrom: census
73 registry: schema
74 table: table
75 out:
76 - log
77 - errors
78 run: vacuum.cwl