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
Copy file name to clipboardExpand all lines: README.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,9 @@ Nextflow plugin for tracking provenance of pipeline output files.
4
4
5
5
## Getting Started
6
6
7
-
First,`nf-prov` requires Nextflow version `22.11.0-edge`(or later). You can achieve this by running the following snippet before your `nextflow run` command. In Nextflow Tower, you can include this in your pre-run script under "Advanced Options" on the "Launch Pipeline" page.
7
+
The`nf-prov`plugin requires Nextflow version `22.11.0-edge` or later.
8
8
9
-
```sh
10
-
export NXF_VER=22.11.0-edge
11
-
```
12
-
13
-
Second, to enable and configure `nf-prov`, you must include the following snippet to your Nextflow config and update as needed. Note that the use of `params.outdir` assumes that you are using an nf-core pipeline with that parameter.
9
+
To enable and configure `nf-prov`, include the following snippet to your Nextflow config and update as needed.
14
10
15
11
```groovy
16
12
plugins {
@@ -26,6 +22,26 @@ prov {
26
22
27
23
Finally, run your Nextflow pipeline. You do not need to modify your pipeline script in order to use the `nf-prov` plugin. The plugin will automatically generate a JSON file with provenance information.
28
24
25
+
## Configuration
26
+
27
+
The following options are available:
28
+
29
+
`prov.enabled`
30
+
31
+
Create the provenance manifest (default: `true` if plugin is loaded).
32
+
33
+
`prov.file`
34
+
35
+
The path of the provenance manifest (default: `manifest.json`).
36
+
37
+
`prov.patterns`
38
+
39
+
List of file patterns to include in the provenance manifest, from the set of published files. By default, all published files are included.
40
+
41
+
`prov.overwrite`
42
+
43
+
Overwrite any existing provenance report with the same name (default: `false`).
44
+
29
45
## Development
30
46
31
47
Run the following commands to build and test the nf-prov Nextflow plugin. Refer to the [nf-hello](https://github.com/nextflow-io/nf-hello) README for additional instructions (_e.g._ for publishing the plugin).
0 commit comments