Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory: my_dir
If you are sure that no other instances of snakemake are running on this directory, the remaining lock was likely caused by a kill signal or a power loss. It can be removed with the --unlock argument.
Therefore I run snakemake --unlock as suggested, which yields:
Error: no Snakefile found, tried Snakefile, snakefile, workflow/Snakefile, workflow/snakefile.
And the alleged directory lock remains as it is. What could cause this lock?
Apparently, you are using a wrapper around Snakemake - and an outdated version of Snakemake. Please update and try again. If it fails, you might want to address the developers of your wrapper?
Snakemake version 6.3.0
Describe the bug
Snakemake is called by
spacemake run
(link: https://spacemake.readthedocs.io/en/latest/index.html). Upon attempting to run I get the error message:Therefore I run
snakemake --unlock
as suggested, which yields:And the alleged directory lock remains as it is. What could cause this lock?