File tree Expand file tree Collapse file tree 5 files changed +81
-24
lines changed Expand file tree Collapse file tree 5 files changed +81
-24
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,44 @@ $graph:
626
626
Docker container.
627
627
628
628
629
+ - type : record
630
+ name : SoftwareRequirement
631
+ extends : " #ProcessRequirement"
632
+ doc : |
633
+ Software that should be configured in the environment of the defined
634
+ process.
635
+
636
+ While absolute portability between platforms can be achieved with container
637
+ technologies like Docker, this mechanism provides an inexact and imprecise
638
+ fallback. The inexact nature is due to this standard not specifying the
639
+ base operating environment of the process or how the that environment is to
640
+ be configured as a result of these hints. The imprecise nature of these
641
+ hints is due to the `name` and `version` fields being unstructured and not
642
+ namespaced. The optional `identifier` field is recommended so that users
643
+ and platforms can distinguish between software that has the same name.
644
+ fields :
645
+ - name : spec
646
+ type :
647
+ type : array
648
+ items : SoftwareSpec
649
+ doc : " The list of software to be configured."
650
+
651
+ - name : SoftwareSpec
652
+ type : record
653
+ fields :
654
+ - name : name
655
+ type : string
656
+ doc : " The name of the software to be configured."
657
+ jsonldPredicate : " @id"
658
+ - name : " version"
659
+ type : string?
660
+ doc : " The (optional) version of the software to configured."
661
+ - name : " identifier"
662
+ type : string?
663
+ doc : |
664
+ The (optional) identifier of the software to be configured. Should be a
665
+ IRI such as an [RRID](http://www.identifiers.org/rrid/SCR_001156).
666
+ Example: `http://identifiers.org/rrid/RRID:SCR_001156`
629
667
630
668
- name : CreateFileRequirement
631
669
type : record
Original file line number Diff line number Diff line change @@ -141,7 +141,29 @@ $graph:
141
141
- name : SchemaBase
142
142
type : record
143
143
abstract : true
144
+
145
+
146
+ - name : Parameter
147
+ type : record
148
+ extends : " #SchemaBase"
149
+ abstract : true
150
+ doc : |
151
+ Define an input or output parameter to a process.
152
+
144
153
fields :
154
+ - name : label
155
+ type :
156
+ - " null"
157
+ - string
158
+ jsonldPredicate : " rdfs:label"
159
+ doc : " A short, human-readable label of this parameter object."
160
+
161
+ - name : description
162
+ type :
163
+ - " null"
164
+ - string
165
+ jsonldPredicate : " rdfs:comment"
166
+ doc : " A long, human-readable description of this parameter object."
145
167
- name : secondaryFiles
146
168
type :
147
169
- " null"
@@ -200,29 +222,6 @@ $graph:
200
222
pipe. Default: `false`.
201
223
202
224
203
- - name : Parameter
204
- type : record
205
- extends : " #SchemaBase"
206
- abstract : true
207
- doc : |
208
- Define an input or output parameter to a process.
209
-
210
- fields :
211
- - name : label
212
- type :
213
- - " null"
214
- - string
215
- jsonldPredicate : " rdfs:label"
216
- doc : " A short, human-readable label of this parameter object."
217
-
218
- - name : description
219
- type :
220
- - " null"
221
- - string
222
- jsonldPredicate : " rdfs:comment"
223
- doc : " A long, human-readable description of this parameter object."
224
-
225
-
226
225
- type : enum
227
226
name : Expression
228
227
doc : |
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ $graph:
504
504
extends : ProcessRequirement
505
505
doc : |
506
506
Indicates that the workflow platform must support nested workflows in
507
- the `run` field of ( WorkflowStep) (#WorkflowStep).
507
+ the `run` field of [ WorkflowStep] (#WorkflowStep).
508
508
509
509
- name : ScatterFeatureRequirement
510
510
type : record
Original file line number Diff line number Diff line change 60
60
- job : draft-4/cat-job.json
61
61
tool : draft-4/cat3-tool-shortcut.cwl
62
62
doc : Test command execution in Docker with stdout redirection
63
+ output :
64
+ output_file :
65
+ class : File
66
+ checksum : sha1$47a013e660d408619d894b20806b1d5086aab03b
67
+ path : Any
68
+ size : 13
63
69
64
70
- job : draft-4/cat-job.json
65
71
output :
76
82
job :
77
83
tool : draft-4/egrep-stderr.cwl
78
84
doc : Test command line with stderr redirection
85
+ output :
86
+ output_file :
87
+ class : File
88
+ checksum : sha1$cec7b8746a78c42060c96505887449bca0142976
89
+ size : 84
90
+ path : error.txt
79
91
80
92
- args : [egrep]
81
93
job :
82
94
tool : draft-4/egrep-stderr-shortcut.cwl
83
95
doc : Test command line with stderr redirection, brief syntax
96
+ output :
97
+ output_file :
98
+ class : File
99
+ checksum : sha1$cec7b8746a78c42060c96505887449bca0142976
100
+ size : 84
101
+ path : Any
84
102
85
103
- args : [egrep]
86
104
stderr : std.err
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ description: "Print the contents of a file to stdout using 'cat' running in a do
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
+ SoftwareRequirement:
9
+ name: cat
8
10
inputs :
9
11
file1:
10
12
type : File
You can’t perform that action at this time.
0 commit comments