Skip to content
Richard A. Schäfer edited this page Jun 19, 2023 · 13 revisions

asad

What is Scanneo2

Scanneo2 is a snakemake workflow for detecting neoantigens from multiple sources. These include

Installation & Usage

Install & Deploy Workflow

Scanneo2 requires snakemake and snakedeploy which are most easily installed using the Mamba Package Manager (or by conda itself). If neither mamba nor conda is present, it is best to install it from Mambaforge. We provide an environment.yml which allows creating a mamba directory that includes the above-defined dependencies.

Simply, run

mamba env create --file https://
mamba activate scanneo2

In the following Scanneo2 needs to be deployed. For that, create a working directory and enter it, e.g.

mkdir -p /path/to/working/directory/
cd /path/to/working/directory/

Now the workflow needs to be deployed which can be done using

snakedeploy deploy-workflow https://github.com/ylab-hi/scanneo2 . --tag v0.1.0

Snakedeploy will create two folders workflow and config. The former contains the deployment of the chosen workflow as a Snakemake module, the latter contains configuration files which will be modified in the next step in order to configure the workflow to your needs. Later, when executing the workflow, Snakemake will automatically find the main Snakefile in the workflow subfolder.

Configuration

To configure this workflow, modify config/config.yaml according to your needs, following the explanations provided in the file. It is to be noted that each parameter can also be specified over the command line.

Usage

Given that the workflow has been properly deployed and configured, it can be executed as follows.

For running the workflow while deploying any necessary software via conda (using the Mamba package manager by default), run Snakemake with

snakemake --cores all --use-conda

Snakemake will automatically detect the main Snakefile in the workflow subfolder and execute the workflow module that has been defined by the deployment

Conda

Install snakemake using conda

conda install -c bioconda snakemake

Configuration

Scanneo2 requires snakemake and snakedeploy. For that, we provide

Scanneo2 can be conveniently configured using the configuration file that is located in ./config/config.yml. In addition, the parameters can be specified in the function

Usage

Scanneo2 can be executed by setting

snakemake --cores N -s workflow/Snakemake
Clone this wiki locally