snakemake icon indicating copy to clipboard operation
snakemake copied to clipboard

How do snakemake Modules work?

Open mufernando opened this issue 3 years ago • 1 comments

Snakemake version

6.10.0

Describe the bug

From reading the docs I think I misunderstood what Modules do. I thought you could simply import a rule from a different Snakefile and use it in a different Snakefile, even adjusting input/output/wildcards, etc.

However, the minimal example I provide below tells me otherwise.

Logs

Minimal example

See files in this repo: https://github.com/mufernando/snakemake_error

Additional context

mufernando avatar Nov 09 '21 21:11 mufernando

The documentation for the latest version of Snakemake shows how to use modules.

Redmar-van-den-Berg avatar Jul 05 '22 13:07 Redmar-van-den-Berg