2
$\begingroup$

Using DSL2.

I have processes A, B, C which I want to run in sequence - B waits for A to finish, C waits for B to finish.

They are not communicating via channels so I can't do A.out.collect().

I have tried making dummy channels but this is problematic and a hack. The onComplete subscription doesn't seem to let me trigger another process.

What is the correct way to run a sequence of processes which are not communicating or triggered by channels?

P.S. I am aware that this is not really the intended use case of Nextflow (which is oriented around channel communication/triggers... but... I just need to get this done.)

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.