diff --git a/docs/hello_nextflow/01_hello_world.md b/docs/hello_nextflow/01_hello_world.md index dcbccd8d..26026780 100644 --- a/docs/hello_nextflow/01_hello_world.md +++ b/docs/hello_nextflow/01_hello_world.md @@ -18,19 +18,17 @@ Let's demonstrate this with a simple command that we run directly in the termina echo 'Hello World!' ``` -### 0.2. Now make it write the text output to a file - -```bash -echo 'Hello World!' > output.txt +```console title="Output" +Hello World! ``` -### 0.3. Verify that the output file is there using the `ls` command +### 0.2. Now make it write the text output to a file ```bash -ls +echo 'Hello World!' > output.txt ``` -### 0.4. Show the file contents +### 0.3. Show the file contents ```bash cat output.txt @@ -157,8 +155,9 @@ workflow { ``` This a very minimal **workflow** definition. -In a real-world pipeline, the workflow typically contains multiple calls to **processes** connected by **channels**. -You'll learn how to add more processes and connect them by channels in Part 3 of this course. +In a real-world pipeline, the workflow typically contains multiple calls to **processes** connected by **channels**, and the processes expect one or more variable **input(s)**. + +You'll learn how to add variable inputs later in this training module; and you'll learn how to add more processes and connect them by channels in Part 3 of this course. ### Takeaway diff --git a/hello-nextflow/greetings.csv b/hello-nextflow/greetings.csv index ab8a5901..c5889e19 100644 --- a/hello-nextflow/greetings.csv +++ b/hello-nextflow/greetings.csv @@ -1 +1,3 @@ -Hello,Bonjour,Holà +Hello +Bonjour +Holà diff --git a/hello-nextflow/hello-world copy.nf b/hello-nextflow/hello-world copy.nf deleted file mode 100644 index 58913825..00000000 --- a/hello-nextflow/hello-world copy.nf +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env nextflow - -/* - * Use echo to print 'Hello World!' to a file - */ -process sayHello { - - input: - val $greeting - - output: - path 'output.txt' - - script: - """ - echo '$greeting' > output.txt - """ -} - -workflow { - - // emit a greeting - sayHello(params.greet) -}