Skip to content

Commit 347c28e

Browse files
committed
Merge pull request #212 from common-workflow-language/cwl-runner-interface
Initial description of cwl-runner interface
2 parents f36f52f + 28f64f0 commit 347c28e

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

draft-3/cwl-runner.cwl

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#!/usr/bin/env cwl-runner
2+
class: CommandLineTool
3+
cwlVersion: "cwl:draft-3"
4+
5+
description: |
6+
Generic interface to run a Common Workflow Language tool or workflow from the
7+
command line. To be implemented by each CWL compliant execution platform for
8+
testing conformance to the standard and optionally for use by users.
9+
10+
inputs:
11+
- id: outdir
12+
type: string
13+
default: outdir
14+
description: |
15+
Output directory, defaults to the current directory
16+
inputBinding:
17+
prefix: "--outdir"
18+
19+
- id: quiet
20+
type: boolean
21+
description: no diagnostic output
22+
inputBinding:
23+
prefix: "--quiet"
24+
25+
- id: toolfile
26+
type: [ "null", File ]
27+
description: |
28+
The tool or workflow description to run. Optional if the jobfile has a
29+
`cwl:tool` field to indicate the tool or workflow description to run.
30+
inputBinding:
31+
position: 1
32+
33+
- id: jobfile
34+
type: File
35+
inputBinding:
36+
position: 2
37+
38+
- id: conformance-test
39+
type: boolean
40+
inputBinding:
41+
prefix: "--conformance-test"
42+
43+
- id: basedir
44+
type: string
45+
inputBinding:
46+
prefix: "--basedir"
47+
48+
- id: no-container
49+
type: boolean
50+
description: |
51+
Do not execute jobs in a Docker container, even when listed as a Requirement
52+
inputBinding:
53+
prefix: "--no-container"
54+
55+
- id: tmp-outdir-prefix
56+
type: string
57+
description: |
58+
Path prefix for temporary directories. Useful for OS X so that boot2docker
59+
writes to /Users
60+
inputBinding:
61+
prefix: "--tmp-outdir-prefix"
62+
63+
- id: tmpdir-prefix
64+
type: string
65+
description: |
66+
Path prefix for temporary directories
67+
inputBinding:
68+
prefix: "--tmpdir-prefix"
69+
70+
baseCommand: cwl-runner
71+
72+
stdout: output-object.json
73+
74+
outputs:
75+
- id: output-object
76+
type: File
77+
outputBinding:
78+
glob: output-object.json

0 commit comments

Comments
 (0)