Open skoren opened 2 years ago
The script feature is described in https://github.com/snakemake/snakemake/pull/1821 from Aug 22 and appears in release 7.14.0 from Aug 27. It requires bash, while verkko is happy with generic sh. It allows you to access the rule directives (input:, output:, etc) directly from the script. This would let us move the inlined shell scripts out of the Snakefiles and that could reduce the amount of escaping necessary. This would NOT let us stop generating scripts to run the task since the (external) script is useless without the snamemake variables passed to it.