Index of dx commands

This page contains the help messages for each of the commands under dx, grouped by their primary category.

circle-info

When using wildcard characters like * or ? with dx commands, enclose patterns in quotes. For example, dx ls "*.fastq". Without quotes, your shell expands wildcards against local files before passing them to dx. For details, see Quoting Wildcards in Shell Commands.

Get started

dx

usage: dx [-h] [--version] command ...

DNAnexus Command-Line Client, API v1.0.0, client v0.404.0

dx is a command-line client for interacting with the DNAnexus platform.  You
can log in, navigate, upload, organize and share your data, launch analyses,
and more.  For a quick tour of what the tool can do, see

  https://documentation.dnanexus.com/getting-started/tutorials/cli-quickstart#quickstart-for-cli

For a breakdown of dx commands by category, run "dx help".

dx exits with exit code 3 if invalid input is provided or an invalid operation
is requested, and exit code 1 if an internal error is encountered.  The latter
usually indicate bugs in dx; please report them at

  https://github.com/dnanexus/dx-toolkit/issues

options:
  -h, --help  show this help message and exit
  --env-help  Display help message for overriding environment
              variables
  --version   show program's version number and exit

help

Override environment variables

Manage your login session

Category: session in dx help

login

See also: logout, whoami

logout

See also: login, exit

exit

whoami

See also: login, logout, pwd

env

See also: setenv, clearenv

clearenv

See also: env, setenv

setenv

See also: env, clearenv

Category: fs in dx help

ls

See also: tree, pwd

tree

See also: ls, pwd

pwd

See also: cd, select

select

See also: cd, env, pwd

cd

See also: pwd, select

cp

See also: mv, download, upload

mv

See also: cp, rename

mkdir

See also: rmdir, new project

rmdir

See also: mkdir, rm

rm

See also: rmdir, rmproject

rmproject

See also: new project, rm

archive

See also: unarchive

unarchive

See also: archive

list database files

View, download, and upload data

Category: data in dx help

File transfer

upload

See also: download, new

download

See also: upload, make_download_url

make_download_url

See also: download

View data

describe

See also: get_details, ls, find data

cat

See also: head, download

See also: cat, download

Create data objects

new

See also: new project, new record, new workflow, upload

new project

See also: new, rmproject, find projects

new record

See also: new, close

new workflow

See also: new, add stage, find globalworkflows

Data object operations

close

See also: wait

wait

See also: close, watch

get

See also: describe, download

Searching

For detailed examples and guidance on searching with wildcards and patterns, see Searching Data Objects.

find data

See also: find projects, ls, describe

find projects

See also: find data, new project, find org projects

Project management

update project

See also: find projects, new project, rmproject

Datasets and cohorts

create_cohort

extract_dataset

extract_assay expression

extract_assay germline

extract_assay somatic

Manage metadata

Category: metadata in dx help

set_details

get_details

See also: describe

set_visibility

add_types

remove_types

tag

See also: untag, set_properties

untag

See also: tag

rename

See also: mv

set_properties

See also: unset_properties, tag

unset_properties

See also: set_properties

Build and modify workflows

Category: workflow in dx help

add stage

See also: remove stage, update stage, list stages

remove stage

See also: add stage, list stages

update stage

See also: add stage, list stages

update workflow

See also: new workflow, add stage

list stages

See also: add stage, remove stage, update stage

Run and manage apps

Category: exec in dx help

Build and publish

build

See also: publish, run

publish

See also: build, add users

Manage app access

See also: invite and uninvite for project-level sharing.

add

See also: remove, list

add users

See also: remove users, list users, invite

add developers

See also: remove developers, list developers

list

list users

See also: add users, remove users

list developers

remove

See also: add, list

remove users

See also: add users, list users

remove developers

See also: add developers, list developers

install

uninstall

Run and monitor

run

See also: watch, terminate, find jobs

run --input-help

run --instance-type-help

watch

See also: run, terminate, describe

watch --metrics-help

terminate

See also: run, watch

ssh

See also: ssh_config, run

ssh_config

See also: ssh

Search for executables and executions

find

find apps

See also: find globalworkflows, find org apps, build

find globalworkflows

See also: find apps, new workflow

find jobs

See also: find analyses, find executions, watch

find analyses

See also: find jobs, find executions

find executions

See also: find jobs, find analyses

Batch operations

generate_batch_inputs

Manage organizations

Category: org in dx help

Organization setup

new org

See also: find orgs

new user

See also: add member, invite

Manage members

add member

See also: remove member, update member, find org members, invite

remove member

See also: add member, update member, find org members, uninvite

update

update org

See also: find orgs, new org

update member

See also: add member, remove member, find org members

Searching

find org

See also: find orgs, find org members

find orgs

See also: find org, new org

find org members

See also: add member, remove member, find org

find org projects

See also: find projects, find org

find org apps

See also: find apps, find org

Share projects and data

Category: Not in dx help categories (under other)

Share projects and collaborate with other users.

invite

See also: uninvite, add member

uninvite

See also: invite, remove member

Additional tools

Category: other in dx help

Advanced utilities for API access and asset management.

api

build_asset

upgrade

dx upgrade was removed in v0.379.0. See upgrading dxpy for guidance on installing and upgrading dxpy using pip3.

General purpose dx utilities

dx-app-wizard

dx-fetch-bundled-depends

dx-generate-dxapp

dx-jobutil-add-output

dx-jobutil-new-job

dx-jobutil-report-error

dx-jobutil-get-identity-token

dx-log-stream

dx-mount-all-inputs

dx-notebook-reconnect

dx-print-bash-vars

Utilities useful in writing bash apps and applets

dx-download-all-inputs

dx-upload-all-outputs

Last updated

Was this helpful?