有没有办法在配置文件中声明某些文件是否应该是临时的?我正在开发一个管道,其中许多输出文件被标记为临时文件。出于测试目的,我希望它们不是临时的。有没有一种方法可以在蛇文件顶部或在其中的一个位置指定它,而不是删除每个输出文件的 temp(...)
并在测试后将其添加回来配置文件?
最佳答案
在snakemake命令中使用标志--notemp
会忽略temp()
声明并保留它们而不是删除它们。
--notemp, --nt
Ignore temp() declarations. This is useful when running only a part of the workflow, since temp() would lead to deletion of probably needed files by other parts of the workflow.
Default: False
关于python - Snakemake 在配置中声明临时文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59720793/