- Install JAVA 8
brew install adoptopenjdk8
- Install Nextflow:
curl https://get.nextflow.io | bash
in the current directory Optional
: Move the nextflow binary to a directory that is in thePATH
.
Prerequisite: Java, docker
git clone [email protected]:seqeralabs/nf-tower.git
cd nf-tower
make build
-
Sign up for an SMPT email account at mailtrap, then click on
Show Credentials
near the top of theMy Inbox
->SMTP Settings
page -
Create a
tower.yml
file in the root directory of the repository with the information from mailtrap, e.g.
TOWER_SMTP_HOST: smtp.mailtrap.io
TOWER_SMTP_PORT: 25
TOWER_SMTP_USER: << mailtrap user >>
TOWER_SMTP_PASSWORD: << mailtrap password >>
make run
- Then navigate to the local website and request a login token.
- Check the
mailtrap
inbox for the login link and click it, to enter the local tower. - Export the authentication token as an environmental variable, it is available under your avatar (top right) -> Your tokens
export NXF_VER=20.10.0
export TOWER_ACCESS_TOKEN=50840b0c64a335a1a32e90e38cf0cdad654a0463
In a different terminal window run
nextflow run hello -with-tower 'http://localhost:8000/api'
- The open-source version of Nextflow does not support the creation* of environments, that needs to be configured manually.
- Details on how to configure Nextflow with AWS Batch are here
I'm getting the following when running
make build
:I guess there can be more to the setup.