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/amazons3.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,9 @@ If the access credentials are not found in the above file, Nextflow looks for AW
47
47
2. The environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
48
48
3. The environment variables `AWS_ACCESS_KEY` and `AWS_SECRET_KEY`
49
49
4. The profile in the AWS credentials file located at `~/.aws/credentials`
50
-
- Uses the `default`profile or the environment variable `AWS_PROFILE` if set
50
+
- Uses the `default`profile or the environment variable `AWS_PROFILE` if set
51
51
5. The profile in the AWS client configuration file located at `~/.aws/config`
52
-
- Uses the `default`profile or the environment variable `AWS_PROFILE` if set
52
+
- Uses the `default`profile or the environment variable `AWS_PROFILE` if set
53
53
6. The temporary AWS credentials provided by an IAM instance role. See [IAM Roles](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) documentation for details.
54
54
55
55
More information regarding [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html) are available in the AWS documentation.
Copy file name to clipboardExpand all lines: docs/kubernetes.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
@@ -14,7 +14,7 @@ Kubernetes main abstraction is the `pod`. A `pod` defines the (desired) state of
14
14
15
15
Kubernetes abstracts also the storage provisioning through the definition of one more persistent volumes that allow containers to access to the underlying storage systems in a transparent and portable manner.
16
16
17
-
When using the `k8s` executor Nextflow deploys the workflow execution as a Kubernetes pod. This pod orchestrates the workflow execution and submits a separate pod execution for each job that need to be carried out by the workflow application.
17
+
When using the `k8s` executor Nextflow deploys the workflow execution as a Kubernetes pod. This pod orchestrates the workflow execution and submits a separate pod execution for each job that needs to be carried out by the workflow application.
Copy file name to clipboardExpand all lines: docs/migrations/25-04.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
@@ -10,7 +10,7 @@
10
10
11
11
The *strict syntax* is a strict parser for Nextflow DSL2 that implements the {ref}`Nextflow language specification <syntax-page>`. Originally introduced by the [Nextflow language server](https://github.com/nextflow-io/language-server) alongside Nextflow 24.10, the strict syntax is now available in the Nextflow CLI.
12
12
13
-
The strict syntax is disabled by default. It can be enabled by setting the environment variable `NXF_SYNTAX_PARSER=v2`. See {ref}`strict-syntax-page` for details.
13
+
The strict syntax is disabled by default. Enable it by setting the environment variable `NXF_SYNTAX_PARSER=v2`. See {ref}`strict-syntax-page` for details.
Copy file name to clipboardExpand all lines: docs/process.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
@@ -1350,7 +1350,7 @@ Many fields from the previous task attempts are accessible. See {ref}`trace-repo
1350
1350
1351
1351
### Dynamic retry with backoff
1352
1352
1353
-
There are cases in which the required execution resources may be temporary unavailable e.g. network congestion. In these cases immediately re-executing the task will likely result in the identical error. A retry with an exponential backoff delay can better recover these error conditions:
1353
+
There are cases in which the required execution resources may be temporarily unavailable e.g. network congestion. In these cases immediately re-executing the task will likely result in the identical error. A retry with an exponential backoff delay can better recover these error conditions:
Copy file name to clipboardExpand all lines: docs/sharing.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ To learn more about this and other project metadata information, that can be def
38
38
39
39
Once you have uploaded your pipeline project to GitHub other people can execute it simply using the project name or the repository URL.
40
40
41
-
For if your GitHub account name is `acme` and you have uploaded a project into a repository named `hello` the repository URL will be `http://github.com/acme/hello` and people will able to download and run it by using either the command:
41
+
For example, if your GitHub account name is `acme` and you have uploaded a project into a repository named `hello` the repository URL will be `http://github.com/acme/hello` and people will able to download and run it by using either the command:
42
42
43
43
```bash
44
44
nextflow run acme/hello
@@ -60,10 +60,10 @@ These external dependencies are the primary challenge when sharing software, bec
60
60
61
61
Nextflow tackles this problem by integrating with existing tools for reproducible software, namely Git for source code and Docker for containers. These tools allow you to keep all the dependencies of your pipeline project in one place and track changes over time with version control.
62
62
63
-
By making your pipeline project is self-contained, meaning all of its dependencies are fully defined in the project itself, you gain two major advantages:
63
+
By making your pipeline project self-contained, meaning all of its dependencies are fully defined in the project itself, you gain two major advantages:
64
64
65
65
-**Portability**: the pipeline can be run in virtually any environment with a Java VM and a container runtime
66
-
-**Reproducibility**: any results produced by the pipelined can be easily reproduced, even across different environments
66
+
-**Reproducibility**: any results produced by the pipeline can be easily reproduced, even across different environments
67
67
68
68
One way to account for dependencies is to break them down into three categories: code, data, and environment. Here we will describe how to include each of these dependencies in your Nextflow pipeline:
Copy file name to clipboardExpand all lines: docs/spack.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Alternatively, it can be specified by setting the variable `NXF_SPACK_ENABLED=tr
43
43
44
44
### Use Spack package names
45
45
46
-
Spack package names can specified using the `spack` directive. Multiple package names can be specified by separating them with a blank space. For example:
46
+
Spack package names can be specified using the `spack` directive. Multiple package names can be specified by separating them with a blank space. For example:
47
47
48
48
```nextflow
49
49
process hello {
@@ -124,7 +124,7 @@ process hello {
124
124
125
125
### Building Spack packages for Nextflow pipelines
126
126
127
-
Spack builds most software package from their source codes, and it does this for a request package and for all its required dependencies. As a result, Spack builds can last for long, even several hours. This can represent an inconvenience, in that it can significantly lengthen the duration of Nextflow processes. Here we briefly discuss two strategies to mitigate this aspect, and render the usage of Spack more effective.
127
+
Spack builds most software packages from their source codes, and it does this for a requested package and for all its required dependencies. As a result, Spack builds can last for long, even several hours. This can represent an inconvenience, in that it can significantly lengthen the duration of Nextflow processes. Here we briefly discuss two strategies to mitigate this aspect, and render the usage of Spack more effective.
128
128
129
129
1. Use a Spack yaml file, and pre-build the environment outside of Nextflow, prior to running the pipeline.
130
130
Building packages outside of the Nextflow pipeline will work since Spack always installs packages in its own directories,
Copy file name to clipboardExpand all lines: docs/strict-syntax.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,13 @@ If you are still using DSL1, see {ref}`dsl1-page` to learn how to migrate your N
9
9
:::
10
10
11
11
:::{versionadded} 25.04.0
12
-
The strict syntax can be enabled in Nextflow by setting the environment variable `NXF_SYNTAX_PARSER=v2`.
12
+
To enable strict syntax, set the `NXF_SYNTAX_PARSER` environment variable to `v2`:
13
+
14
+
```bash
15
+
export NXF_SYNTAX_PARSER=v2
16
+
```
17
+
18
+
Without this environment variable set, Nextflow will not enforce strict syntax rules. Add this to your shell profile (e.g., `~/.bashrc`, `~/.zshrc`) or set it before you run Nextflow commands.
13
19
:::
14
20
15
21
## Overview
@@ -568,7 +574,11 @@ The process {ref}`process-when` section is discouraged. As a best practice, cond
568
574
## Configuration syntax
569
575
570
576
:::{versionadded} 25.04.0
571
-
The strict config syntax can be enabled in Nextflow by setting the environment variable `NXF_SYNTAX_PARSER=v2`.
577
+
To enable the {ref}`strict syntax <strict-syntax-page>`, set the `NXF_SYNTAX_PARSER` environment variable to `v2`:
578
+
579
+
```bash
580
+
export NXF_SYNTAX_PARSER=v2
581
+
```
572
582
:::
573
583
574
584
See {ref}`Configuration <config-syntax>` for a comprehensive description of the configuration language.
0 commit comments