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
{{ message }}
This repository was archived by the owner on Aug 9, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/orchestration/nextflow/nextflow-overview.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,15 @@ To get started using Nextflow on AWS you'll need the following setup in your AWS
27
27
* An IAM Role for the Nextflow head node job that allows it access to AWS Batch
28
28
* (optional) An S3 Bucket to store your Nextflow workflow definitions
29
29
30
-
The last four items above are created by the following CloudFormation template:
30
+
The last five items above are created by the following CloudFormation template:
31
31
32
32
| Name | Description | Source | Launch Stack |
33
33
| -- | -- | :--: | -- |
34
-
{{ cfn_stack_row("Nextflow Resources", "NextflowResources", "nextflow/nextflow-resources.template.yaml", "Create Nextflow specific resources needed to run on AWS: an S3 Bucket for nextflow workflow scripts, AWS Batch Job Definition for a Nextflow head node, and an IAM role for the nextflow head node job") }}
34
+
{{ cfn_stack_row("Nextflow Resources", "NextflowResources", "nextflow/nextflow-resources.template.yaml", "Create Nextflow specific resources needed to run on AWS: an S3 Bucket for nextflow workflow scripts, Nextflow container, AWS Batch Job Definition for a Nextflow head node, and an IAM role for the nextflow head node job") }}
35
35
36
36
### Nextflow container
37
37
38
-
For AWS Batch to run Nextflow as a Batch Job, it needs to be containerized. In the process of doing so you can add the ability to automatically create a config file based on environment variables passed in by Batch and use workflow scripts that are stored in S3.
38
+
For AWS Batch to run Nextflow as a Batch Job, it needs to be containerized. The template above will build a container using the methods described below which includes adding capabilities to automatically configure Nextflow and run workflow scripts in S3. If you want to add specialized capabilities or require a particular version of Nextflow, you can modify the source code to best suit your needs.
39
39
40
40
To create such a container, you can use a `Dockerfile` like the one below:
If you are trying to keep your container image as small as possible, keep in mind that Nextflow relies on basic linux tools such as `awk`, `bash`, `ps`, `date`, `sed`, `grep`, `egrep`, and `tail` which may need to be installed on extra minimalist base images like `alpine`.
67
67
68
-
The script used for the entrypoint is:
68
+
The script used for the entrypoint is shown below. Notice that it automatically configures Nextflow based on environment variables set by AWS Batch.
0 commit comments