我在snakemake工作流中有一个规则,它可能根据输入生成一个空的输出文件。然后,该输出文件将用于另一个规则,该规则的命令将完全正常,并以空文件作为输入,只要该输入文件的路径存在,并且仍然以正确的结果成功完成。有没有一种方法可以编写工作流,使snakemake不会认为第一个规则因生成空文件而失败?在
使用snakemake的一些输出进行编辑:
RuleException:
CalledProcessError in line 123 of /home/ckern/All_Species_Chromatin_Model/Snakefile:
Command ' set -euo pipefail; grep E6$ Model_10/Cattle_Cortex_10_segments.bed > Model_10/Cattle_Cortex_10_E6.bed ' returned non-zero exit status 1.
File "/home/ckern/All_Species_Chromatin_Model/Snakefile", line 123, in __rule_split_states
File "/share/apps/conda3/miniconda3/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job split_states since they might be corrupted:
Model_10/Cattle_Cortex_10_E6.bed
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
目前没有回答
相关问题 更多 >
编程相关推荐