Define workflow dependencies
victorlin opened this issue · 0 comments
victorlin commented
Context
This workflow only works with specific versions of software. There is a Conda environment file (workflow/envs/nextstrain.yaml) however this has issues:
- It is only meant for use within Snakemake (
--use-conda
,rule.conda
) - It acts more like a "lock" file with exact version pins
- It doesn't document the version constraint on Snakemake (the workflow doesn't support Snakemake 8.x)
Proposal
-
Create a list of workflow dependencies as supported ranges. Drafting that here:
- Augur: >= 22.0.1 (ref)
- Snakemake: ?? <= 8.0.0
- ?
-
Check at the start of running the workflow. This is what's already done in other workflows such as nextstrain/mpox@d9f6d47