| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A template for modular data workflows built with Snakemake. This template is part of the Modelblocks toolset.
Note
Looking for general general information on Modelblocks and modular workflows?
Important
All software dependencies should be defined in pixi.toml. Before running your module for the first time, use the export-snakemake-env pixi command to export the required Snakemake environments to conda-compatible dependency files. This is necessary as long as Snakemake does not directly support the use of pixi. This must include at least the module environment, as well as any additional environments created for this purpose. See the commands section for more information.
Important
Keep these points in mind.
This template uses pixi as its package manager. Once installed, do the following:
Install the templater tool copier.
pixi global install copierUse copier to build a project with this template. A new module will be created in the directory you chose. We recommend you use the module name as the directory name.
copier copy https://github.com/modelblocks-org/data-module-template.git ./<module_name>Tip
If copier is not available in your terminal, you may need to update your PATH variable to include ~/.pixi/bin.
Answer a few questions so we can pre-fill licensing, citation files, etc.
Initialise the pixi project environment of your new module.
cd ./<module_name> # navigate to the new project
pixi install --all # install the project's environments
pixi run export-snakemake-env module # initialise the Snakemake environmentRegister your project in pre-commit.ci and allcontributors.org to benefit from CI and contributor task automation.
Extra: run the auto-generated example module!
cd tests/integration # go to the integration test...
pixi run snakemake --use-conda # run it!Export <ENVIRONMENT> to conda-compatible dependency files, saved in workflow/envs, allowing Snakemake to use them during rule execution. This will generate both an <ENVIRONMENT>.yaml file and platform-specific pin files for Windows, Linux and macOS (e.g., <ENVIRONMENT>.win-64.pin.txt).
Run a minimal set of standardised tests to ensure your module complies with Modelblock requirements. These are executed by Github's CI during pull requests.
Thanks goes to these wonderful people, sorted alphabetically (emoji key):
Bryn Pickering 💻 🤔 👀 |
Ivan Ruiz Manuel 💻 🤔 📖 |
Jann Launer 🤔 📓 |
Stefan Pfenninger-Lee 📖 💻 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
| Back | FazBrowse Home | New Git URL |