Skip to content

Commit

Permalink
update processes lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Dec 4, 2023
1 parent 7e0ea70 commit 7008f11
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions _episodes/05-processes-part1.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ workflow {
> > nextflow.enable.dsl=2
> >
> > process SALMON_VERSION {
> >
> > module "Salmon/1.10.0-IGB-gcc-8.2.0"
> >
> > script:
> > """
> > salmon --version
Expand All @@ -169,11 +170,11 @@ workflow {
> > ~~~
> > {: .language-bash}
> > ~~~
> > N E X T F L O W ~ version 21.04.0
> > Launching `process.nf` [prickly_gilbert] - revision: 471a79c65c
> > N E X T F L O W ~ version 22.09.7-edge
> > Launching `salmon-version.nf` [prickly_brazil] DSL2 - revision: bba3557897
> > executor > local (1)
> > [56/5e6001] process > SALMON_VERSION [100%] 1 of 1 ✔
> > salmon 1.5.2
> > [07/6d4fce] process > SALMON_VERSION [100%] 1 of 1 ✔
> > salmon 1.10.0
> > ~~~
> {: .solution}
{: .challenge}
Expand Down Expand Up @@ -222,6 +223,8 @@ The `script` block can be a simple one line string in quotes e.g.
nextflow.enable.dsl=2

process PROCESSBAM {
module "SAMtools/1.17-IGB-gcc-8.2.0"

script:
"samtools sort -o ref1.sorted.bam ${projectDir}/data/yeast/bams/ref1.bam"
}
Expand All @@ -241,6 +244,8 @@ For example:
nextflow.enable.dsl=2

process PROCESSBAM {
module "SAMtools/1.17-IGB-gcc-8.2.0"

script:
"""
samtools sort -o ref1.sorted.bam ${projectDir}/data/yeast/bams/ref1.bam
Expand Down
Binary file added files/Per-lesson/1-Getting_started.pdf
Binary file not shown.
Binary file added files/Per-lesson/3-Workflow_parameterization.pdf
Binary file not shown.
Binary file added files/Per-lesson/4-Channels.pdf
Binary file not shown.
Binary file added files/Per-lesson/5-Processes-pt1.pdf
Binary file not shown.
Binary file added files/Per-lesson/6-Processes-pt2.pdf
Binary file not shown.

0 comments on commit 7008f11

Please sign in to comment.