Skip to content

Commit

Permalink
slight update
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Oct 2, 2023
1 parent 66316aa commit 919d9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _episodes/04-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ Queue channels are a type of channel in which data is consumed (used up) to make
> In DSL2 we can use a queue channel multiple times.
{: .callout}

We can create a scratch Nextflow script for testing out the code examples below, then use `nextflow run` to see the output.

### Value channels

The second type of Nextflow channel is a `value` channel. A **value** channel is bound to a **single** value. A value channel can be used an unlimited number times since its content is not consumed. This is also useful for processes that need to reuse input from a channel, for example, a reference genome sequence file that is required by multiple steps within a process, or by more than one process.
Expand Down Expand Up @@ -89,6 +87,8 @@ of a `Channel`.

### The value Channel factory

We can create a scratch Nextflow script for testing out the code examples below, then use `nextflow run` to see the output.

The `value` factory method is used to create a value channel.
Values are put inside parentheses `()` to assign them to a channel.

Expand Down

0 comments on commit 919d9ac

Please sign in to comment.