[ALPHA] Snakemake V2
The Entrypoint
After writing a metadata file, the last step is to use your metadata file to generate an entrypoint. In the top level of your workflow directory, run the following:
This will create a file in a folder called wf
called entrypoint.py
, containing an autogenerated Latch SDK workflow that subprocesses Snakemake with your parameters injected appropriately. Since this is a Latch SDK workflow, you can modify however you like to add, e.g. pre/post-processing steps.
Note that if you would like to change the interface of your workflow, you need to update the metadata file and then regenerate your entrypoint.
Was this page helpful?