A Toy Example

Example

Let’s start with a very simple toy example for echo’ing the text “Hello World!” And then we’ll build to our bioinformatics example.

First, create a process called HELLO with our shell command:

process HELLO {

script:

"""

echo “Hello World!”

"""

}

Then we execute this process in our workflow:

workflow {

HELLO()

}

Previous
Next
RC Logo RC Logo © 2026 The Rector and Visitors of the University of Virginia