Skip to content

Commit 9fc0b37

Browse files
committed
Various fixes
1 parent d20500f commit 9fc0b37

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/basic_training/channels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ It will produce an output similar to the following:
331331

332332
!!! warning
333333

334-
The glob pattern _must_ contain at least a star wildcard character (`*`).
334+
The glob pattern _must_ contain at least an asterisk wildcard character (`*`).
335335

336336
The `fromFilePairs` channel factory also has options to help you control its behaviour:
337337

@@ -431,7 +431,7 @@ Channel
431431

432432
Read pairs are implicitly managed and are returned as a list of files.
433433

434-
It’s straightforward to use this channel as an input using the usual Nextflow syntax
434+
It’s straightforward to use this channel as an input using the usual Nextflow syntax.
435435

436436
The code below creates a channel containing two samples from a public SRA study and runs `FASTQC` on the resulting files. See:
437437

docs/basic_training/operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ z
170170

171171
!!! warning
172172

173-
The items in the resulting channel have the same order as in the respective original channels. However, there is no guarantee that the element of the second channel are appended after the elements of the first. Indeed, in the example above, the element `a` has been printed before `3`.
173+
The items in the resulting channel have the same order as in the respective original channels. However, there is no guarantee that the elements of the second channel are appended after the elements of the first. Indeed, in the example above, the element `a` has been printed before `3`.
174174

175175
### `flatten()`
176176

@@ -390,7 +390,7 @@ The `splitCsv` operator allows you to parse text items emitted by a channel, tha
390390

391391
It then splits them into records or groups them as a list of records with a specified length.
392392

393-
In the simplest case, just apply the `splitCsv` operator to a channel emitting a CSV formatted text files or text entries. For example, to view only the first and fourth columns:
393+
In the simplest case, just apply the `splitCsv` operator to a channel emitting a CSV formatted text file or text entries. For example, to view only the first and fourth columns:
394394

395395
```groovy linenums="1" title="snippet.nf"
396396
Channel

docs/basic_training/processes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Your expected output will look something like this:
197197
The current directory is /workspace/gitpod/nf-training/work/7a/4b050a6cdef4b6c1333ce29f7059a0
198198
```
199199

200-
However, this using the single quotes (`'`) will block the usage of Nextflow variables in the command script.
200+
However, using the single quotes (`'`) will block the usage of Nextflow variables in the command script.
201201

202202
Another alternative is to use a `shell` statement instead of `script` and use a different syntax for Nextflow variables, e.g., `!{..}`. This allows the use of both Nextflow and Bash variables in the same script.
203203

@@ -540,7 +540,7 @@ workflow {
540540
3 and a
541541
```
542542

543-
As `ch2` is now a _value_ channel, it can be consumed multiple times and do not affect process termination.
543+
As `ch2` is now a _value_ channel, it can be consumed multiple times and does not affect process termination.
544544

545545
!!! question "Exercise"
546546

@@ -760,7 +760,7 @@ Some caveats on glob pattern behavior:
760760

761761
- Input files are not included in the list of possible matches
762762
- Glob pattern matches both files and directory paths
763-
- When a two stars pattern `**` is used to recourse across directories, only file paths are matched i.e., directories are not included in the result list.
763+
- When a two asterisks pattern `**` is used to recourse across directories, only file paths are matched i.e., directories are not included in the result list.
764764

765765
!!! question "Exercise"
766766

@@ -1141,7 +1141,7 @@ workflow {
11411141
}
11421142
```
11431143

1144-
The above example will copy all blast script files created by the `BLASTSEQ` process into the directory path `results`.
1144+
The above example will copy all BAM files created by the `FOO` process into the directory path `results`.
11451145

11461146
!!! tip
11471147

0 commit comments

Comments
 (0)