本文介绍了如何不使用Snakemake撤销更新的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使已经有输出文件了,Snakemake也只想重新执行我的所有管道,因为我已经修改了第一个输出文件之一.

Even if output files are already here, Snakemake want to reexecute all of my pipeline only because I have modified one of the first output files.

我通过使用"np --reason"运行Snakemake来弄清楚:原因:输入文件被另一个作业更新:Mapping/col.sorted.bam

I figure out by running Snakemake with "np --reason": reason: Input files updated by another job: Mapping/col.sorted.bam

如何强制Snakemake不重新运行此更新文件?

How can I force Snakemake to not rerun this update file ?

谢谢

推荐答案

您可以使用选项-touch 将其标记为最新:

You can use the option --touch to mark them up to date:

请注意,这将触及您的所有文件,并因此修改时间戳以使其恢复原状.

Beware that this will touch all your files and thus modify the timestamps to put them back in order.

这篇关于如何不使用Snakemake撤销更新的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-10 04:43