pipeline_run_id
: The ID of the pipeline that is being run.outdir
: The directory where the outputs of the pipeline should be written.nextflow.config
file.
If you installed the AWS CLI on your AMI when setting up your Batch environment for Mantle, you will need to include the following block to your configuration file:
which aws
within the EC2 instance that generated the AMI.
We run your pipeline with the following configuration.
nextflow.config
file or in each process
block of your Nextflow module.
Make sure that the Docker image is built for the architecture of your AMI.
Here is an example of how to specify a Docker image in your nextflow.config
file:
classification_model
of type string
,
you can access the value using params.classification_model
.
USER
and PASSWORD
are used for authentication, and are passed in by Mantle via Nextflow secrets to your pipeline.
The pipelineId
is used to identify the pipeline that is being run, and is passed in via the input variable.
Within your script, you can use the SDK functions to interact with the pipeline run.
main.nf
file to run.
To have multiple pipelines within a single repository, you need to specify a single main.nf
file that imports the other pipelines and defines their entrypoints.
Here is an example of a main.nf
file that imports two pipelines and defines their entrypoints: