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: README.md
+7-20Lines changed: 7 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Let's start!
75
75
76
76
## General context
77
77
78
-
This repository contains the materials (exercises) for the workshop on Nextflow on 10-11th November 2024.
78
+
This repository contains the materials (exercises) for the workshop on Nextflow on 21-22nd November 2024.
79
79
80
80
The **presentations** which goes alongside this material can be found [in the Lesson overview: Slides](#2) .
81
81
@@ -212,11 +212,6 @@ Contributors
212
212
213
213
- we welcome contributors for these materials
214
214
215
-
## Citing this lesson
216
-
217
-
Please cite as:
218
-
219
-
1. to be added once we have released the first version
220
215
221
216
## Chapters List
222
217
@@ -285,6 +280,7 @@ Host login-gent
285
280
User vscXXXXX # Replace Xs with your VSC ID
286
281
HostName login.hpc.ugent.be
287
282
IdentityFile ~/.ssh/id_rsa # This should be replaced with the path to your private key ( windows users might look like this: C:\Users\KrisDavie\Documents\VSC\vsc_id_rsa)
283
+
288
284
```
289
285
- Start a terminal in VSCode (select Terminal and then New Terminal)
290
286
- Connect to the cluster with the following command: `ssh login-gent`
IdentityFile ~/.ssh/id_rsa # This should be replaced with the path to your private key ( windows users might look like this: C:\Users\KrisDavie\Documents\VSC\vsc_id_rsa)
300
+
303
301
```
304
302
- Finally you can open a this host in VSCode by typing `Ctrl-Shift-P` and selecting `Remote-SSH: Connect to Host...` and selecting the host you just added.
305
303
@@ -326,7 +324,7 @@ You are free to connect to the cluster however you want, but the above 2 methods
326
324
- Clone this repository into the folder: `git clone https://github.com/vibbits/nextflow-workshop.git`
327
325
- For the Gent cluster usage, in any terminal where you want to run your excercises
328
326
329
-
1. Load the nextflow module: `module load Nextflow/24.10.0`
327
+
1. Load the nextflow module: `module load Nextflow/24.04.2`
330
328
2. Export the following envrionment variables - these are required so that your home folder is not filled when building and storing apptainer images
2. Geert van Geest, Elin Kronander, Jose Alejandro Romero Herrera, Nadja Žlender, & Alexia Cardona. (2023). The ELIXIR Training Lesson Template - Developing Training Together (v1.0.0-alpha). Zenodo. https://doi.org/10.5281/zenodo.7913092.
343
341
344
342
## References
@@ -452,9 +450,6 @@ Nextflow is not the only player in the field[[2](https://github.com/pditommaso/a
452
450
453
451
Some thoughts or disadvantages from my personal point of view. It takes some time to get used to the syntax of the Groovy language. As flexible as it is, as complex it gets. Often it's difficult to trace down the exact problem of a failure of a pipeline script, especially in the beginning. It's probably not the first thing you should be concerned of if you're doing a one-time analysis.
454
452
455
-
<!--
456
-
Fast prototyping => Custom DSL that enables tasks composition, simplifies most use cases + general purpose programming language for corner cases Easy parallelisation => declarative reactive programming model based on dataflow paradigm, implicit portable parallelism Decouple components => functional approach a task execution is idempotent, ie cannot modify the state of other tasks + isolate dependencies with containers Portable deployments => executor abstraction layer + deployment configuration from implementation logic)
457
-
-->
458
453
459
454
### Main abstractions
460
455
Nextflow consists of four main components: channels, operators, processes and workflows.
Here `params.input_read = '/path/to/read_1.fq'` will create a parameter `input_read` and give it the value `'/path/to/read_1.fq'` which is used as an input for the channel. We will later see that these parameters can then be overwritten on runtime.
513
-
514
-
<!--
515
-
(The workflows can be repesented as graphs where the nodes are the processes and the edges are the channels. The processes are block of code that can be executed such as scripts or programs, while the channels are asynchronous queue able to connect processess among them via input / output.)
516
-
517
-
(Each process is independent from the other and can be run in parallel depending on the availability of processors or if you are in a cluster environment with a scheduler supported by Nextflow. Note also the implicit parallelisation *.fastq in a channel one channel will split it out over multiple processes simultaneously. No need of making a fors–loop.)
518
-
519
-
(In the previous example the processes A, B and C can be run in parallel and only at their end the process D is triggered.)
520
-
-->
521
508
</div>
522
509
523
510
@@ -2295,7 +2282,7 @@ To start using Seqera Platform, first create an account on [cloud.seqera.io](htt
2295
2282
2296
2283
```bash
2297
2284
export TOWER_ACCESS_TOKEN=<YOUR ACCESS TOKEN>
2298
-
export NXF_VER=24.04.4
2285
+
export NXF_VER=24.04.2
2299
2286
```
2300
2287
2301
2288
Verify the Nextflow version (NXF_VER) with `nextflow -v`. The access token can be obtained from clicking on the top-right profile icon, select*Your tokens* and create *New token*.
0 commit comments