carpentries-incubator / workflows-nextflow

Workflow management with Nextflow and nf-core
https://carpentries-incubator.github.io/workflows-nextflow/
Other
19 stars 29 forks source link

Add to channels about using `.out` #52

Closed mahesh-panchal closed 2 years ago

mahesh-panchal commented 2 years ago

The channels episode does not currently describe how to access channel outputs or the difference when .out should be used. e.g.

workflow {
    index = INDEX( input_ch )
}

vs

workflow {
    INDEX( input_ch )
    index = INDEX.out
}
ggrimes commented 2 years ago

I cover this in the workflow episode. Do you think it should be put in the channels episode?

mahesh-panchal commented 2 years ago

Hmm. Perhaps not then. It's a workflow specific concept.