Welcome to the nf-hello-world repository! This is a demonstration pipeline built using Nextflow, designed to showcase a basic 'hello world' workflow. The pipeline is ideal for demonstrating how to handle input and output files via channels and pass them between processes effectively.
The nf-hello-world pipeline simply takes a set of greetings, upper cases them, and prints the output to file. It comes with test data located in ./data that should run in seconds, allowing you to demonstrate the pipeline quickly. No custom software is required.
If you are following the hello-nextflow series on https://training.nextflow.io/, you will create a similar version of this pipeline.
To run this pipeline locally, you need to have the following software installed:
To run the pipeline, use the following command:
nextflow run seqeralabs/nf-hello-world -profile demo
If you wish you can manually supply your own parameters using command line options. These are the defaults specified from the root of the repository:
nextflow run seqeralabs/nf-hello-world \
--input_file "./data/greetings.csv"
This will run the pipeline using the supplied greetings.
The pipeline allows for the following input parameters:
--input_file
: A file containing a comma-separated list of greetings.
Example of running the pipeline:
nextflow run seqeralabs/nf-hello-world \
--input_file "./data/greetings.csv"
For more advanced usage, such as customizing the workflow, modifying the process definitions, or integrating additional tools, you can edit the main.nf
file or create custom configurations.
All training material was originally written by Seqera but has been made open-source (CC BY-NC-ND) for the community.
Copyright 2020-2023, Seqera. All examples and descriptions are licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.