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 &

posted @ 2022-06-14 09:46  橙子牛奶糖  阅读(601)  评论(0编辑  收藏  举报