Relative Content

Tag Archive for snakemake

Snakemake rule does not recognize output from other rule

I have written a Snakefile “prepare_tuples.smk” having prepare_tuples as my head rule.
The input is defined as the output of the rule hadd_tuples.
When I run snakemake prepare_tuples -F -c20 I get the following error message:

Snakemake can not determined wildcards

I am not getting why snakemake is not able to identify the dependencies in this simple example. I am expecting that it identify that the input of main is generated in simulation and the inputs of the last one in setup. However, it looks like it is not the case. Th idea of this “rule architecture” is to parallelise at simulation level.