forked from denis-yuen/dockstore-workflow-md5sum-unified
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathchecker_workflow_wrapping_workflow.cwl
More file actions
48 lines (39 loc) · 1.05 KB
/
checker_workflow_wrapping_workflow.cwl
File metadata and controls
48 lines (39 loc) · 1.05 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
cwlVersion: v1.0
class: Workflow
s:author:
- class: s:Person
s:identifier: http://orcid.org/0000-0002-7681-6415
s:email: mailto:briandoconnor@gmail.com
s:name: Brian O'Connor
s:contributor:
- class: s:Person
s:identifier: https://orcid.org/0000-0002-6130-1021
s:email: mailto:dyuen@oicr.on.ca
s:name: Denis Yuen
requirements:
- class: SubworkflowFeatureRequirement
inputs:
input_file: File
outputs:
workflow_output_file:
type: File
outputSource: checker/results_file
steps:
md5sum:
run: md5sum/md5sum.cwl
in:
input_file: input_file
out: [output_file]
checker:
run: checker/md5sum_checker.cwl
in:
input_file: md5sum/output_file
out: [results_file]
doc: |
This demonstrates how to wrap a "real" workflow with a checker workflow that runs both the tool and a tool that performs verification of results
$namespaces:
s: https://schema.org/
edam: http://edamontology.org/
$schemas:
- https://schema.org/version/latest/schemaorg-current-http.rdf
- http://edamontology.org/EDAM_1.18.owl