Setting the file. One moment.
Skill 02 · Nextflow Development
Subchapter 2.2
references/installation.mdMarkdown2 KBView on GitHub
# Nextflow
curl -s https://get.nextflow.io | bash
mv nextflow ~/bin/
export PATH="$HOME/bin:$PATH"
# Verify
nextflow -version
java -version # Requires 11+sudo apt-get update && sudo apt-get install docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
# Log out and back inDownload Docker Desktop: https://docker.com/products/docker-desktop (opens in a new tab)
docker run hello-world# Ubuntu/Debian
sudo apt-get install singularity-container
# Or via conda
conda install -c conda-forge singularityexport NXF_SINGULARITY_CACHEDIR="$HOME/.singularity/cache"
mkdir -p $NXF_SINGULARITY_CACHEDIR
echo 'export NXF_SINGULARITY_CACHEDIR="$HOME/.singularity/cache"' >> ~/.bashrcpip install nf-coreUseful commands:
nf-core list # Available pipelines
nf-core launch rnaseq # Interactive parameter selection
nf-core download rnaseq -r 3.14.0 # Download for offline usenextflow run nf-core/demo -profile test,docker --outdir test_demo
ls test_demo/Java version wrong:
export JAVA_HOME=/path/to/java11Docker permission denied:
sudo usermod -aG docker $USER
# Log out and back inNextflow not found:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc