snakemake.common.get_file_hash

snakemake.common.get_file_hash(filename, algorithm='sha256')[source]

find the SHA256 hash string of a file. We use this so that the user can choose to cache working directories in storage.