Also note that the rules need to retrieve all their parameters via the params directive (except input files). It is not allowed to directly use wildcards, config or any global variable in the shell command or script, because these are not captured in the hash (otherwise, reuse would be unnecessarily limited).
see https://snakemake.readthedocs.io/en/stable/executing/caching.html?highlight=cache%3A#between-workflow-caching
So we need an inspection for
shell