Forrest logo
back to the nextflow tool

nextflow:tldr:30ad2

nextflow: Run with a given work directory for intermediate files, save execution report.
$ nextflow run ${workflow} -work-dir ${path-to-directory} -with-report ${report-html}
try on your machine

The command nextflow run ${workflow} is used to execute a Nextflow workflow.

  • ${workflow} should be replaced with the path or URL to the main Nextflow script of your workflow.

The optional -work-dir ${path-to-directory} parameter specifies the path to the directory where Nextflow will create all the work-related files for the execution of the workflow.

  • ${path-to-directory} should be replaced with the desired path where you want Nextflow to create this directory.

The optional -with-report ${report-html} parameter is used to generate an HTML report of the workflow execution.

  • ${report-html} should be replaced with the path or name of the HTML report file you want to generate.

In summary, this command is used to run a Nextflow workflow, specifying the working directory and enabling the generation of an HTML report.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nextflow tool