nextflow-io / patterns

A curated collection of Nextflow implementation patterns
http://nextflow-io.github.io/patterns/
MIT License
329 stars 72 forks source link

Add pattern for conditional process execution based on a channel result #44

Closed bentsherman closed 1 year ago

bentsherman commented 1 year ago

Inspired by this issue: https://github.com/nextflow-io/nextflow/issues/3713

But also many users have asked about how to use channel results to control other process/operator executions. Since it's a bit non-trivial, would be good to have a pattern for it.