Does -resume account for tool version?

In the Hello Nextflow training under Part 1: Hello World / 3.2. Re-launch a workflow with -resume, it says that Nextflow checks if the work has already been done. Does that take into account the version of the tool I’m using? And is that evaluated differently if I’m using a locally installed tool or a container?

Hi @grootings,

It does indeed! On both counts. The -resume functionality uses the task hash, which is created from a checksum of multiple task attributes, including the container used.

You can see what goes into the task hash in the docs:

For a more general introduction to how -resume works, have a look at this blog post (from 2019 but still mostly valid I think):

Hope this helps!

Phil

1 Like

Great, thank you!

1 Like