nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.61k stars 605 forks source link

Generate stubs from process outputs #5058

Open bentsherman opened 2 weeks ago

bentsherman commented 2 weeks ago

It should be possible to generate a "stub" script from the process outputs, since the purpose of the stub is essentially to generate some empty output files that match the output declaration in order to trigger downstream processes. This should eliminate the need to explicitly define a stub in most cases.

Some edge cases to consider: