3 All Command Options

3.1 Mandatory Parameters

–input_dir - this specifies a path to the input files.

3.2 Nextflow Options

The nextflow command itself provides many additional options you may add to your “main” script. A few of the most commonly applicable ones are documented below. For a full list, type [path to nextflow] run -h- the full list does not appear to be documented at nextflow’s website.

  • -w [path] Path to the directory where nextflow will place temporary files. This directory can fill up very quickly, especially for large experiments, and so it can be useful to set this to a scratch directory or filesystem with plenty of storage capacity.
  • -resume Include this flag if pipeline execution halts with an error for any reason, and you wish to continue where you left off from last run. Otherwise, by default, nextflow will restart execution from the beginning.
  • -with-report [filename] Include this to produce an html report with execution details (such as memory usage, completion details, and much more)
  • N [email address] Sends email to the specified address to notify the user regarding pipeline completion. Note that nextflow relies on the sendmail tool for this functionality- therefore sendmail must be available for this option to work.
  • --output [path] Path to the directory where you would like to have the results of this pipeline stored.