Skip to content

Collating all files at the end of a pipeline #2925

Answered by bentsherman
tjdurant asked this question in Q&A
Discussion options

You must be logged in to vote

It depends on which outputs you need. If you only need to collect outputs published by Nextflow processes, then you can just add another process to your workflow that collects those outputs. But if you also need the reports created by Nextflow (execution report, timeline, trace, log), then you must do that outside of Nextflow itself.

The best thing you can do in the latter case is to wrap the two steps -- Nextflow pipeline and python script -- in a bash script or even a Nextflow meta-pipeline (I have done this myself).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bentsherman
Comment options

@tjdurant
Comment options

@bentsherman
Comment options

@tjdurant
Comment options

@bentsherman
Comment options

Answer selected by bentsherman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants