Skip to content

Commit 45134cf

Browse files
Update docs/executing/caching.rst
1 parent ebef2dd commit 45134cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/executing/caching.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For example, in bioinformatics, reference genomes or annotations are downloaded,
99
Since such steps are independent of the actual data or measurements that are analyzed, but still computationally or timely expensive to conduct, it has been common practice to externalize their computation and assume the presence of the resulting files before execution of a workflow.
1010

1111
From version 5.8.0 on, Snakemake offers a way to keep those steps inside the actual analysis without requiring from redundant computations.
12-
By hashing all steps, parameters, software stacks (in terms of conda environments or containers), and raw input required up to a certain leaf in a `Merkle tree <https://en.wikipedia.org/wiki/Merkle_tree>`_, Snakemake is able to recognize **before** the computation whether a certain result is already available in a central cache on the same system.
12+
By hashing all steps, parameters, software stacks (in terms of conda environments or containers), and raw input required up to a certain job via a `Merkle tree <https://en.wikipedia.org/wiki/Merkle_tree>`_, Snakemake is able to recognize **before** the computation whether a certain result is already available in a central cache on the same system.
1313
**Note that this is explicitly intended for caching results between workflows! There is no need to use this feature to avoid redundant computations within a workflow. Snakemake does this already out of the box.**
1414

1515
Such caching has to be explicitly activated per rule, which can be done via the command line interface.

0 commit comments

Comments
 (0)