This feature is currently in alpha and undergoing active testing. We invite users to participate in our Alpha 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.

By applying learnings from our Nextflow integration, we are currently developing a second version of our Snakemake integration. The goal is to

  1. Produce a developer experience that is straightforward with a shallow learning curve, and
  2. Run workflows fully dynamically, without the use of a JIT workflow.

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.