You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hello_nextflow/03_hello_containers.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Notice that the prompt has changed to `(base) root@b645838b3314:/tmp#`, which in
59
59
If we run:
60
60
61
61
```console title="Output"
62
-
(base) root@b645838b3314:/tmp# ls
62
+
(base) root@b645838b3314:/tmp# ls /
63
63
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
64
64
```
65
65
@@ -115,7 +115,7 @@ One way to do this is to **mount** a **volume** from the host system into the co
115
115
Prior to working on the next task, confirm that you are in the `hello-nextflow` directory.
116
116
117
117
```bash
118
-
cd /workspace/gitpod/nf-training/hello-nextflow
118
+
cd /workspace/gitpod/hello-nextflow
119
119
```
120
120
121
121
Then run:
@@ -166,6 +166,12 @@ Output:
166
166
/_]' /_]'
167
167
```
168
168
169
+
Now exit the container once again:
170
+
171
+
```bash
172
+
exit
173
+
```
174
+
169
175
### Takeaway
170
176
171
177
You know how to pull a container and run it interactively, make your data accessible to it, which lets you try commands without having to install any software on your system.
@@ -183,7 +189,7 @@ This means that you can use any container image you like to run your processes,
183
189
184
190
### 2.1. Add a container directive to your process
185
191
186
-
Edit the `hello_containers.nf` script to add a `container` directive to the `cowsay` process.
192
+
Edit the `hello-containers.nf` script to add a `container` directive to the `cowsay` process.
187
193
188
194
_Before:_
189
195
@@ -207,7 +213,7 @@ process cowSay {
207
213
Run the script to see the container in action.
208
214
209
215
```bash
210
-
nextflow run hello_containers.nf
216
+
nextflow run hello-containers.nf
211
217
```
212
218
213
219
!!! NOTE
@@ -410,7 +416,7 @@ Doing these exercises is _not required_ to understand later parts of the trainin
410
416
|| ||
411
417
```
412
418
413
-
### 4.1. Modify the `hello_containers.nf` script to use a getQuote process
419
+
### 4.1. Modify the `hello-containers.nf` script to use a getQuote process
414
420
415
421
We have a list of computer and biology pioneers in the `containers/data/pioneers.csv` file.
416
422
At a high level, to complete this exercise you will need to:
0 commit comments