Create a New File called main.nf

We can create a new file called main.nf with these lines.

process HELLO {

script:

"""

echo “Hello World!”

"""

}

workflow {

HELLO()

}

Show and execute main.nf in terminal. Show where the file goes. Went to .command.out file in ‘work’ directory for the specific process

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