snakemake报错:Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory
运行以下命令时出现的报错:
nohup snakemake -s workflow.py --configfile=file.yaml --rerun-incomplete --cores all &
解决方案,加上--unlock
参数。如下所示:
nohup snakemake -s workflow.py --configfile=file.yaml --rerun-incomplete --unlock --cores all &
再重新运行命令:
nohup snakemake -s workflow.py --configfile=file.yaml --rerun-incomplete --cores all &
本文来自博客园,作者:橙子牛奶糖(陈文燕),转载请注明原文链接:https://www.cnblogs.com/chenwenyan/p/16373429.html