Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/cwltool/schemas/v1.2/index.md @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 # Common Workflow Language Specifications, v1.2 | |
2 | |
3 The CWL specifications are divided up into several documents. | |
4 | |
5 The [User Guide](http://www.commonwl.org/user_guide/) provides a gentle | |
6 introduction to writing CWL command line tools and workflows. Currently it covers CWL v1.0 only. | |
7 | |
8 The [Command Line Tool Description Specification](CommandLineTool.html) | |
9 specifies the document schema and execution semantics for wrapping and | |
10 executing command line tools. | |
11 | |
12 The [Workflow Description Specification](Workflow.html) specifies the document | |
13 schema and execution semantics for composing workflows from components such as | |
14 command line tools and other workflows. | |
15 | |
16 The | |
17 [Semantic Annotations for Linked Avro Data (SALAD) Specification](SchemaSalad.html) | |
18 specifies the preprocessing steps that must be applied when loading CWL | |
19 documents and the schema language used to write the above specifications. | |
20 | |
21 Also available are inheritance graphs (as SVG images) for the [Schema Salad object model](salad.svg) and the [CWL object model](cwl.svg). | |
22 | |
23 # Running the CWL conformance tests | |
24 | |
25 Install a CWL runner of your choice. The reference runner can be installed as | |
26 the default runner by doing: | |
27 ``` | |
28 pip install cwlref-runner | |
29 ``` | |
30 | |
31 Install the CWL test parser: | |
32 ``` | |
33 pip install cwltest | |
34 ``` | |
35 You may need to activate a virtualenv first, or do a local install by adding `--user` after `install` above. | |
36 | |
37 From within a copy of [this repository](https://github.com/common-workflow-language/cwl-v1.2) (e.g. cwl-v1.2) execute the main test script | |
38 ``` | |
39 ./run_test.sh | |
40 ``` | |
41 | |
42 If the CWL runner isn't installed as `cwl-runner` then you can specify the name for the runner: | |
43 ``` | |
44 ./run_test.sh RUNNER=cwltool | |
45 ``` | |
46 | |
47 You can also specify additional options that are specific for the particular CWL runner you are using. | |
48 For example, with CWL reference runner you can turn on parallel execution mode: | |
49 ``` | |
50 ./run_test.sh RUNNER=cwltool EXTRA=--parallel | |
51 ``` | |
52 | |
53 This can be combined with launching more than one CWL conformance test at once with `-j`: | |
54 ``` | |
55 ./run_test.sh -j4 RUNNER=cwltool EXTRA=--parallel | |
56 ``` | |
57 | |
58 You can list all the tests | |
59 ``` | |
60 ./run_test.sh -l | |
61 ``` | |
62 | |
63 You can run a particular test | |
64 ``` | |
65 ./run_test.sh -n23 | |
66 ``` | |
67 | |
68 | |
69 If you are running tests using the CWL reference runner "cwltool" for an unreleased version of the CWL standards use the `--enable-dev` flag: | |
70 ``` | |
71 ./run_test.sh RUNNER=cwltool EXTRA=--enable-dev | |
72 ``` | |
73 | |
74 | |
75 For details of options you can pass to the test script, do: | |
76 ``` | |
77 ./run_test.sh --help | |
78 ``` |