Nextflow is a relatively new vertical execution stack for bioinformatics and takes a unique approach by providing a groovy based DSL that is reactive streams based. Nextflow supports multiple backends including Docker and supports any POSIX compatible system. Windows systems are only supported through WSL. Below outlines how to run Nextflow locally using Docker.


Getting Started

The following software and workflow are required and will be downloaded, installed, and used as part of this tutorial:

Download the worked examples repository by one of the following methods.

  1. Clone with Git

git clone


  1. Download and Unzip

It is assumed that all commands will be run from the root directory of this repository on your local machine. From the directory where you’ve downloaded the examples repository.

cd dnastack-client-library-worked-examples/

Download and install Nextflow by one of the following methods.

  1. Using cURL or direct from this link, and allow execution permission

curl -o nextflow -L # Or directly from web link

chmod +x nextflow


  1. Using Conda

conda install -c bioconda nextflow

Running the workflow

To run the workflow:

./nextflow run --config examples/nextflow/nextflow.config examples/nextflow/

Output files can be found in the current directory.

Nextflow Tower

Optionally, Nextflow Tower allows remote monitoring, logging, and observability to Nextflow workflows through a centralized command-post.

To use Netflow Tower with the workflow, add the following to the configuration file nextflow.config. Replace with your specific access token.

docker.enabled = true
tower {
    enabled = true
    accessToken = '<YOUR TOKEN>'

Your access token can be found by navigating to the user menu, and to Your tokens.

Details about the workflow job can be found by navigating to runs.

Last updated

© DNAstack. All rights reserved.