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
{{ message }}
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+55-8
Original file line number
Diff line number
Diff line change
@@ -11,22 +11,69 @@ The library works for both Python 2.7.12+ and 3.6.0.
11
11
12
12
------------------------
13
13
14
-
# Quick-start guide
15
14
16
-
## Installation
15
+
#Common Workflow Language
17
16
18
-
You can install python-cwlgen using pip with the following command:
17
+
[Common Workflow Language (CWL)](https://www.commonwl.org/v1.0/index.html) is a language to describe workflows.
18
+
The [user guide](http://www.commonwl.org/user_guide/01-introduction/index.html)
19
+
gives a gentle explanation of what its goals are, but broadly:
20
+
21
+
1. Stop writing bash scripts for long complex jobs.
22
+
2. Take pipelines anywhere (portability).
23
+
3. Enforce reproducibility guidelines.
24
+
25
+
This python repository is a python wrapper for _most_ of the classes (work in progress),
26
+
allowing you to build the structure of the workflow in Python and have this module generate and export CWL for you.
27
+
28
+
**Nb:** This doesn't check the logic of Workflows or CommandLineTools for you.
29
+
[CWLTool](https://github.com/common-workflow-language/cwltool) has a `--validate` mode that you can use.
30
+
31
+
## Quick-start guide
32
+
33
+
You can install python-cwlgen through pip with the following command:
19
34
20
35
```bash
21
36
pip install cwlgen
22
37
```
23
38
24
-
## How it works ?
39
+
### How it works?
40
+
41
+
This repository contains a number of python classes that mirror the CWL specifications ([Workflow](https://www.commonwl.org/v1.0/Workflow.html)|
42
+
[CommandLineTool](https://www.commonwl.org/v1.0/CommandLineTool.html)). In essence, each class's initializer has all
43
+
of the properties it expects, which may be another object. The classes include the relevant docstrings to give you
44
+
context of classes and their properties.
45
+
46
+
The `examples/` folder contains some simple examples, however in essence you simply initialize the class you're
47
+
trying to build. An initializer for a class has all of the properties it expects which may be another object.
48
+
25
49
26
-
An example of usage is available in the `example/` folder of the repository (more details [here](http://python-cwlgen.readthedocs.io/en/latest/user_guide.html))
0 commit comments