Skip to content

Commit

Permalink
Merge pull request #312 from nextflow-io/minor-rnaseq
Browse files Browse the repository at this point in the history
Apply minor changes to improve RNAseq section
  • Loading branch information
christopher-hakkaart authored Mar 6, 2024
2 parents 4338f13 + f6afff0 commit 4002790
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/basic_training/rnaseq_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@ To avoid being required to add `-with-docker` to your execution command every ti

Viewing a channel with the [`view`](https://www.nextflow.io/docs/latest/operator.html#view) operator is a useful way to see what is in a channel and is useful for testing and debugging:

```groovy linenums="1" title="example.nf"
index_ch.view()
```

!!! question "Exercise"

Print the output of the `index_ch` channel by using the [view](https://www.nextflow.io/docs/latest/operator.html#view) operator.
Expand All @@ -212,15 +208,15 @@ index_ch.view()
Directives are used to specify the execution requirements of a process. For example, the `cpus` directive specifies the number of CPUs required to execute the process. Directives can be added under the `process` declaration.

```groovy linenums="22" title="script2.nf"
process INDEX {
process PROCESS_NAME {
cpus 2
...
}
```

!!! question "Exercise"

Add the `cpus` directive to the `SALMON` process to modify the number of CPUs allocated for its execution.
Add the `cpus` directive to the `INDEX` process to modify the number of CPUs allocated for its execution.

??? Solution

Expand Down

0 comments on commit 4002790

Please # to comment.