Skip to content

Commit

Permalink
Merge pull request #158 from carpentries-incubator/ggrimes-patch-1
Browse files Browse the repository at this point in the history
Ggrimes patch 1
  • Loading branch information
ggrimes authored Jul 23, 2024
2 parents 15f18bb + e3e804c commit 9a90762
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions episodes/04-processes-part1.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ $ nextflow run process_multi_line.nf -process.debug
N E X T F L O W ~ version 21.10.6
Launching `process_multi_line.nf` [focused_jang] - revision: e32caf0dcb
executor > local (1)
[00/14ce67] process > CHR_COUNT (1) [100%] 1 of 1 ✔
Number of sequences for chromosome A:118
[90/6e38f4] process > NUMSEQ_CHR [100%] 1 of 1 ✔
118
```

::::::::::::::::::::::::::::::::::::: instructor
Expand Down Expand Up @@ -340,6 +340,10 @@ workflow {
}
```

```bash
nextflow run process_python_script.nf -process.debug
```

```output
N E X T F L O W ~ version 23.10.1
Launching `pr.nf` [kickass_legentil] DSL2 - revision: 3b9eee1d47
Expand Down Expand Up @@ -421,7 +425,17 @@ workflow {
Remember, we can change the default value of `chr` to a different value such as `B`, by running the Nextflow script using the command below. **Note:** parameters to the workflow have two hyphens `--`.

```bash
nextflow run process_script_params.nf --chr B
nextflow run process_script_params.nf --chr B -process.debug
```

```output
N E X T F L O W ~ version 24.04.3
Launching `process_script_params.nf` [pedantic_mandelbrot] DSL2 - revision: 538e3c2b38
executor > local (1)
[19/6d96a0] process > CHR_COUNT [100%] 1 of 1 ✔
Number of sequences for chromosome B:456
```

::::::::::::::::::::::::::::::::::::::: challenge
Expand Down Expand Up @@ -505,7 +519,7 @@ In the example below we will set a bash variable `NUMIDS` then echo the value of


```groovy
//process_escape_bash.nf
process NUM_IDS {
Expand Down

0 comments on commit 9a90762

Please sign in to comment.