Snakemake执行作业的条件是什么?

问题描述 投票:0回答:1

我想知道snakemake决定需要执行工作所需的所有必要条件,但是我在their documentation中找不到它们。我发现的最好的来源是snakemake作者的slides from 2016,它表示:

A job is executed if and only if

- output file is target and does not exist
- output file needed by another executed job and does not exist
- input file newer than output file
- input file will be updated by other job
- execution is enforced

但是从那以后他似乎不再使用该幻灯片,这让我怀疑现在是否改变了上述标准。

snakemake
1个回答
0
投票

他们的文档的本页具有指向2019年幻灯片的链接:https://snakemake.readthedocs.io/en/stable/tutorial/tutorial.html。在幻灯片的第26页上,您可能会看到相同的规则集:https://slides.com/johanneskoester/snakemake-tutorial#/25

Job execution
A job is executed if and only if

- output file is target and does not exist
- output file needed by another executed job and does not exist
- input file newer than output file
- input file will be updated by other job
- execution is enforced

determined via breadth-first-search on DAG of jobs

我想自2019年以来这些规则没有任何改变,特别是考虑到此演示文稿是从官方教程页面引用的。

© www.soinside.com 2019 - 2024. All rights reserved.