how can I run a a Nextflow pipeline from an arbitrary process?
-resume option is not useful when there is no error but the content of the output file of a process is erroneous and you want to make a run from a selected process onward. Somehow, I could not find a working answer to this simple looking question on Google.
You can add checkpoints throughout your workflow declaration. For example, here is a simple pipeline with 2 processes where an input channel is created either from the collection of the output of
Process1or from thepublishDirdirectory fromProcess1. I used thecollect()function just to show that processing of theall_p1channel.