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: docs/module.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,7 +277,7 @@ Those scripts will be made accessible like any other command in the task environ
277
277
This feature requires the use of a local or shared file system for the pipeline work directory, or {ref}`wave-page` when using cloud-based executors.
278
278
:::
279
279
280
-
:::{info}
280
+
:::{note}
281
281
When {ref}`wave-page` is enabled, the contents of the module `resources/` directory are automatically included in the provisioned container. Wave treats the `resources/` directory as the container root. For example, `resources/some/data/file.txt` becomes `/some/data/file.txt` in the container.
Copy file name to clipboardExpand all lines: docs/tutorials/data-lineage.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,10 @@ Every output file is represented in the lineage store as a `FileOutput` record.
139
139
140
140
As this record is a workflow output, it is not linked directly to a task run. Instead, it is linked to the original task output.
141
141
142
+
:::{note}
143
+
The `labels` field is `null` because no labels were assigned to this file. Labels are set using the `label` directive in the `output` block. See {ref}`workflow-output-labels` for more information.
144
+
:::
145
+
142
146
Any LID in a lineage record can be viewed, allowing you to traverse the lineage metadata interactively. Use the value of `source` to view the original task output:
143
147
144
148
```console
@@ -303,10 +307,10 @@ Note the difference between the task scripts, highlighting the change that cause
303
307
304
308
Workflow outputs declared in the `output` block are also recorded in the lineage store. The output of a workflow run is accessible as `lid://<WORKFLOW_RUN_HASH>#output`.
305
309
306
-
For example, run the `rnaseq-nf` pipeline using the `preview-25-04` branch, which uses the `output` block to publish outputs:
310
+
For example, run the `rnaseq-nf` pipeline with the `preview-25-04` branch, which uses the `output` block to publish outputs:
307
311
308
312
```console
309
-
$ nextflow -r preview-25-04 -profile conda
313
+
$ nextflow run rnaseq-nf -r preview-25-04 -profile conda
310
314
```
311
315
312
316
View the workflow output in the lineage metadata:
@@ -337,7 +341,20 @@ The following types are used in workflow output lineage records:
337
341
|`Map`| object |`Map`, `Record`|
338
342
|`Path`| string with `lid://` prefix |`Path`|
339
343
340
-
See {ref}`workflow-output-def` for more information about the `output` block.
344
+
When labels are assigned to a workflow output with the `label` directive, they appear in the `labels` field of each corresponding `FileOutput` record:
Labels can be used to filter files when querying lineage records with the `nextflow lineage find` command. See {ref}`workflow-output-labels` for details on assigning labels to workflow outputs.
This setting instructs Wave to prioritize the module Dockerfile over process `container` directives.
64
64
65
-
:::{info}
65
+
:::{note}
66
66
When building containers, Wave does not support `ADD`, `COPY`, or any other Dockerfile commands that access files in the host file system. To include custom scripts or files, use the module `resources/` directory instead. Wave automatically includes its contents in the container build context. See {ref}`module-binaries` for more details.
Copy file name to clipboardExpand all lines: docs/workflow.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -337,6 +337,23 @@ Files that do not originate from the work directory are not published, but are i
337
337
338
338
See [Output directives](#output-directives) for the list of available index directives.
339
339
340
+
(workflow-output-labels)=
341
+
342
+
### Labels
343
+
344
+
You can apply labels to each workflow output using the `label` directive:
345
+
346
+
```nextflow
347
+
output {
348
+
multiqc_report {
349
+
label 'qc'
350
+
label 'summary'
351
+
}
352
+
}
353
+
```
354
+
355
+
Labels can be used to find and filter output files across workflow runs with data lineage. They are stored in the `labels` field of each `FileOutput` record published by the workflow output in the lineage store. See {ref}`data-lineage-page` for details on how to query output files by label.
356
+
340
357
### Output directives
341
358
342
359
The following directives are available for each output in the output block:
Copy file name to clipboardExpand all lines: docs/your-first-script.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This guide details fundamental skills to run a basic Nextflow pipeline. It inclu
12
12
13
13
You will need the following to get started:
14
14
15
-
- Nextflow version 25.10 or later. See {ref}`install-page` for installation instructions. If you have an older version, see {ref}`updating-nextflow` to update.
15
+
- Nextflow version 25.10 or later. See {ref}`install-page` for installation instructions. If you have an older version, see {ref}`updating-nextflow-page` to update.
0 commit comments