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
* add pipeline configuration documentation
* allow running create-pipeline-config with no options
---------
Co-authored-by: Lee Pang <[email protected]>
To enable [pipeline configuration](#configuring-a-pipeline) you need to install extras using:
21
+
22
+
```bash
23
+
pip install cirro[nextflow] # just nextflow pipeline configuration support
24
+
pip install cirro[wdl] # just wdl pipeline configuraiton support
25
+
pip install cirro[nextflow,wdl] # both nextflow and wdl pipeline configuration support
26
+
```
27
+
28
+
**NOTE**: Configuring Nextflow pipelines also requires a local installation of [`nextflow`](https://www.nextflow.io/).
29
+
20
30
## Authentication
21
31
22
32
Upon first use, the Cirro client will ask you what Cirro instance to use and if you would like to save your login information.
@@ -99,6 +109,28 @@ Options:
99
109
--help Show this message and exit.
100
110
```
101
111
112
+
#### Configuring a pipeline
113
+
```bash
114
+
Usage: cirro create-pipeline-config [OPTIONS]
115
+
116
+
Create pipeline configuration files
117
+
118
+
Options:
119
+
-p, --pipeline-dir DIRECTORY Directory containing the pipeline definition
120
+
files (e.g., WDL or Nextflow) [default: .]
121
+
-e, --entrypoint TEXT Entrypoint WDL file (optional, if not
122
+
specified, the first WDL file found will be
123
+
used). Ignored for Nextflow pipelines.
124
+
-o, --output-dir TEXT Directory to store the generated configuration
125
+
files [default: .cirro]
126
+
-i, --interactive Gather arguments interactively
127
+
--help Show this message and exit.
128
+
```
129
+
130
+
It is highly recommended that:
131
+
- Nextflow pipelines utilize a [`nextflow_schema.json`](https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/nextflow_schema_specification/) file. (If your pipeline originates from [NF-Core](https://nf-co.re/), this should already be the case.)
132
+
- WDL pipelines are defined in WDL v1.0 or higher and explicitly define an `input` section in the root-level workflow.
133
+
102
134
### Interactive Commands
103
135
104
136
When running a command, you can specify the `--interactive` flag to gather the command arguments interactively.
0 commit comments