You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document and the <code>include</code> directive implicitly replaced by a string with
262
266
the contents of the document. Because the loaded resource is unparsed,
263
267
URIs used with <code>include</code> must not include fragments.</p>
268
+
<h1id="extensions_and_metadata">2.5 Extensions and Metadata</h1><p>Implementation extensions not required for correct
269
+
execution (for example, fields related to GUI rendering) may
270
+
be stored in <ahref="#requirements_and_hints">process hints</a>.</p>
271
+
<p>Input metadata (for example, a lab sample identifier) may be explicitly
272
+
represented within a workflow using input parameters which are propagated
273
+
to output. Future versions of this specification may define additional
274
+
facilities for working with input/output metadata.</p>
275
+
<p>Fields for tool and workflow metadata (for example, authorship for use in
276
+
citations) are not defined in this specification. Future versions of this
277
+
specification may define such fields.</p>
264
278
<h1id="execution_model">3. Execution model</h1><h1id="execution_concepts">3.1 Execution concepts</h1><p>A <strong>parameter</strong> is a named symbolic input or output of process, with an
265
279
associated datatype or schema. During execution, values are assigned to
266
280
parameters to make the input object or output object used for concrete
<p>A workflow is a process consisting of one or more <code>steps</code>. Each
585
599
step has input and output parameters defined by the <code>inputs</code> and <code>outputs</code>
586
600
fields. A workflow executes as described in <ahref="#workflow_graph">execution model</a>.</p>
587
-
<h1id="dependencies">Dependencies</h1><p>Dependencies between parameters are expressed by <ahref="#datalink">data links</a>
588
-
on <ahref="#workflowstepinput">workflow step input parameters</a>
589
-
and <ahref="#workflowoutputparameter">workflow output parameters</a>.</p>
590
-
<p>A data link expresses the dependency of one parameter on another such that
591
-
when a value is associated with the parameter specified by
592
-
<ahref="#datalink"><code>DataLink.source</code></a>, that value is propagated to the destination
593
-
parameter. When all data links inbound to a given step are fufilled, the
594
-
step is ready to execute.</p>
595
-
<h1id="extensions">Extensions</h1><p><ahref="#scatter">Scatter</a> and <ahref="#Subworkflows">Subworkflows</a> are available
596
-
as standard extensions to core workflow semantics.</p>
601
+
<h1id="dependencies">Dependencies</h1><p>Dependencies between parameters are expressed using the <code>source</code> field on
602
+
<ahref="#workflowstepinput">workflow step input parameters</a> and <ahref="#workflowoutputparameter">workflow output
603
+
parameters</a>.</p>
604
+
<p>The <code>source</code> field expresses the dependency of one parameter on another
605
+
such that when a value is associated with the parameter specified by
606
+
<code>source</code>, that value is propagated to the destination parameter. When all
607
+
data links inbound to a given step are fufilled, the step is ready to
608
+
execute.</p>
609
+
<h1id="extensions">Extensions</h1><p><ahref="#scatterfeaturerequirement">ScatterFeatureRequirement</a> and
610
+
<ahref="#subworkflowfeaturerequirement">SubworkflowFeatureRequirement</a> are
611
+
available as standard extensions to core workflow semantics.</p>
597
612
<h3>Fields</h3><tableclass="table table-striped"><tr><th>field</th><th>type</th><th>required</th><th>description</th></tr><tr><td><code>id</code></td><td><ahref="#datatype">string</a></td><td>False</td><td><p>The unique identifier for this process object. <em>Inherited from <ahref="#process">Process</a></em></p>
598
613
</td></tr><tr><td><code>inputs</code></td><td>array<<ahref="#inputparameter">InputParameter</a>></td><td>True</td><td><p>Defines the input parameters of the process. The process is ready to
599
614
run when all required input parameters are associated with concrete
@@ -656,7 +671,7 @@ <h1 id="scatter/gather">Scatter/gather</h1><p>To use scatter/gather,
656
671
which are connected to scattered parameters may be arrays.</p>
657
672
<p>All output parameters types are also implicitly wrapped in arrays; each job
658
673
in the scatter results in an entry in the output array.</p>
659
-
<p>If <code>scatter</code> declares more than one input parameter, he <code>scatterMethod</code>
674
+
<p>If <code>scatter</code> declares more than one input parameter, <code>scatterMethod</code>
660
675
describes how to decompose the input into a discrete set of jobs.</p>
661
676
<ul>
662
677
<li><p><strong>dotproduct</strong> specifies that each the input arrays are aligned and one
@@ -675,7 +690,7 @@ <h1 id="scatter/gather">Scatter/gather</h1><p>To use scatter/gather,
675
690
</li>
676
691
</ul>
677
692
<h1id="subworkflows">Subworkflows</h1><p>To specify a nested workflow as part of a workflow step,
678
-
(SubworkflowFeatureRequirement)(#SubworkflowFeatureRequirement) must be
693
+
<ahref="#subworkflowfeaturerequirement">SubworkflowFeatureRequirement</a> must be
679
694
specified in the workflow or workflow step requirements.</p>
680
695
<h3>Fields</h3><tableclass="table table-striped"><tr><th>field</th><th>type</th><th>required</th><th>description</th></tr><tr><td><code>id</code></td><td><ahref="#datatype">string</a></td><td>False</td><td><p>The unique identifier for this workflow step.</p>
681
696
</td></tr><tr><td><code>inputs</code></td><td>array<<ahref="#workflowstepinput">WorkflowStepInput</a>></td><td>True</td><td><p>Defines the input parameters of the workflow step. The process is ready to
<p>The input of a workflow step connects an upstream parameter (from the
696
711
workflow inputs, or the outputs of other workflows steps) with the input
697
712
parameters of the underlying process.</p>
698
-
<p>If the sink parameter is an array, or named in a <ahref="#scatter">workflow
713
+
<p>If the sink parameter is an array, or named in a <ahref="#workflowstep">workflow
699
714
scatter</a> operation, there may be multiple inbound data links
700
715
listed in the <code>connect</code> field. The values from the input links are merged
701
716
depending on the method specified in the <code>linkMerge</code> field. If not
@@ -732,23 +747,25 @@ <h1 id="workflowstepoutput">5.1.2.2 WorkflowStepOutput</h1><p>Referenced by <a h
732
747
as a <code>source</code> to connect with input parameters of other workflow steps, or
733
748
with an output parameter of the process.</p>
734
749
<h3>Fields</h3><tableclass="table table-striped"><tr><th>field</th><th>type</th><th>required</th><th>description</th></tr><tr><td><code>id</code></td><td><ahref="#datatype">string</a></td><td>True</td><td><p>A unique identifier for this workflow output parameter. This is the
735
-
identifier to use in the <code>source</code> field of <code>DataLink</code> to connect the
0 commit comments