Skip to content

jashapiro/nextflow-resume-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextflow-resume-test

Testing the -resume option in Nextflow in the context of a pipeline with modules.

Usage

To run the test run from within the repository directory, run the following command:

nextflow run .

This will execute the Nextflow pipeline, which should include two processes: hello and test:test_hello, the latter of which is a test module.

The real test is with modifications to the scripts that the pipeline calls.

First, verify the expected behavior with scripts in the bin directory:

touch bin/hello.sh
nextflow run . -resume

This should cause the hello process to run, as the script has been "modified". The test:test_hello process will use the cached version, as expected.

Then, modify the test:test_hello script and test wether the -resume option works as expected:

touch modules/test/resources/usr/bin/test_hello.sh
nextflow run . -resume

This should cause the test:test_hello process to run, as the script has been "modified", however the observed behavior is that both process use the cached version of the script (as of Nextflow version 25.04.6)

About

Nextflow workflow for testing resume behavior with modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors