Skip to content

AaltoRSE/snakemake-triton-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Using Snakemake on Aalto Triton

Snakemake is a workflow management tool used to create reproducible and scalable data processing workflows.

This repo contains two small example projects which can be cloned and run on the Aalto Triton cluster.

The projects are located in folders multiple-input-files and parameter-grid.

In the project multiple-input-files, we run a pipeline of two computational steps. The first step loops over multiple input data files and processes them in parallel. The subsequent second step collects the processing results and combines them.

In the project parameter-grid, we loop over two parameters and run a Python script using each parameter combination as input in parallel.

For detailed instructions, see parameter-grid/README.md and multiple-input-files/README.md

About the projects

The projects

  1. follow the recommended Snakemake project structure,
  2. use conda environments for integrated package management,
  3. use the Slurm executor plugin to submit the workflow steps as cluster jobs,
  4. decouple the workflow and Slurm resource configurations using a Snakefile and a profile configuration file, respectively.

The workflow is run on Triton using Slurm in the following manner:

flowchart TD
    A[User submits a Slurm batch job on the Triton login node.]
    B[The batch job starts Snakemake on a Triton computational node.]
    C[Snakemake submits necessary Slurm batch jobs based on the Snakefile rules.]
    D[The batch jobs execute the Snakefile rules on Triton computational nodes.]
    E[The batch jobs complete.]
    F[Snakemake finishes.]
    G[The Slurm batch job running Snakemake completes.]

    A --> B --> C --> D --> E --> F --> G
Loading

About

An example Snakemake projects for Aalto Triton.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published