Skip to content
Discussion options

You must be logged in to vote

Hi @qscacheri , answering for posterity since no one ever answered you. This is a common pitfall when learning how to write Nextflow pipelines. Basically, processes do not necessarily emit outputs in the same order as the inputs, so in this case bar.out and baz.out may not have the same order. You should always add some metadata (e.g. id) to each item so that you can recombine outputs later on.

Additionally, the combine operator does an outer product whereas it looks like you wanted an inner product. For that you should use join.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
2 participants