Skip to content

Commit 1bbb38e

Browse files
committed
Merge commit '174035bce5733a5534e0d7127218169469849005' into fix-package-errror
2 parents 76dc059 + 174035b commit 1bbb38e

34 files changed

+421
-93
lines changed

cwltool/schemas/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ Please cite https://dx.doi.org/10.6084/m9.figshare.3115156.v2
4040

4141
## Implementations
4242

43-
|Software|Description|CWL support|Platform support|Maturity|
43+
|Software|Description|CWL support|Platform support|Platform Maturity|
4444
|--------|-----------|-----------|--------|--------|
4545
|[cwltool](https://github.com/common-workflow-language/cwltool)|Reference implementation of CWL|[![Build Status](https://ci.commonwl.org/job/cwltool-conformance/badge/icon)](http://ci.commonwl.org/job/cwltool-conformance/lastBuild/testReport/)|Linux, OS X, local execution only|Production|
4646
|[Arvados](https://arvados.org)|Distributed computing platform for data analysis on massive data sets. [Using CWL on Arvados](http://doc.arvados.org/user/cwl/cwl-runner.html)|[![Build Status](https://ci.commonwl.org/job/arvados-conformance/badge/icon)](http://ci.commonwl.org/job/arvados-conformance/lastBuild/testReport/)|AWS, GCP, Azure, Slurm|Production|
4747
|[Toil](https://github.com/BD2KGenomics/toil)|Toil is a workflow engine entirely written in Python.|[![Build Status](https://ci.commonwl.org/job/toil-conformance/badge/icon)](http://ci.commonwl.org/job/toil-conformance/lastBuild/testReport/)|AWS, GCP, Azure, OpenStack, Grid Engine, Mesos|Production|
48+
|[Rabix Bunny](https://github.com/rabix/bunny)|Reproducible Analyses for Bioinformatics|[![Build Status](https://ci.commonwl.org/buildStatus/icon?job=rabix-conformance)](https://ci.commonwl.org/job/rabix-conformance/)|Java|alpha|
4849
|[Apache Taverna](http://taverna.incubator.apache.org/)|Domain-independent Workflow Management System|[alpha](https://issues.apache.org/jira/browse/TAVERNA-900)|Java|Production|
4950
|[Galaxy](https://galaxyproject.org/)|Web-based platform for data intensive biomedical research.|[alpha](https://github.com/common-workflow-language/galaxy)|Python|Production|
5051
|[AWE](https://github.com/MG-RAST/AWE)|Workflow and resource management system for bioinformatics data analysis.|[alpha](https://github.com/wgerlach/AWE)|Go|Production|
5152
|[Funnel](https://github.com/bmeg/funnel)|Use Google Genomics Pipeline API with CWL|alpha|GCP|alpha|
52-
|[Rabix Bunny](https://github.com/rabix/bunny)|Reproducible Analyses for Bioinformatics|alpha|Java|alpha|
53+
|[xenon-cwl-runner](https://github.com/NLeSC/xenon-cwl-runner)|Run CWL workflows using Xenon|alpha|[any Xenon backend](http://nlesc.github.io/Xenon/): local, ssh, SLURM, Torque, Grid Engine|Production|
54+
5355

5456
## Repositories of CWL Tools and Workflows
5557

@@ -68,6 +70,8 @@ Please cite https://dx.doi.org/10.6084/m9.figshare.3115156.v2
6870
|[cwl2argparse](https://github.com/common-workflow-language/cwl2argparse)|Generate Python argparse code from CWL CommandLineTool description.|
6971
|[pypi2cwl](https://github.com/common-workflow-language/pypi2cwl)|Automatically run argparse2cwl on any package in PyPi|
7072
|[cwlavro](https://github.com/common-workflow-language/cwlavro)|Java classes for loading CWL documents|
73+
|[acd2cwl](https://github.com/common-workflow-language/acd2cwl)|CWL generator for ACD (EMBOSS) files |
74+
|[CWLviewer](https://github.com/MarkRobbo/CWLViewer)|A web application to view and share Common Workflow Language workflows|
7175

7276
## Support, Community and Contributing
7377

cwltool/schemas/draft-2/draft-2/binding-test.cwl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ inputs:
2222
inputBinding:
2323
position: -1
2424

25-
outputs: []
25+
outputs:
26+
- id: "#args"
27+
type:
28+
type: array
29+
items: string
2630

2731
baseCommand: python
2832
arguments: ["bwa", "mem"]

cwltool/schemas/draft-2/draft-2/cat1-testcli.cwl

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,24 @@
1717
}
1818
},
1919
{
20-
id: "#args.py",
21-
type: File,
22-
default: {
23-
class: File,
24-
path: args.py
25-
},
26-
inputBinding: {
27-
position: -1
28-
}
20+
"id": "#args.py",
21+
"type": "File",
22+
"default": {
23+
"class": "File",
24+
"path": "args.py"
25+
},
26+
"inputBinding": {
27+
"position": -1
28+
}
2929
}
3030
],
31-
"outputs": [],
31+
"outputs": [{
32+
"id": "#args",
33+
"type": {
34+
"type": "array",
35+
"items": "string"
36+
}
37+
}],
3238
"baseCommand": "python",
3339
"arguments": ["cat"]
3440
}

cwltool/schemas/draft-2/draft-2/tmap-tool.cwl

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
}
1919
},
2020
{
21-
id: "#args.py",
22-
type: File,
23-
default: {
24-
class: File,
25-
path: args.py
21+
"id": "#args.py",
22+
"type": "File",
23+
"default": {
24+
"class": "File",
25+
"path": "args.py"
2626
},
27-
inputBinding: {
28-
position: -1
27+
"inputBinding": {
28+
"position": -1
2929
}
3030
}
3131
],
@@ -36,6 +36,13 @@
3636
"glob": "output.sam"
3737
},
3838
"type": ["null", "File"]
39+
},
40+
{
41+
"id": "#args",
42+
"type": {
43+
"type": "array",
44+
"items": "string"
45+
}
3946
}
4047
],
4148
"requirements": [

cwltool/schemas/draft-3/draft-3/binding-test.cwl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ inputs:
2323
inputBinding:
2424
position: -1
2525

26-
outputs: []
26+
outputs:
27+
- id: args
28+
type:
29+
type: array
30+
items: string
2731

2832
baseCommand: python
2933
arguments: ["bwa", "mem"]

cwltool/schemas/draft-3/draft-3/cat1-testcli.cwl

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,24 @@
1818
}
1919
},
2020
{
21-
id: "args.py",
22-
type: File,
23-
default: {
24-
class: File,
25-
path: args.py
21+
"id": "args.py",
22+
"type": "File",
23+
"default": {
24+
"class": "File",
25+
"path": "args.py"
2626
},
27-
inputBinding: {
28-
position: -1
27+
"inputBinding": {
28+
"position": -1
2929
}
3030
}
3131
],
32-
"outputs": [],
32+
"outputs": [{
33+
"id": "args",
34+
"type": {
35+
"type": "array",
36+
"items": "string"
37+
}
38+
}],
3339
"baseCommand": "python",
3440
"arguments": ["cat"]
3541
}

cwltool/schemas/draft-3/draft-3/tmap-tool.cwl

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
}
2121
},
2222
{
23-
id: "#args.py",
24-
type: File,
25-
default: {
26-
class: File,
27-
path: args.py
28-
},
29-
inputBinding: {
30-
position: -1
31-
}
23+
"id": "#args.py",
24+
"type": "File",
25+
"default": {
26+
"class": "File",
27+
"path": "args.py"
28+
},
29+
"inputBinding": {
30+
"position": -1
31+
}
3232
}
3333
],
3434
"outputs": [
@@ -38,6 +38,13 @@
3838
"glob": "output.sam"
3939
},
4040
"type": ["null", "File"]
41+
},
42+
{
43+
"id": "args",
44+
"type": {
45+
"type": "array",
46+
"items": "string"
47+
}
4148
}
4249
],
4350
"requirements": [

cwltool/schemas/v1.0/UserGuide.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@
290290
- |
291291
## Parameter references
292292
293-
In a previous example, we used extracted a file using the "tar" program.
294-
However, that example was very limited becuase it assumed that the file
293+
In a previous example, we extracted a file using the "tar" program.
294+
However, that example was very limited because it assumed that the file
295295
we were interested in was called "hello.txt". In this example, you will
296296
see how to reference the value of input parameters dynamically from other
297297
fields.

cwltool/schemas/v1.0/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ preprocessing steps described in the
8989
[Semantic Annotations for Linked Avro Data (SALAD) Specification](SchemaSalad.html).
9090
An implementation may formally validate the structure of a CWL document using
9191
SALAD schemas located at
92-
https://github.com/common-workflow-language/common-workflow-language/tree/master/draft-4
92+
https://github.com/common-workflow-language/common-workflow-language/tree/master/v1.0
9393

9494
## Identifiers
9595

cwltool/schemas/v1.0/conformance_test_v1.0.yaml

Lines changed: 97 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
output_file:
6464
class: File
6565
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
66-
location:
66+
location: Any
6767
size: 13
6868
doc: Test command execution in Docker with simplified syntax stdout redirection
6969

@@ -77,7 +77,7 @@
7777
tool: v1.0/cat3-tool-mediumcut.cwl
7878
doc: Test command execution in Docker with stdout redirection
7979

80-
- job:
80+
- job: v1.0/empty.json
8181
tool: v1.0/egrep-stderr.cwl
8282
doc: Test command line with stderr redirection
8383
output:
@@ -87,7 +87,7 @@
8787
size: 84
8888
location: error.txt
8989

90-
- job:
90+
- job: v1.0/empty.json
9191
tool: v1.0/egrep-stderr-shortcut.cwl
9292
doc: Test command line with stderr redirection, brief syntax
9393
output:
@@ -103,7 +103,7 @@
103103
size: 84
104104
checksum: sha1$cec7b8746a78c42060c96505887449bca0142976
105105
location: std.err
106-
job:
106+
job: v1.0/empty.json
107107
tool: v1.0/egrep-stderr-mediumcut.cwl
108108
doc: Test command line with stderr redirection, named brief syntax
109109

@@ -287,6 +287,16 @@
287287
tool: v1.0/env-wf2.cwl
288288
doc: Test requirements override hints
289289

290+
- job: v1.0/env-job.json
291+
output:
292+
out:
293+
class: File
294+
checksum: sha1$cdc1e84968261d6a7575b5305945471f8be199b6
295+
location: out
296+
size: 9
297+
tool: v1.0/env-wf3.cwl
298+
doc: Test requirements on workflow steps
299+
290300
- job: v1.0/empty.json
291301
output: {count_output: 16}
292302
tool: v1.0/count-lines9-wf.cwl
@@ -649,7 +659,23 @@
649659
}
650660
}
651661
tool: v1.0/test-cwl-out.cwl
652-
doc: Test support for reading cwl.output.json when running in Docker container
662+
doc: |
663+
Test support for reading cwl.output.json when running in a Docker container
664+
and just 'path' is provided.
665+
666+
- job: v1.0/empty.json
667+
output: {
668+
"foo": {
669+
"location": "foo",
670+
"class": "File",
671+
"checksum": "sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15",
672+
"size": 4
673+
}
674+
}
675+
tool: v1.0/test-cwl-out2.cwl
676+
doc: |
677+
Test support for reading cwl.output.json when running in a Docker container
678+
and just 'location' is provided.
653679
654680
- job: v1.0/abc.json
655681
output:
@@ -763,10 +789,10 @@
763789
- job: v1.0/dir4-job.yml
764790
output: {
765791
"outlist": {
766-
"checksum": "sha1$2ab6f189e84753c05a23413fbf6b6fbf4c53489f",
767-
"size": 90,
768-
"location": "output.txt",
769-
"class": "File"
792+
"checksum": "sha1$13cda8661796ae241da3a18668fb552161a72592",
793+
"size": 20,
794+
"location": "output.txt",
795+
"class": "File"
770796
}
771797
}
772798
tool: v1.0/dir4.cwl
@@ -883,3 +909,65 @@
883909
"size": 12010
884910
tool: v1.0/initialworkdirrequirement-docker-out.cwl
885911
doc: Test output of InitialWorkDir
912+
913+
- job: v1.0/wc-job.json
914+
output: {count_output: 16}
915+
tool: v1.0/count-lines10-wf.cwl
916+
doc: Test embedded subworkflow
917+
918+
- job: v1.0/docker-array-secondaryfiles-job.json
919+
output: {
920+
"bai_list": {
921+
"checksum": "sha1$081fc0e57d6efa5f75eeb237aab1d04031132be6",
922+
"location": "fai.list",
923+
"class": "File",
924+
"size": 386
925+
}
926+
}
927+
tool: v1.0/docker-array-secondaryfiles.cwl
928+
doc: Test secondaryFiles on array of files.
929+
930+
- job: v1.0/dir7.yml
931+
output: {
932+
"dir": {
933+
"location": "a_directory",
934+
"class": "Directory",
935+
"listing": [
936+
{
937+
"class": "File",
938+
"location": "whale.txt",
939+
"checksum": "sha1$327fc7aedf4f6b69a42a7c8b808dc5a7aff61376",
940+
"size": 1111
941+
},
942+
{
943+
"class": "File",
944+
"location": "hello.txt",
945+
"checksum": "sha1$47a013e660d408619d894b20806b1d5086aab03b",
946+
"size": 13
947+
}
948+
]
949+
}
950+
}
951+
tool: v1.0/dir7.cwl
952+
doc: Test directory literal output created by ExpressionTool
953+
954+
- job: v1.0/empty.json
955+
output:
956+
lit:
957+
location: "a_file"
958+
class: "File"
959+
checksum: "sha1$fea23663b9c8ed71968f86415b5ec091bb111448"
960+
size: 19
961+
tool: v1.0/file-literal-ex.cwl
962+
doc: Test file literal output created by ExpressionTool
963+
964+
- job: v1.0/empty.json
965+
output:
966+
"thing": {
967+
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
968+
"location": "thing",
969+
"class": "File",
970+
"size": 0
971+
}
972+
tool: v1.0/docker-output-dir.cwl
973+
doc: Test dockerOutputDirectory

cwltool/schemas/v1.0/salad/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ provides for robust support of inline documentation.
7070
.. _JSON-LD: http://json-ld.org
7171
.. _Avro: http://avro.apache.org
7272
.. _metaschema: https://github.com/common-workflow-language/schema_salad/blob/master/schema_salad/metaschema/metaschema.yml
73-
.. _specification: http://www.commonwl.org/draft-3/SchemaSalad.html
74-
.. _Language: https://github.com/common-workflow-language/common-workflow-language/blob/master/draft-3/CommandLineTool.yml
73+
.. _specification: http://www.commonwl.org/v1.0/SchemaSalad.html
74+
.. _Language: https://github.com/common-workflow-language/common-workflow-language/blob/master/v1.0/CommandLineTool.yml
7575
.. _RDF: https://www.w3.org/RDF/

cwltool/schemas/v1.0/v1.0/binding-test.cwl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ inputs:
2323
inputBinding:
2424
position: -1
2525

26-
outputs: []
26+
outputs:
27+
args: string[]
2728

2829
baseCommand: python
2930
arguments: ["bwa", "mem"]

0 commit comments

Comments
 (0)