forked from common-workflow-language/cwl-v1.3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cwl-runner.cwl
59 lines (48 loc) · 1.33 KB
/
cwl-runner.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
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.2
doc: |
Generic interface to run a Common Workflow Language tool or workflow from the
command line. To be implemented by each CWL compliant execution platform for
testing conformance to the standard and optionally for use by users.
inputs:
outdir:
type: string?
doc: |
Output directory, defaults to the current directory
inputBinding:
prefix: "--outdir"
quiet:
type: boolean?
doc: no diagnostic output
inputBinding:
prefix: "--quiet"
version:
type: boolean?
doc: report the name & version, then quit without further processing
inputBinding:
prefix: "--version"
processfile:
type: File?
doc: |
The CommandLineTool, ExpressionTool, or Workflow description to run.
Optional if the jobfile has a `cwl:tool` field to indicate which process
description to run.
inputBinding:
position: 1
jobfile:
type: File
doc: The input job document.
inputBinding:
position: 2
baseCommand: cwl-runner
outputs:
log: stderr
output_object_document:
type: stdout # in the CWL Output Object Document format
format: iana:application/json
successCodes:
- 0 # success
permanentFailCodes:
- 33 # failure due to unimplemented feature
$namespaces: { iana: https://www.iana.org/assignments/media-types/ }