有一个version指令,但我从未见过它在实践中使用过:
# Snakefile
version: "1.2.3"
rule all:
input: 'test.txt'
rule test:
output: temp(touch('test.txt'))
Run Code Online (Sandbox Code Playgroud)
有一个使用内部规则定义的CWL 转换示例/测试version,它可能有用,但在 Snakefile 中包含显式版本的实用性尚不清楚。