Currently in Beta. Available in latch==2.55.0.a6
This feature is undergoing active testing. We invite users to participate in our testing program to help shape its development.
  • Join the program: To enroll in the Alpha Testing Program, email Ayush at ayush@latch.bio.
  • Report issues: If you encounter any bugs or issues, please contact our support team at support@latch.bio.
Your feedback is invaluable and will directly influence improvements to this feature.
Latch’s Snakemake integration allows developers to build graphical interfaces to expose their Snakemake workflows to wet lab teams. It also provides managed cloud infrastructure to execute, debug, and analyze your workflows. A primary goal for the Snakemake integration is to allow developers to register existing Snakemake projects with minimal added boilerplate and modifications to code.

How It Works

To get started, install the latest alpha build of latch (Note that the version below may be out of date, please check PyPI for the latest release marked “PRE-RELEASE”):
$ pip install latch==2.55.0.a6
Next, navigate to your Snakemake workflow directory. To register your workflow with Latch, you will need to follow the steps outlined below.
  1. Configure your Snakefile to use Latch storage. Documentation ↗
  2. Configure resources and containers for each of your rules. Documentation ↗
  3. Write a metadata file for your workflow. Documentation ↗
  4. Generate an entrypoint for your workflow. Documentation ↗
  5. Generate a dockerfile for your workflow. Documentation ↗
Once these steps are done, you can register this as you would any other Latch workflow:
$ latch register -y .
You can follow along with an example workflow here.