Код: Выделить всё
❯ snakemake --version
8.20.6
Код: Выделить всё
rule all:
input:
"test2"
rule:
name: "test",
output:
"test",
shell:
"touch {output} "
rule:
name: "test2",
input: rules.test.output,
# input: rules._rules["2"].output,
output:
"test2",
shell:
"touch {output} "
Код: Выделить всё
❯ snakemake -n
WorkflowError in file /bioproj/analysis/11.metagenomics/11.genek/Snakefile, line 14:
Rule test is not defined in this workflow. Available rules: all, 2
p>
Вопрос
Есть ли способ получить доступ к Rules.test.output или достичь аналогичных целей?
Подробнее здесь: https://stackoverflow.com/questions/790 ... e-in-rules