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/migrations/25-04.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,14 @@ The third preview of workflow outputs introduces the following breaking changes
37
37
38
38
See {ref}`workflow-output-def` to learn more about the workflow output definition.
39
39
40
+
<h3>Data lineage</h3>
41
+
42
+
This release introduces built-in provenance tracking, also known as *data lineage*. When `lineage.enabled` is set to `true` in your configuration, Nextflow will record every workflow run, task execution, output file, and the links between them.
43
+
44
+
You can explore this lineage from the command line using the {ref}`cli-lineage` command. Additionally, you can refer to files in the lineage store from a Nextflow script using the `lid://` path prefix as well as the {ref}`channel-from-lineage` channel factory.
45
+
46
+
See the {ref}`cli-lineage` command and {ref}`config-lineage` config scope for details.
The `lineage` command is used to inspect lineage metadata.
706
+
The `lineage` command is used to inspect lineage metadata. Data lineage can be enabled by setting `lineage.enabled` to `true` in your Nextflow configuration (see the {ref}`config-lineage` config scope for details).
707
707
708
708
**Options**
709
709
@@ -720,31 +720,35 @@ TIMESTAMP RUN NAME SESSION ID
View a metadata description fragment. A fragment can be a property of a metadata description (e.g., `output`or `params`) or a set of nested properties separated by a `.` (e.g., `workflow.repository`).
729
+
The output of a workflow run can be shown by appending `#output`to the workflow run LID:
Find a specific metadata description that matches a URL-like query string. The query string consists of `key=value` statements separated by `&`, where keys are defined similarly to the `fragments` used in the `view` command.
735
+
:::{tip}
736
+
You can use the [jq](https://jqlang.org/) command-line tool to apply further queries and transformations on the resulting lineage record.
737
+
:::
738
+
739
+
Find all lineage records that match a set of key-value pairs:
0 commit comments