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
---------
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Signed-off-by: Chris Hakkaart <chris.hakkaart@seqera.io>
Co-authored-by: Chris Hakkaart <chris.hakkaart@seqera.io>
Copy file name to clipboardExpand all lines: docs/migrations/25-04.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The third preview of workflow outputs introduces the following breaking changes
32
32
33
33
- The `mapper` index directive has been removed. Use a `map` operator in the workflwo body instead.
34
34
35
-
See {ref}`workflow-output-def` to learn more about the workflow output definition.
35
+
See {ref}`migrating-workflow-outputs` to get started.
36
36
37
37
<h3>Topic channels (out of preview)</h3>
38
38
@@ -44,7 +44,7 @@ This release introduces built-in provenance tracking, also known as *data lineag
44
44
45
45
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.
46
46
47
-
See the {ref}`data-lineage-page` guide to get started.
Copy file name to clipboardExpand all lines: docs/tutorials/data-lineage.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
(data-lineage-page)=
2
2
3
-
# Data lineage
3
+
# Getting started with data lineage
4
4
5
5
Data lineage in Nextflow provides comprehensive tracking of workflow runs, task executions, and output files. This feature helps you verify the integrity and reproducibility of your pipeline results by maintaining a complete history of computations and intermediate data.
Copy file name to clipboardExpand all lines: docs/tutorials/flux.md
+8-34Lines changed: 8 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@
5
5
:::{versionadded} 22.11.0-edge
6
6
:::
7
7
8
-
The [Flux Framework](https://flux-framework.org/) is a modern resource manager that can span the space between cloud and HPC. If your center does not provide Flux for you, you can [build Flux on your own](https://flux-framework.readthedocs.io/en/latest/quickstart.html#building-the-code) and launch it as a job with your resource manager of choice (e.g. SLURM or a cloud provider).
8
+
## Overview
9
9
10
-
## Tutorial
10
+
The [Flux Framework](https://flux-framework.org/) is a modern resource manager that can span the space between cloud and HPC. If your center does not provide Flux, you can [build Flux yourself](https://flux-framework.readthedocs.io/en/latest/quickstart.html#building-the-code) and launch it as a job using your resource manager of choice (e.g. SLURM or a cloud provider).
11
11
12
12
In the [`docker/flux`](https://github.com/nextflow-io/nextflow/tree/master/docker/flux) directory we provide a [Dockerfile for interacting with Flux](https://github.com/nextflow-io/nextflow/tree/master/docker/flux/.devcontainer/Dockerfile) along with a [VSCode Developer Container](https://code.visualstudio.com/docs/devcontainers/containers) environment that you can put at the root of the project to be provided with a Flux agent and the dependencies needed to build Nextflow. There are two ways to use this:
13
13
@@ -16,7 +16,7 @@ In the [`docker/flux`](https://github.com/nextflow-io/nextflow/tree/master/docke
16
16
17
17
Both strategies are described below. For this tutorial, you will generally want to prepare a pipeline to use the `flux` executor, create an environment with Flux, start a Flux instance, and interact with it.
18
18
19
-
###Prepare your pipeline
19
+
## Prepare your pipeline
20
20
21
21
To run your pipeline with Flux, you'll want to specify it in your config. Here is an example `nextflow.config`:
22
22
@@ -53,7 +53,7 @@ process haveMeal {
53
53
}
54
54
```
55
55
56
-
### Container Environment
56
+
##Prepare your environment
57
57
58
58
You can either build the Docker image from the root of the Nextflow repository:
59
59
@@ -81,19 +81,15 @@ $ code .
81
81
82
82
Then you should be able to open a terminal (**Terminal** -> **New Terminal**) to interact with the command line. Try running `make` again! Whichever of these two approaches you take, you should be in a container environment with the `flux` command available.
83
83
84
-
###Start a Flux Instance
84
+
## Start a Flux instance
85
85
86
86
Once in your container, you can start an interactive Flux instance (from which you can submit jobs on the command line to test with Nextflow) as follows:
87
87
88
88
```console
89
89
$ flux start --test-size=4
90
90
```
91
91
92
-
#### Getting Familiar with Flux
93
-
94
-
:::{note}
95
-
This step is optional!
96
-
:::
92
+
### Getting familiar with Flux
97
93
98
94
Here is an example of submitting a job and getting the log for it.
99
95
@@ -125,7 +121,7 @@ $ flux jobs
125
121
ƒ4tkMUAAT root sleep R 1 1 2.546s ab6634a491bb
126
122
```
127
123
128
-
###Submitting with Nextflow
124
+
## Submitting with Nextflow
129
125
130
126
Prepare your `nextflow.config` and `demo.nf` in the same directory.
131
127
@@ -134,27 +130,7 @@ $ ls .
134
130
demo.nf nextflow.config
135
131
```
136
132
137
-
If you've installed Nextflow already, you are good to go! If you are working with development code and need to build Nextflow:
138
-
139
-
```console
140
-
$ make assemble
141
-
```
142
-
143
-
Make sure `nextflow` is on your PATH (here we are in the root of the Nextflow repository):
144
-
145
-
```console
146
-
$ export PATH=$PWD:$PATH
147
-
$ which nextflow
148
-
/workspaces/nextflow/nextflow
149
-
```
150
-
151
-
Then change to the directory with your config and demo file:
152
-
153
-
```console
154
-
$ cd docker/flux
155
-
```
156
-
157
-
And then run the pipeline with Flux!
133
+
Finally, run the pipeline with Flux:
158
134
159
135
```console
160
136
$ nextflow -c nextflow.config run demo.nf
@@ -169,5 +145,3 @@ executor > flux (5)
169
145
🥑️ for breakfast!
170
146
🥧️ for breakfast!
171
147
```
172
-
173
-
And that's it! You've just run a pipeline using nextflow and Flux.
**Raw Usage** tabs are expected to show 100% core usage if processes perform one task of pure computation. If tasks are distributed over, 2, 3, or 4 CPUs, the raw usage will be 200%, 300%, or 400%, respectively. **% Allocated** tabs rescale raw usage values relative to the number of CPUs that are set with the `cpus` directive. If the `cpus` directive is not set, CPUs are set to `1` and **% Allocated** tabs will show the same values **Raw Usage** tabs.
@@ -253,17 +253,17 @@ workflow{
253
253
254
254
The **Virtual (RAM + Disk swap)** tab shows that both `malloc` and `malloc_fill` use the same amount of virtual memory (~1 GiB):
@@ -274,7 +274,7 @@ Memory and storage metrics are reported in bytes. For example, 1 KB = $1024$ byt
274
274
275
275
**Job Duration** plots report how long each process took to run. It has two tabs. The **Raw Usage** tab shows the job duration and the **% Allocated** tab shows the time that was requested relative to what was requested using the `time` directive. Job duration is sometimes known as elapsed real time, real time or wall time.
0 commit comments