Nextflow is a DSL workflow manager (https://www.nextflow.io/).
The nf-core projects hosts community curated nextflow pipelines.
- Install
nextflow
by following the instructions here - Optionally move the
nextflow
directory to a directory in your path i.e.echo $PATH
and thenmv nextflow usr/bin
- Navigate to the directory where you saved
example.nf
- Run the pipeline with the following command:
nextflow run example.nf --ref ref.fasta[.gz] --left path/to/reads_1.fastq --right path/to/reads_2.fastq --outdir path/to/resultdir
- Or run
nextflow run example.nf --help
for more information
This pipeline is a minimal example of using nextflow. We welcome contributions to the documentation and workflow, please create an issue or submit a pull request!
Di Tommaso, P., Chatzou, M., Floden, E. W., Barja, P. P., Palumbo, E., & Notredame, C. (2017). Nextflow enables reproducible computational workflows. Nature Biotechnology, 35(4), 316–319. doi:10.1038/nbt.3820