CLI reference
This page lists all of the available options and subcommands for the Nextflow CLI.
Options
The top-level options are meant to be invoked in relation to the core Nextflow application and are applied to all commands. For options specific to any command, refer the CLI Commands section.
Available options: Comma-separated list of configuration files which are used as the configuration set. Any other default configuration files are ignored. Set JVM properties (e.g. Execute Nextflow in background. Allows you to close your terminal without terminating the pipeline run. Comma-separated list of configuration files which are added to the configuration set. Launch Nextflow via Docker (experimental). Print available commands and options. Set Nextflow log file path (default: Do not print the Nextflow banner and execution progress to the console. Does not affect error messages. Enable JVM interactive remote debugging (experimental). Send logs to a Syslog server (e.g. Enable trace level logging for the specified packages. Multiple packages can be provided separating them with a comma, e.g. Print the program version.-C-D-Dfile.encoding=UTF-8). Equivalent to the NXF_JVM_ARGS environment variable.-bg-c, -config-d, -dockerize-h-log.nextflow.log). Must be a local path.-q, -quiet-remote-debug-sysloglocalhost:514).-trace-trace nextflow,io.seqera.-v, -version
Commands
auth
Manage Seqera Platform authentication. The Prints the command usage information. Authenticates with Seqera and saves credentials. Sets Seqera primary compute environment, monitoring, and workspace. Available options: Specifies your Seqera API endpoint (default: Removes Seqera authentication and revokes the Seqera Cloud access token (if applicable). Sets Seqera primary compute environment, monitoring, and workspace. Shows Seqera authentication status and configuration. Authenticate with Seqera Cloud: Authenticate with an Enterprise installation: View current authentication status: Configure Seqera settings: Remove authentication:Usage
$ nextflow auth <subcommand> [options]Description
auth command provides authentication and configuration management for Seqera. For Seqera Cloud, it uses an OAuth2 authentication flow to generate and save a Personal Access Token (PAT) locally. For Seqera Enterprise installations, it uses direct PAT authentication. Credentials are saved to ~/.nextflow/seqera-auth.config. An includeConfig statement is automatically added to ~/.nextflow/config or the configuration file set using $NXF_HOME.Options
-h, -helpSubcommands
login-u, -urlhttps://api.cloud.seqera.io)logoutconfigstatusExamples
$ nextflow auth login$ nextflow auth login -u https://tower.example.com/api$ nextflow auth status$ nextflow auth config$ nextflow auth logout
clean
Clean up cache and work directories. Upon invocation within a directory, If no run name or session id is provided, it will clean the latest run. Clean up runs executed after the specified one. Clean up runs executed before the specified one. Clean up all runs except the specified one. Print names of files to be removed without deleting them. Force clean command. Print the command usage. Removes only temporary files but retains execution log entries and metadata. Do not print names of files removed. Dry run to remove work directories for the run name Remove work directories for the run name Remove the execution entries except for a specific execution. Dry run to remove the execution data before a specific execution. Dry run to remove the execution data after a specific execution. Dry run to remove the temporary execution data for a specific execution, while keeping the log files.Usage
$ nextflow clean [run_name|session_id] [options]Description
nextflow creates a project specific .nextflow.log file, .nextflow cache directory as well as a work directory. The clean command is designed to facilitate removal of these files from previous executions. A list of run names and session ids can be generated by invoking nextflow log -q.Options
-after-before-but-n, -dry-run-f, -force-h, -help-k, -keep-logs-q, -quietExamples
boring_euler:$ nextflow clean boring_euler -n
Would remove work/92/c1a9cd9a96e0531d81ca69f5dc3bb7
Would remove work/3f/70944c7a549b6221e1ccc7b4b21b62
Would remove work/0e/2ebdba85f76f6068b21a1bcbf10cabboring_euler.$ nextflow clean boring_euler -f
Removed work/92/c1a9cd9a96e0531d81ca69f5dc3bb7
Removed work/3f/70944c7a549b6221e1ccc7b4b21b62
Removed work/0e/2ebdba85f76f6068b21a1bcbf10cab$ nextflow clean -but tiny_leavitt -f
Removed work/1f/f1ea9158fb23b53d5083953121d6b6
Removed work/bf/334115deec60929dc18edf0010032a
Removed work/a3/06521d75da296d4dd7f4f8caaddad8$ nextflow clean -before tiny_leavitt -n
Would remove work/5d/ad76f7b7ab3500cf616814ef644b61
Would remove work/c4/69a82b080a477612ba8d8e4c27b579
Would remove work/be/a4fa2aa38f76fd324958c81c2e4603
Would remove work/54/39116773891c47a91e3c1733aad4de$ nextflow clean -after focused_payne -n
Would remove work/1f/f1ea9158fb23b53d5083953121d6b6
Would remove work/bf/334115deec60929dc18edf0010032a
Would remove work/a3/06521d75da296d4dd7f4f8caaddad8$ nextflow clean -keep-logs tiny_leavitt -n
Would remove temp files from work/1f/f1ea9158fb23b53d5083953121d6b6
Would remove temp files from work/bf/334115deec60929dc18edf0010032a
Would remove temp files from work/a3/06521d75da296d4dd7f4f8caaddad8
clone
Clone a remote project into a folder. The Create a shallow clone of the specified depth. Print the command usage. Service hub where the project is hosted. Options: Revision to clone. It can be a git branch, tag, or commit SHA number. Private repository user name. Clone the latest revision of a pipeline. Clone a specific revision of a pipeline.Usage
$ nextflow clone [options] [project]Description
clone command downloads a pipeline from a Git-hosting platform into the current directory and modifies it accordingly. For downloading a pipeline into the global cache ~/.nextflow/assets, please refer to the nextflow pull command.Options
-d, -deep-h, -help-hub (github)gitlab or bitbucket.-r (master)-userExamples
$ nextflow clone nextflow-io/hello
nextflow-io/hello cloned to: hello$ nextflow clone nextflow-io/hello -r v1.1
nextflow-io/hello cloned to: hello
config
Print the resolved pipeline configuration. The Print config using flat notation. Print the command usage. Choose a configuration profile. Print config using Java properties notation. Project revision. Can be a git branch, tag, or commit SHA number. Show all configuration profiles. Sort config attributes. Print the value of a config option, or fail if the option is not defined. Print out the inferred config using a the default group key-value notation. Print out the config using a flat notation. Print out the config using the Java properties notation. Print out the value of a specific configuration property. Print out all profiles from the project's configuration.Usage
$ nextflow config [options] [project name or path]Description
config command is used for printing the project's configuration i.e. the nextflow.config and is especially useful for understanding the resolved profiles and parameters that Nextflow will use run a pipeline. For in-depth information, see the Config profiles section.Options
-flat-h, -help-profile-properties-r, -revision-a, -show-profiles-sort-valueExamples
$ nextflow config
docker {
enabled = true
}
process {
executor = 'local'
}$ nextflow config -flat
docker.enabled = true
process.executor = 'local'$ nextflow config -properties
docker.enabled = true
process.executor = local$ nextflow config -value process.executor
local$ nextflow config -show-profiles
docker {
enabled = true
}
profiles {
standard {
process {
executor = 'local'
}
}
cloud {
process {
executor = 'cirrus'
container = 'cbcrg/imagex'
}
}
}
console
Launch the Nextflow interactive console. The None available. Launch the Usage
$ nextflow consoleDescription
console command provides a Graphical User Interface (GUI) and an interactive REPL (Read-Eval-Print-Loop) for quick experimentation.Options
Examples
console GUI.$ nextflow console
drop
Delete the local copy of a project. The Delete the repository without taking care of local changes. Print the command usage. Project revision to drop. Can be a git branch, tag, or commit SHA number. Drop the Forcefully drop the Usage
$ nextflow drop [options] [project]Description
drop command is used to remove the projects which have been downloaded into the global cache. Please refer the list command for generating a list of downloaded pipelines.Options
-f-h, -help-r, -revisionExamples
nextflow-io/hello project.$ nextflow drop nextflow-io/hellonextflow-io/hello pipeline, ignoring any local changes.$ nextflow drop nextflow-io/hello -f
fs
Perform basic filesystem operations. The Print the command usage. List a directory. Print the contents of a file to standard output. Copy a file or directory. Move a file or directory. Delete a file or directory. Print file or directory attributes.Usage
$ nextflow fs [subcommands]Description
fs command is used to perform filesystem operations like copy, move, delete, list directory, etc. Like the file() method, it can work with local files, remote URLs, and remote object storage. Storage credentials can be provided through the same manner as launching a pipeline (Nextflow config, environment vars, etc).Options
-h, -helpExamples
$ nextflow fs list <directory>$ nextflow fs cat <file>$ nextflow fs cp <source> <target>$ nextflow fs mv <source> <target>$ nextflow fs rm <path>$ nextflow fs stat <path>
help
Print the top-level help or specific help for a command. The Print the command usage. Invoke the Usage
$ nextflow help [options] [command]Description
help command prints out the overview of the CLI interface and enumerates the top-level options and commands. Note that this command is equivalent to simply invoking nextflow at the command line.Options
-h, -helpExamples
help option for the drop command.$ nextflow help drop
Delete the local copy of a project
Usage: drop [options] name of the project to drop
Options:
-f
Delete the repository without taking care of local changes
Default: false
-h, -help
Print the command usage
Default: false
info
Print project or system runtime information. The If no run name or session id is provided, it will clean the latest run. Check for remote updates. Show detailed information. Print the command usage. Output format, either Display Nextflow runtime and system info: Display information about a specific project:Usage
$ nextflow info [options] [project]Description
info command prints out the nextflow runtime information about the hardware as well as the software versions of the Nextflow version and build, operating system, and Groovy and Java runtime. It can also be used to display information about a specific project.Options
-u, -check-updates-d-h, -help-o (text)text, json, or yaml.Examples
$ nextflow info
Version: 20.07.1 build 5412
Created: 24-07-2020 15:18 UTC (20:48 IDT)
System: Mac OS X 10.15.6
Runtime: Groovy 2.5.11 on OpenJDK 64-Bit Server VM 1.8.0_192-b01
Encoding: UTF-8 (UTF-8)$ nextflow info nextflow-io/hello
project name: nextflow-io/hello
repository : https://github.com/nextflow-io/hello
local path : /Users/evanfloden/.nextflow/assets/.repos/nextflow-io/hello
main script : main.nf
revisions :
* master (default)
mybranch
testing
* v1.1 [t]
v1.2 [t]
inspect
Inspect process settings in a pipeline project. Currently only supports the The Build the container images resolved by the inspect command. Inspect output format. Can be Ignore errors while inspecting the pipeline. Load script parameters from a JSON/YAML file. Use the given configuration profile(s). Revision of the project to inspect (either a git branch, tag or commit SHA number). Get the list of containers used by a pipeline. Specify parameters as with the container directive.Usage
$ nextflow inspect [options] [project]Description
inspect command allows you to determine the container for each process in a pipeline without running the pipeline. It prints to stdout a listing of containers for each process, formatted either as JSON or Nextflow configuration.Options
-concretize-format (json)json or config.-i, -ignore-errors-params-file-profile-r, revisionExamples
$ nextflow inspect nextflow-io/hellorun command:$ nextflow inspect main.nf --alpha 1 --beta hello
kuberun
Launch a Nextflow pipeline on a Kubernetes cluster. The The The following new options are also available: Specify number of CPUs requested for the Nextflow pod. Specify the container image for the Nextflow driver pod. Specify amount of memory requested for the Nextflow pod. Specify script to be run before the Nextflow pod starts. Specify the K8s namespace to use. Add the specified file from the K8s cluster to configuration set. Choose a configuration profile in the remoteConfig. Volume claim mounts. For example, Execute a pipeline into a Kubernetes cluster.Usage
$ nextflow kuberun [options] [project]Description
kuberun command builds upon the run command and offers a deep integration with the Kubernetes execution environment. This command deploys the Nextflow runtime as a Kubernetes pod and assumes that you've already installed the kubectl CLI. The kuberun command does not allow the execution of local Nextflow scripts. See Kubernetes for more information.Options
kuberun command supports the following options from run:
-cache-disable-jobs-cancellation-dsl1-dsl2-dump-channels-dump-hashes-e.<key>=<value>-entry-h, -help-hub-latest-main-script-name-offline-params-file-plugins-preview-process.<key>=<value>-profile-qs, -queue-size-resume-r, -revision-stub, -stub-run-user-with-conda-with-dag-N, -with-notification-with-report-with-spack-with-timeline-with-tower-with-trace-with-wave-with-weblog-without-spack-without-wave-w, -work-dir-head-cpus-head-image-head-memory-head-prescript-n, -namespace-remoteConfig-remoteProfile-v, -volume-mountmy-pvc:/mnt/path.Examples
$ nextflow kuberun nextflow-io/hello
launch
Launch a workflow in Seqera Platform. The The compute environment for workflow execution. A configuration file to add to the configuration set. The entry workflow to be executed. Prints command usage information. Whether to pull the latest changes before execution. A mnemonic name to assign to the run. The script file to be executed when launching a project directory or repository. A JSON or YAML file to load parameters from. A configuration profile. Whether to resume an execution using cached results from a previous run. The project revision to run. Can be a git branch, tag, or commit hash. Whether to replace scripts with command stubs when executing the run. The directory where intermediate result files are stored. The Seqera Platform workspace name. Execute a pipeline in Seqera Platform.Usage
$ nextflow launch [options] [project]Description
launch command launches a pipeline run in Seqera Platform. To log in and configure the execution environment, use the auth command.Options
-compute-env-c, -config-entry-h, -help-latest-name-main-script-params-file-profile-resume-r, -revision-stub-run, -stub-w, -work-dir-workspaceExamples
$ nextflow launch nextflow-io/hello
lineage
Experimental: may change in a future release.
Inspect lineage metadata for Nextflow runs. The See Getting started with data lineage to learn how to get started with data lineage. Print the command usage. Validate the checksum of output lineage record. Display a git-style diff between two lineage records. Find all lineage records that match the given field values. List the Nextflow runs with lineage enabled, printing the corresponding lineage ID (LID) for each run. Render the lineage graph for a lineage record as an HTML file (default output path: The lineage record should be of type View a lineage record.Usage
$ nextflow lineage SUBCOMMAND [arg ..]Description
lineage command is used to inspect lineage metadata.Options
-h, -helpSubcommands
check <lid>diff <lid-1> <lid-2>find <field-1>=<value-1> [<field-2>=<value-2> ...]listrender <lid> [path]./lineage.html).FileOutput, TaskRun, or WorkflowRun.view <lid>
lint
Lint Nextflow scripts and config files. The File pattern to exclude from linting. Can be specified multiple times (default: Format scripts and config files that have no errors. Output mode for reporting errors: Sort script declarations in Nextflow scripts (default: Number of spaces to indent (default: Indent with tabs (default: Lint a specific file. Lint all files in the current directory (and subdirectories) with concise output. Lint and format all files in the current directory (and subdirectories) and use two spaces per indent. Formatting code with the Usage
$ nextflow lint [options] [paths]Description
lint command parses and analyzes the given Nextflow scripts and config files, formats them if specified, and prints any errors. Directories are recursively scanned for scripts and config files to lint.Options
-exclude.git, .nf-test, work).-format-o, -outputfull, extended, concise, json, markdown (default: full).-sort-declarationsfalse).-spaces4).-tabsfalse).Examples
$ nextflow lint main.nf$ nextflow lint -o concise .$ nextflow lint -format -spaces 2 .lint command in Nextflow 25.10 or later may make your code incompatible with previous versions of Nextflow. If you need your code to remain compatible with versions prior to 25.10, run the formatter with Nextflow 25.04:NXF_VER=25.04.8 nextflow lint -format .
list
List all downloaded projects. The Print the command usage. List the downloaded pipelines.Usage
$ nextflow list [options]Description
list commands prints a list of the projects which are already downloaded into the global cache ~/.nextflow/assets.Options
-h, -helpExamples
$ nextflow list
nextflow-io/hello
nextflow-hub/fastqc
log
Print the execution history and log information. The Show log entries for runs executed after the specified one. Show log entries for runs executed before the specified one. Show log entries for runs executed but the specified one. Comma-separated list of fields to include in the printed log. The same fields as the Use the Filter log entries by a custom expression, e.g. Print the command usage. Show all available fields. Show only run names. Character used to separate column values. Text template used to each record in the log. Listing the execution logs of previous invocations of all pipelines in a project. Listing only the run names of the execution logs of all pipelines invocations in a project. List the execution entries only a specific execution. List the execution entries after a specific execution. List the execution entries before a specific execution. List the execution entries except for a specific execution. Filter specific fields from the execution log of a process. Filter fields from the execution log of a process based on a criteria.Usage
$ nextflow log [options] [run_name | session_id]Description
log command is used to query the execution metadata associated with pipelines executed by Nextflow. The list of executed pipelines can be generated by running nextflow log. Instead of run name, it's also possible to use a session id. Moreover, this command contains multiple options to facilitate the queries and is especially useful while debugging a pipeline and while inspecting pipeline execution metadata.Options
-after-before-but-f, -fieldstrace.fields option can be specified here, as well as stdout and stderr. The trace fields %cpu and %mem must be specified as pcpu and pmem, respectively.-l option to see the complete list of available fields.-F, -filterprocess =~ /hello.*/ && status == 'COMPLETED'.-h, -help-l, -list-fields-quiet-s-t, -templateExamples
$ nextflow log
TIMESTAMP DURATION RUN NAME STATUS REVISION ID SESSION ID COMMAND
2020-10-07 11:52:24 2.1s focused_payne OK 96eb04d6a4 af6adaaa-ad4f-48a2-9f6a-b121e789adf5 nextflow run nextflow-io/hello -r master
2020-10-07 11:53:00 3.1s tiny_leavitt OK e3b475a61b 4d3b95c5-4385-42b6-b430-c865a70d56a4 nextflow run ./tutorial.nf
2020-10-07 11:53:29 2.5s boring_euler OK e3b475a61b a6276975-7173-4208-ae09-ab9d6dce8737 nextflow run tutorial.nf$ nextflow log -quiet
focused_payne
tiny_leavitt
boring_euler$ nextflow log tiny_leavitt
work/1f/f1ea9158fb23b53d5083953121d6b6
work/bf/334115deec60929dc18edf0010032a
work/a3/06521d75da296d4dd7f4f8caaddad8$ nextflow log -after tiny_leavitt
work/92/c1a9cd9a96e0531d81ca69f5dc3bb7
work/3f/70944c7a549b6221e1ccc7b4b21b62
work/0e/2ebdba85f76f6068b21a1bcbf10cab$ nextflow log -before tiny_leavitt
work/5d/ad76f7b7ab3500cf616814ef644b61
work/c4/69a82b080a477612ba8d8e4c27b579
work/be/a4fa2aa38f76fd324958c81c2e4603
work/54/39116773891c47a91e3c1733aad4de$ nextflow log -but tiny_leavitt
work/5d/ad76f7b7ab3500cf616814ef644b61
work/c4/69a82b080a477612ba8d8e4c27b579
work/be/a4fa2aa38f76fd324958c81c2e4603
work/54/39116773891c47a91e3c1733aad4de$ nextflow log tiny_leavitt -f 'process,exit,hash,duration'
split_letters 0 1f/f1ea91 112ms
convert_to_upper 0 bf/334115 144ms
convert_to_upper 0 a3/06521d 139ms$ nextflow log tiny_leavitt -F 'process =~ /split_letters/'
work/1f/f1ea9158fb23b53d5083953121d6b6
plugin
Manage plugins and run plugin-specific commands.
$ nextflow plugin <subcommand> [options]
Subcommands
create
Create a plugin scaffold using the Nextflow plugin template. See Creating a plugin for more information.
install <plugin[@version],..>
Install a plugin. Multiple plugins can be specified as a comma-separated list. Each plugin id consists of a name and optional version separated by a @.
<plugin>:<subcommand> [options]
Execute a plugin-specific command.
pull
Download or update a project. The Update all downloaded projects. Ignored for new multi-revision asset management strategy. Still used in legacy assets. Create a shallow clone of the specified depth. Print the command usage. Service hub where the project is hosted. Options: Update the project asset to new multi-revision strategy. Project revision to run. Can be a git branch, tag, or commit SHA number. When passing a git tag or branch, the Private repository user name. Download a new pipeline or pull the latest revision for a specific project. Pull the latest revision for all downloaded projects. Download a specific revision of a new project or pull the latest revision for a specific project.Usage
$ nextflow pull [options] [project]Description
pull command downloads a pipeline from a Git-hosting platform into the global cache ~/.nextflow/assets and modifies it accordingly. For downloading a pipeline into a local directory, please refer to the nextflow clone command.Options
-a, -all-d, -deep-h, -help-hub (github)gitlab or bitbucket-migrate-r, -revisionworkflow.revision and workflow.commitId fields are populated. When passing only the commit hash, workflow.revision is not defined.-userExamples
$ nextflow pull nextflow-io/hello
Checking nextflow-io/hello ...
done - revision: 96eb04d6a4 [master]$ nextflow pull -all
Checking nextflow-io/hello ...
done - revision: 96eb04d6a4 [master]
Checking nextflow-hub/fastqc ...
done - revision: 087659b18e [master]$ nextflow pull nextflow-io/hello -r v1.1
Checking nextflow-io/hello ...
checkout-out at AnyObjectId[1c3e9e7404127514d69369cd87f8036830f5cf64] - revision: 1c3e9e7404 [v1.1]
run
Execute a pipeline. The Exports all current system environment. Enable/disable ANSI console logging. Remote bucket where intermediate result files are stored. When running a hybrid workflow, Enable/disable processes caching. Ignored for new multi-revision asset management strategy. Still used in legacy assets. Create a shallow clone of the specified depth. Prevent the cancellation of child jobs on execution termination Execute the workflow using DSL1 syntax. Execute the workflow using DSL2 syntax. Dump channels for debugging purpose. Dump task hash keys for debugging purposes. You can use Add the specified variable to execution environment. Use params in the entry workflow to call different workflows from the command line. Entry workflow to be executed. Print the command usage. Service hub where the project is hosted. Options: Pull latest changes before run. Library extension path. The script file to be executed when launching a project directory or repository. Assign a mnemonic name to the a pipeline run. Do not check for remote project updates. Directory where workflow outputs are stored. Load script parameters from a JSON/YAML file. Comma separated list of plugin ids to be applied in the pipeline execution. Run the workflow script skipping the execution of all processes. Set process config options. Choose a configuration profile. Max number of processes that can be executed in parallel by each executor. Execute the script using the cached results, useful to continue executions that was stopped by an error. Project revision to run. Can be a git branch, tag, or commit SHA number. When passing a git tag or branch, the Execute the workflow replacing process scripts with command stubs Test a script function with the name specified. Private repository user name. Enable process execution in an Apptainer container. Enable process execution in a Charliecloud container. Enable the use of the Cloud cache plugin for storing cache metadata to an object storage bucket. Use the specified Conda environment package or file (must end with Create pipeline DAG file. The default format was changed from Enable process execution in a Docker container. Send a notification email on workflow completion to the specified recipients. Enable process execution in a Podman container. Create workflow execution HTML report. Enable process execution in a Singularity container. Use the specified Spack environment package or file (must end with Create workflow execution timeline. Monitor workflow execution with Seqera Platform (formerly Tower Cloud). Create workflow execution trace file. Enable the use of Wave containers. Send workflow status messages via HTTP to target URL. Disable process execution with Conda. Disable process execution with Docker. Disable process execution in a Podman container. Disable process execution with Spack. Disable the use of Wave containers. Directory where intermediate result files are stored. Run a specific revision of a remote pipeline. Choose a Execute a pipeline and generate the summary HTML report. For more information on the metrics, see Reports: Execute a pipeline with a custom queue size. By default, the queue size is the number of available CPUs. Invoke the pipeline with a specific workflow as the entry-point. Execute a pipeline with integrated monitoring in Seqera Platform. Execute a pipeline with a custom parameters file (YAML or JSON). See Pipeline parameters for more information about writing custom parameters files.Usage
$ nextflow run [options] [project]Description
run command is used to execute a local pipeline script or remote pipeline project.Options
-E-ansi-log-bucket-dir-bucket-dir and -work-dir should define separate work directories for remote tasks and local tasks, respectively.-cache-d, -deep-disable-jobs-cancellation-dsl1-dsl2-dump-channels-dump-hashes-dump-hashes json to dump the task hash keys as JSON for easier post-processing. See the caching and resuming tips for more details.-e.<key>=<value>-entry-h, -help-hub (github)gitlab or bitbucket-latest-lib-main-script (main.nf)-name-offline-o, -output-dir (results)-params-file-plugins-preview-process.<key>=<value>-profile-qs, -queue-size-resume-r, -revisionworkflow.revision and workflow.commitId fields are populated. When passing only the commit hash, workflow.revision is not defined.-stub-run, -stub-test-user-with-apptainer-with-charliecloud-with-cloudcache-with-conda.yml or .yaml)-with-dag (dag-<timestamp>.html)dot to html.-with-docker-N, -with-notification-with-podman-with-report (report-<timestamp>.html)-with-singularity-with-spack.yaml)-with-timeline (timeline-<timestamp>.html)-with-tower (https://api.cloud.seqera.io)-with-trace (trace-<timestamp>.txt)-with-wave (https://wave.seqera.io)-with-weblog (http://localhost)-without-conda-without-docker-without-podman-without-spack-without-wave-w, -work-dir (work)Examples
$ nextflow run nextflow-io/hello -r v1.1
N E X T F L O W ~ version 20.07.1
Launching `nextflow-io/hello` [grave_cajal] - revision: 1c3e9e7404 [v1.1]profile for running the project. Assumes that a profile named docker has already been defined in the config file.$ nextflow run main.nf -profile docker$ nextflow run main.nf -with-report$ nextflow run nextflow-io/hello -qs 4$ nextflow run main.nf -entry workflow_A$ nextflow run nextflow-io/hello -with-tower$ nextflow run main.nf -params-file pipeline_params.yml
secrets
Manage pipeline secrets. Print the command usage. List secrets available in the current store. Retrieve a secret value. Create or update a secret. Delete a secret. Set a secret: List secrets: Get a secret: Delete a secret:Usage
$ nextflow secrets <subcommand> [options]Options
-h, -helpSubcommands
listget <secret>set <secret> <value> delete <secret>Examples
$ nextflow secrets set FOO "Hello world"$ nextflow secrets list$ nextflow secrets get FOO$ nextflow secrets delete FOO
self-update
Update the nextflow runtime to the latest available version. The Update Nextflow.Usage
$ nextflow self-updateDescription
self-update command directs the nextflow CLI to update itself to the latest stable release.Examples
$ nextflow self-update
N E X T F L O W
version 20.07.1 build 5412
created 24-07-2020 15:18 UTC (20:48 IDT)
cite doi:10.1038/nbt.3820
http://nextflow.io
Nextflow installation completed. Please note:
- the executable file `nextflow` has been created in the folder: /usr/local/bin
view
View a project's script file(s). The Print the command usage. List repository content. Hide header line. Project revision. Can be a git branch, tag, or commit SHA number. Viewing the contents of a downloaded pipeline. List the folder structure of the downloaded pipeline: View the contents of a downloaded pipeline without omitting the header:Usage
$ nextflow view [options] [project]Description
view command is used to inspect the pipelines that are already stored in the global nextflow cache. For downloading a pipeline into the global cache ~/.nextflow/assets, refer to the pull command.Options
-h, -help-l-q-r, -revisionExamples
$ nextflow view nextflow-io/hello
== content of file: .nextflow/assets/.repos/nextflow-io/hello/main.nf
#!/usr/bin/env nextflow
process sayHello {
input:
val x
output:
stdout
script:
"""
echo '$x world!'
"""
}
workflow {
channel.of('Bonjour', 'Ciao', 'Hello', 'Hola') | sayHello | view
}$ nextflow view -l nextflow-io/hello
== content of path: .nextflow/assets/.repos/nextflow-io/hello
.git
.gitignore
LICENSE
README.md
main.nf
nextflow.config$ nextflow view -q nextflow-io/hello
#!/usr/bin/env nextflow
process sayHello {
input:
val x
output:
stdout
script:
"""
echo '$x world!'
"""
}
workflow {
channel.of('Bonjour', 'Ciao', 'Hello', 'Hola') | sayHello | view
}