Skip to content

Installation

Important: If you encounter any trouble within the installation, open an issue on github to make others aware of the problem or write an E-Mail to giesselmann[at]molgen.mpg.de. There is nothing more annoying than software that does not work.

In general Snakemake and thus also Nanopype is python based and therefore available on Windows, MacOS and Linux. However the included bioinformatic tools are often only available for Linux like operating systems. We support and test the fully featured pipeline on Linux and MacOS and through containerization enable reduced functionality on Windows.

Docker & Singularity container

Docker and Singularity provide encapsulation of software environments into so-called containers or images. A docker-image can e.g. based on Ubuntu contain the basecaller flappie with all of its dependencies and without further installation be executed on any operating system with just Docker installed. Singularity can handle both Docker and Singularity images and is supported by Snakemake allowing the execution of workflows in isolated environments.

We provide Singularity images per module, wrapper to build and install tools from source and a single stand-alone Docker image of the entire pipeline. Depending on operating system, required functionality and experience one the following methods should be selected:

Method Singularity Source Docker
Linux yes yes yes
MacOS yes yes yes
Windows no no1 yes
Tools all all public2
Cluster yes yes no
GPU no yes no
Complexity low high low

Independent of the operating system you'll need a working python3 installation and git to clone the pipeline repository. On Linux and MacOS these are likely already present, on Windows we can recommend gitforwindows as a starting point or using WSL.

Recommendation: If possible use the Singularity workflow of Nanopype. If you have already existing installations or wish to customize or optimize the build process go for the source installation. If you want to use advanced features like GPU basecalling, use the source installation. If you want to quickly test or run the pipeline on a Windows machine use the all-in-one Docker container.

Configuration

Independent of the installation the pipeline needs to be configured once globally and for each sample locally.


  1. If you use Windows-Subsystem for Linux, you can run the source installation of Nanopype like on a Linux system. 

  2. Some tools provided by Oxford Nanopore Technologies are only available through the ONT-community for users with access. After manual installation these are supported by Nanopype but cannot be distributed in Docker images.