Workflow | Description | Topics | QC | Stars | Watchers |
---|
Workflow | Description | Topics | QC | Stars | Watchers |
---|
This catalog is generated automatically by querying Github APIs; the Snakemake team is not responsible for the linked workflows.
Source code: https://github.com/snakemake/snakemake-workflow-catalog
Description | Topics | QC | Stars | Watchers |
---|
Snakemake and Snakedeploy are best installed via the Mamba package manager (a drop-in replacement for conda). If you have neither Conda nor Mamba, it can be installed via Mambaforge. For other options see here.
Given that Mamba is installed, run
mamba create -c conda-forge -c bioconda --name snakemake snakemake snakedeploy
to install both Snakemake and Snakedeploy in an isolated environment. For all following
commands ensure that this environment is activated via
conda activate snakemake
Given that Snakemake and Snakedeploy are installed and available (see Step 1), the workflow can be deployed as follows.
First, create an appropriate project working directory on your system and enter it:
mkdir -p path/to/project-workdir
cd path/to/project-workdir
In all following steps, we will assume that you are inside of that directory.
Second, run
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.
Third, consider to put this directory under version control, e.g. by managing
it via a (private) Github repository
snakemake --report report.zip
The resulting report.zip
file can be passed on to collaborators, provided as a supplementary file in publications, or uploaded
to a service like Zenodo in order to obtain a citable DOI.
This catalog includes workflows based on the following criteria:
Snakefile
or
workflow/Snakefile
.
rules
or workflow/rules
that folder must at least contain one file ending on .smk
.In order to additionally appear in the "standardized usage" area, repositories additionally have to
workflow/Snakefile
(unlike for plain inclusion (see above), which also allows just Snakefile
in the root of the repository),config/README.md
,.snakemake-workflow-catalog.yml
in their root directory, which configures the usage instructions displayed by this workflow catalog.
usage:
mandatory-flags: # optional definition of additional flags
desc: # describe your flags here in a few sentences (they will be inserted below the example commands)
flags: # put your flags here
software-stack-deployment: # definition of software deployment method (at least one of conda, singularity, or singularity+conda)
conda: true # whether pipeline works with --use-conda
singularity: true # whether pipeline works with --use-singularity
singularity+conda: true # whether pipeline works with --use-singularity --use-conda
report: true # add this to confirm that the workflow allows to use 'snakemake --report report.zip' to generate a report containing all results and explanations
Once included in the standardized usage area you can link directly to the usage instructions for your repository via the URL https://snakemake.github.io/snakemake-workflow-catalog?usage=<owner>/<repo>
.