Snakemake expand on a dictionary, keeping wildcards
Snakemake expand on a dictionary, keeping wildcards Question: I have a dictionary like the following: data = { "group1": ["a", "b", "c"], "group2": ["x", "y", "z"] } I want to use expand to get all combinations between the keys and their values separately in "rule all", s.t. the expected output files are e.g. "group1/a.txt", "group1/b.txt", …