What are snakemake metadata files? When can I erase those?

Viewed 2031

I notice that my backup rsync script spends quite some time copying stuff with random name from .snakemake/metadata folders.

What are those files used for?

Can I safely erase them after a snakemake run has completed, or are they necessary for snakemake to correctly perform the next run?

More generally, is there some documentation about the files that snakemake creates in the .snakemake folder?

2 Answers

Old question now and not really answering it... Since you mention rsync, you can skip .snakemake directories with the --exclude option, like:

rsync ... --exclude='.snakemake' source/ dest/
Related