Index of dx commands
This page contains the help messages for each of the commands under dx, grouped by their primary category.
Get started
dx
dxhelp
helpOverride environment variables
Manage your login session
Category: session in dx help
login
loginusage: dx login [-h] [--env-help] [--token TOKEN] [--noprojects] [--save]
[--timeout TIMEOUT]
Log in interactively and acquire credentials. Use "--token" to log in with an
existing API token.
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
--token TOKEN Authentication token to use
--noprojects Do not print available projects
--save Save token and other environment variables for future
sessions
--timeout TIMEOUT Timeout for this login token (in seconds, or use suffix
s, m, h, d, w, M, y)logout
logoutusage: dx logout [-h] [--env-help] [--host HOST] [--port PORT]
[--protocol PROTOCOL]
Log out and remove credentials
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
--host HOST Log out of the given auth server host (port must also
be given)
--port PORT Log out of the given auth server port (host must also
be given)
--protocol PROTOCOL Used in conjunction with host and port arguments, gives
the protocol to use when contacting auth serverexit
exitusage: dx exit [-h]
Exit out of the interactive shell
options:
-h, --help show this help message and exitwhoami
whoamiusage: dx whoami [-h] [--env-help] [--id]
Print the username of the current user, in the form "user-USERNAME"
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
--id Print user ID instead of usernameenv
envusage: dx env [-h] [--env-help] [--bash] [--dx-flags]
Prints all environment variables in use as they have been resolved from
environment variables and configuration files. For more details, see
https://documentation.dnanexus.com/user/helpstrings-of-sdk-command-line-utilities#overriding-environment-variables
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
--bash Prints a list of bash commands to export the environment
variables
--dx-flags Prints the dx options to override the environment variablesclearenv
clearenvusage: dx clearenv [-h] [--reset]
Clears all environment variables set by dx. More specifically, it removes
local state stored in ~/.dnanexus_config/environment. Does not affect the
environment variables currently set in your shell.
options:
-h, --help show this help message and exit
--reset Reset dx environment variables to empty values. Use this to
avoid interference between multiple dx sessions when using shell
environment variables.setenv
setenvusage: dx setenv [-h] [--noprojects] [--save] [--current]
Sets environment variables for communication with the API server
options:
-h, --help show this help message and exit
--noprojects Do not print available projects
--save Save settings for future sessions. Only one set of settings
can be saved at a time. Always set to true if login is run in
a non-interactive session
--current Do not prompt for new values and just save current settings
for future sessions. Overrides --save to be true.Navigate and organize files
Category: fs in dx help
ls
lstree
treeusage: dx tree [-h] [--color {off,on,auto}] [--env-help] [-a] [-l] [path]
List folders and objects in a tree
positional arguments:
path Folder (possibly in another project) to list the
contents of, default is the current directory in the
current project. Syntax: projectID:/folder/path
options:
-h, --help show this help message and exit
--color {off,on,auto}
Set when color is used (color=auto is used when stdout
is a TTY)
--env-help Display help message for overriding environment
variables
-a, --all show hidden files
-l, --long use a long listing formatpwd
pwdusage: dx pwd [-h] [--env-help]
Print current working directory
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesselect
selectcd
cdusage: dx cd [-h] [--env-help] [path]
Change the current working directory
positional arguments:
path Folder (possibly in another project) to which to change the
current working directory, default is "/" in the current project
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablescp
cpSee also: mv, download, upload
mv
mvusage: dx mv [-h] [--env-help] [-a] [--target-file-relocation]
source [source ...] destination
Move or rename data objects and/or folders inside a single project. To copy
data between different projects, use 'dx cp' instead.
positional arguments:
source Objects and/or folder names to move
destination Folder into which to move the sources or new pathname (if only
one source is provided). Must be in the same project/container
as all source paths.
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
-a, --all Apply to all results with the same name without
prompting
--target-file-relocation
Allow symlink target file relocation in external storage while moving a symlink.mkdir
mkdirSee also: rmdir, new project
usage: dx mkdir [-h] [--env-help] [-p] path [path ...]
Create a new folder
positional arguments:
path Paths to folders to create
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-p, --parents no error if existing, create parent directories as neededrmdir
rmdirusage: dx rmdir [-h] [--env-help] path [path ...]
Remove a folder
positional arguments:
path Paths to folders to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesrm
rmusage: dx rm [-h] [--env-help] [-a] [-r] [-f] path [path ...]
Remove data objects and folders.
positional arguments:
path Paths to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without prompting
-r, --recursive Recurse into a directory
-f, --force Force removal of filesrmproject
rmprojectSee also: new project, rm
usage: dx rmproject [-h] [--env-help] [-y] [-q] project [project ...]
Delete projects and all their associated data
positional arguments:
project Projects to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-y, --yes Do not ask for confirmation
-q, --quiet Do not print purely informational messagesarchive
archiveSee also: unarchive
unarchive
unarchiveSee also: archive
list database files
list database filesView, download, and upload data
Category: data in dx help
File transfer
upload
uploaddownload
downloadSee also: upload, make_download_url
make_download_url
make_download_urlSee also: download
usage: dx make_download_url [-h] [--duration DURATION] [--filename FILENAME]
path
Creates a pre-authenticated link that can be used to download a file without
logging in.
positional arguments:
path Project-qualified data object ID or name, e.g. project-
xxxx:file-yyyy, or project-xxxx:/path/to/file.txt
options:
-h, --help show this help message and exit
--duration DURATION Time for which the URL will remain valid (in seconds,
or use suffix s, m, h, d, w, M, y). Default: 1 day
--filename FILENAME Name that the server will instruct the client to save
the file as (default is the filename)View data
describe
describeSee also: get_details, ls, find data
cat
catusage: dx cat [-h] [--env-help] [--unicode] path [path ...]
positional arguments:
path File ID or name(s) to print to stdout
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
--unicode Display the characters as text/unicode when writing to stdouthead
headusage: dx head [-h] [--color {off,on,auto}] [--env-help] [-n N] path
Print the first part of a file. By default, prints the first 10 lines.
positional arguments:
path File ID or name to access
options:
-h, --help show this help message and exit
--color {off,on,auto}
Set when color is used (color=auto is used when stdout
is a TTY)
--env-help Display help message for overriding environment
variables
-n, --lines N Print the first N lines (default 10)Create data objects
new
newSee also: new project, new record, new workflow, upload
usage: dx new [-h] class ...
Use this command with one of the available subcommands (classes) to create a
new project or data object from scratch. Not all data types are supported. See
'dx upload' for files and 'dx build' for applets.
positional arguments:
class
user Create a new user account
org Create new non-billable org
project Create a new project
record Create a new record
workflow Create a new workflow
options:
-h, --help show this help message and exitnew project
new projectSee also: new, rmproject, find projects
new record
new recordnew workflow
new workflowSee also: new, add stage, find globalworkflows
Data object operations
close
closeSee also: wait
usage: dx close [-h] [--env-help] [-a] [--wait] path [path ...]
Close a remote data object or set of objects.
positional arguments:
path Path to a data object to close
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without prompting
--wait Wait for the object(s) to closewait
waitusage: dx wait [-h] [--env-help] [--from-file] path [path ...]
Polls the state of specified data object(s) or job(s) until they are all in
the desired state. Waits until the "closed" state for a data object, and for
any terminal state for a job ("terminated", "failed", or "done"). Exits with a
non-zero code if a job reaches a terminal state that is not "done". Can also
provide a local file containing a list of data object(s) or job(s), one per
line; the file will be read if "--from-file" argument is added.
positional arguments:
path Path to a data object, job ID, or file with IDs to wait for
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
--from-file Read the list of objects to wait for from the file provided in
pathget
getSearching
find data
find dataSee also: find projects, ls, describe
find projects
find projectsSee also: find data, new project, find org projects
Project management
update project
update projectSee also: find projects, new project, rmproject
Datasets and cohorts
create_cohort
create_cohortextract_dataset
extract_datasetextract_assay expression
extract_assay expressionextract_assay germline
extract_assay germlineextract_assay somatic
extract_assay somaticManage metadata
Category: metadata in dx help
set_details
set_detailsusage: dx set_details [-h] [--env-help] [-a] [-f DETAILS_FILE] path [details]
Set the JSON details of a data object.
positional arguments:
path ID or path to data object to modify
details JSON to store as details
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
-a, --all Apply to all results with the same name without
prompting
-f, --details-file DETAILS_FILE
Path to local file containing JSON to store as detailsget_details
get_detailsSee also: describe
usage: dx get_details [-h] [--env-help] path
Get the JSON details of a data object.
positional arguments:
path ID or path to data object to get details for
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesset_visibility
set_visibilityusage: dx set_visibility [-h] [--env-help] [-a] path {hidden,visible}
Set visibility on a data object.
positional arguments:
path ID or path to data object to modify
{hidden,visible} Visibility that the object should have
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without promptingadd_types
add_typesusage: dx add_types [-h] [--env-help] [-a] path type [type ...]
Add types to a data object. See
https://documentation.dnanexus.com/developer/api/data-object-lifecycle/types
for a list of DNAnexus types.
positional arguments:
path ID or path to data object to modify
type Types to add
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without promptingremove_types
remove_typesusage: dx remove_types [-h] [--env-help] [-a] path type [type ...]
Remove types from a data object. See
https://documentation.dnanexus.com/developer/api/data-object-lifecycle/types
for a list of DNAnexus types.
positional arguments:
path ID or path to data object to modify
type Types to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without promptingtag
tagSee also: untag, set_properties
usage: dx tag [-h] [--env-help] [-a] [--try T] path tag [tag ...]
Tag a project, data object, or execution. Note that a project context must be
either set or specified for data object IDs or paths.
positional arguments:
path ID or path to project, data object, or execution to modify
tag Tags to add
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without prompting
--try T When modifying a job that was restarted, apply the change to try
T of the restarted job. T=0 refers to the first try. Default is
the last job try.untag
untagSee also: tag
usage: dx untag [-h] [--env-help] [-a] [--try T] path tag [tag ...]
Untag a project, data object, or execution. Note that a project context must
be either set or specified for data object IDs or paths.
positional arguments:
path ID or path to project, data object, or execution to modify
tag Tags to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without prompting
--try T When modifying a job that was restarted, apply the change to try
T of the restarted job. T=0 refers to the first try. Default is
the last job try.rename
renameSee also: mv
usage: dx rename [-h] [--env-help] [-a] path name
Rename a project or data object. To rename folders, use 'dx mv' instead. Note
that a project context must be either set or specified to rename a data
object. To specify a project or a project context, append a colon character
":" after the project ID or name.
positional arguments:
path Path to project or data object to rename
name New name
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without promptingset_properties
set_propertiesSee also: unset_properties, tag
usage: dx set_properties [-h] [--env-help] [-a] [--try T]
path propertyname=value [propertyname=value ...]
Set properties of a project, data object, or execution. Note that a project
context must be either set or specified for data object IDs or paths.
positional arguments:
path ID or path to project, data object, or execution to
modify
propertyname=value Key-value pairs of property names and their new values
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
-a, --all Apply to all results with the same name without
prompting
--try T When modifying a job that was restarted, apply the
change to try T of the restarted job. T=0 refers to the
first try. Default is the last job try.unset_properties
unset_propertiesSee also: set_properties
usage: dx unset_properties [-h] [--env-help] [-a] [--try T]
path propertyname [propertyname ...]
Unset properties of a project, data object, or execution. Note that a project
context must be either set or specified for data object IDs or paths.
positional arguments:
path ID or path to project, data object, or execution to modify
propertyname Property names to unset
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
-a, --all Apply to all results with the same name without prompting
--try T When modifying a job that was restarted, apply the change to
try T of the restarted job. T=0 refers to the first try.
Default is the last job try.Build and modify workflows
Category: workflow in dx help
add stage
add stageSee also: remove stage, update stage, list stages
remove stage
remove stageSee also: add stage, list stages
usage: dx remove stage [-h] [--brief | --verbose] [--env-help] workflow stage
Remove a stage from a workflow. The stage should be indicated either by an
integer (0-indexed, i.e. "0" for the first stage), or a stage ID.
positional arguments:
workflow Name or ID of a workflow
stage Stage (index or ID) of the workflow to remove
options:
-h, --help show this help message and exit
--brief Display a brief version of the return value; for most commands,
prints a DNAnexus ID per line
--verbose If available, displays extra verbose output
--env-help Display help message for overriding environment variablesupdate stage
update stageSee also: add stage, list stages
update workflow
update workflowSee also: new workflow, add stage
list stages
list stagesSee also: add stage, remove stage, update stage
usage: dx list stages [-h] [--env-help] workflow
List the stages in a workflow.
positional arguments:
workflow Name or ID of a workflow
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesRun and manage apps
Category: exec in dx help
Build and publish
build
buildpublish
publishusage: dx publish [-h] [--no-default] executable
Release a version of the executable (app or global workflow) to authorized
users.
positional arguments:
executable ID or name and version of an app/global workflow, e.g.
myqc/1.0.0
options:
-h, --help show this help message and exit
--no-default Do not set a "default" alias on the published versionManage app access
See also: invite and uninvite for project-level sharing.
add
addusage: dx add [-h] list_type ...
Use this command with one of the availabile subcommands to perform various
actions such as adding other users or orgs to the list of developers or
authorized users of an app
positional arguments:
list_type
users Add authorized users for an app
developers Add developers for an app
stage Add a stage to a workflow
member Grant a user membership to an org
options:
-h, --help show this help message and exitadd users
add usersSee also: remove users, list users, invite
usage: dx add users [-h] [--env-help] app authorizedUser [authorizedUser ...]
Add users or orgs to the list of authorized users of an app. Published
versions of the app will only be accessible to users represented by this list
and to developers of the app. Unpublished versions are restricted to the
developers.
positional arguments:
app Name or ID of an app
authorizedUser One or more users or orgs to add
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesadd developers
add developersSee also: remove developers, list developers
usage: dx add developers [-h] [--env-help] app developer [developer ...]
Add users or orgs to the list of developers for an app. Developers are able to
build and publish new versions of the app, and add or remove others from the
list of developers and authorized users.
positional arguments:
app Name or ID of an app
developer One or more users or orgs to add
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variableslist
listusage: dx list [-h] list_type ...
Use this command with one of the availabile subcommands to perform various
actions such as printing the list of developers or authorized users of an app.
positional arguments:
list_type
users List authorized users for an app
developers List developers for an app
stages List the stages in a workflow
database List entities associated with a specific database. For
example, "dx list database files" lists database files
associated with a specific database. Please execute "dx list
database -h" for more information.
options:
-h, --help show this help message and exitlist users
list usersSee also: add users, remove users
usage: dx list users [-h] [--env-help] app
List the authorized users of an app. Published versions of the app will only
be accessible to users represented by this list and to developers of the app.
Unpublished versions are restricted to the developers
positional arguments:
app Name or ID of an app
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variableslist developers
list developersusage: dx list developers [-h] [--env-help] app
List the developers for an app. Developers are able to build and publish new
versions of the app, and add or remove others from the list of developers and
authorized users.
positional arguments:
app Name or ID of an app
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesremove
removeusage: dx remove [-h] list_type ...
Use this command with one of the available subcommands to perform various
actions such as removing other users from the list of developers or authorized
users of an app.
positional arguments:
list_type
users Remove authorized users for an app
developers Remove developers for an app
stage Remove a stage from a workflow
member Revoke the org membership of a user
options:
-h, --help show this help message and exitremove users
remove usersSee also: add users, list users
usage: dx remove users [-h] [--env-help]
app authorizedUser [authorizedUser ...]
Remove users or orgs from the list of authorized users of an app. Published
versions of the app will only be accessible to users represented by this list
and to developers of the app. Unpublished versions are restricted to the
developers
positional arguments:
app Name or ID of an app
authorizedUser One or more users or orgs to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesremove developers
remove developersSee also: add developers, list developers
usage: dx remove developers [-h] [--env-help] app developer [developer ...]
Remove users or orgs from the list of developers for an app. Developers are
able to build and publish new versions of the app, and add or remove others
from the list of developers and authorized users.
positional arguments:
app Name or ID of an app
developer One or more users to remove
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesinstall
installusage: dx install [-h] [--env-help] app
Install an app by name. To see a list of apps you can install, hit <TAB> twice
after "dx install" or run "dx find apps" to see a list of available apps.
positional arguments:
app ID or name of app to install
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesuninstall
uninstallusage: dx uninstall [-h] [--env-help] app
Uninstall an app by name.
positional arguments:
app ID or name of app to uninstall
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesRun and monitor
run
runSee also: watch, terminate, find jobs
run --input-help
run --input-helprun --instance-type-help
run --instance-type-helpwatch
watchSee also: run, terminate, describe
watch --metrics-help
watch --metrics-helpterminate
terminateusage: dx terminate [-h] [--env-help] jobid [jobid ...]
Terminate one or more jobs or analyses
positional arguments:
jobid ID of a job or analysis to terminate
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesssh
sshSee also: ssh_config, run
ssh_config
ssh_configSee also: ssh
usage: dx ssh_config [-h] [--env-help] [--revoke] ...
Configure SSH access credentials for your DNAnexus account
positional arguments:
ssh_keygen_args Command-line arguments to pass to ssh-keygen
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variables
--revoke Revoke SSH public key associated with your DNAnexus
account; you will no longer be able to SSH into any jobs.Search for executables and executions
find
findfind apps
find appsSee also: find globalworkflows, find org apps, build
find globalworkflows
find globalworkflowsSee also: find apps, new workflow
find jobs
find jobsSee also: find analyses, find executions, watch
find analyses
find analysesSee also: find jobs, find executions
find executions
find executionsSee also: find jobs, find analyses
Batch operations
generate_batch_inputs
generate_batch_inputsusage: dx generate_batch_inputs [-h] [-i INPUT] [--path PROJECT:FOLDER]
[-o OUTPUT_PREFIX]
Generate a table of input files matching desired regular expressions for each
input.
options:
-h, --help show this help message and exit
-i, --input INPUT An input to be batch-processed "-i<input name>=<input
pattern>" where <input_pattern> is a regular
expression with a group corresponding to the desired
region to match (e.g. "-iinputa=SRR(.*)_1.gz"
"-iinputb=SRR(.*)_2.gz")
--path PROJECT:FOLDER
Project and/or folder to which the search for input
files will be restricted
-o, --output_prefix OUTPUT_PREFIX
Prefix for output fileManage organizations
Category: org in dx help
Organization setup
new org
new orgSee also: find orgs
new user
new userSee also: add member, invite
Manage members
add member
add memberSee also: remove member, update member, find org members, invite
remove member
remove memberSee also: add member, update member, find org members, uninvite
update
updateusage: dx update [-h] target ...
Use this command with one of the available targets listed below to update
their metadata that are not covered by the other subcommands.
positional arguments:
target
org Update information about an org
workflow Update the metadata for a workflow
stage Update the metadata for a stage in a workflow
member Update the membership of a user in an org
project Updates a specified project with the specified options
options:
-h, --help show this help message and exitupdate org
update orgupdate member
update memberSee also: add member, remove member, find org members
Searching
find org
find orgSee also: find orgs, find org members
usage: dx find org [-h] entities ...
List entities within a specific org.
positional arguments:
entities
members List members in the specified org
projects List projects billed to the specified org
apps List apps billed to the specified org
options:
-h, --help show this help message and exitfind orgs
find orgsfind org members
find org membersSee also: add member, remove member, find org
find org projects
find org projectsSee also: find projects, find org
find org apps
find org appsShare projects and data
Category: Not in dx help categories (under other)
Share projects and collaborate with other users.
invite
inviteSee also: uninvite, add member
usage: dx invite [-h] [--env-help] [--no-email]
invitee [project] [{VIEW,UPLOAD,CONTRIBUTE,ADMINISTER}]
Invite a DNAnexus entity to a project. If the invitee is not recognized as a
DNAnexus ID, it will be treated as a username, i.e. "dx invite alice : VIEW"
is equivalent to inviting the user with user ID "user-alice" to view your
current default project.
positional arguments:
invitee Entity to invite
project Project to invite the invitee to
{VIEW,UPLOAD,CONTRIBUTE,ADMINISTER}
Permissions level the new member should have
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment
variables
--no-email Disable email notifications to inviteeuninvite
uninviteSee also: invite, remove member
usage: dx uninvite [-h] [--env-help] entity [project]
Revoke others' permissions on a project you administer. If the entity is not
recognized as a DNAnexus ID, it will be treated as a username, i.e. "dx
uninvite alice :" is equivalent to revoking the permissions of the user with
user ID "user-alice" to your current default project.
positional arguments:
entity Entity to uninvite
project Project to revoke permissions from
options:
-h, --help show this help message and exit
--env-help Display help message for overriding environment variablesAdditional tools
Category: other in dx help
Advanced utilities for API access and asset management.
api
apibuild_asset
build_assetusage: dx build_asset [-h] [-d DESTINATION] [--json] [--no-watch] [src_dir]
Build an asset from a local source directory. The directory must have a file
called "dxasset.json" containing valid JSON. For more details, see https://d
ocumentation.dnanexus.com/developer/apps/dependency-management/asset-build-pro
cess
positional arguments:
src_dir Asset source directory (default: current directory)
options:
-h, --help show this help message and exit
-d, --destination DESTINATION
Specifies the destination project and destination folder for the asset, in the
form [PROJECT_NAME_OR_ID:][/[FOLDER/][NAME]]
--json Show ID of resulting asset bundle in JSON format
--no-watch Don't watch the real-time logs of the asset-builder job.upgrade
upgradedx upgrade was removed in v0.379.0. See upgrading dxpy for guidance on installing and upgrading dxpy using pip3.
General purpose dx utilities
dx utilitiesdx-app-wizard
dx-app-wizardusage: dx-app-wizard [-h] [--json-file JSON_FILE] [--language LANGUAGE]
[--template {basic,parallelized,scatter-process-gather}]
[name]
Create a source code directory for a DNAnexus app. You will be prompted for
various metadata for the app as well as for its input and output
specifications.
positional arguments:
name Name of your app
options:
-h, --help show this help message and exit
--json-file JSON_FILE
Use the metadata and IO spec found in the given file
--language LANGUAGE Programming language of your app
--template {basic,parallelized,scatter-process-gather}
Execution pattern of your appdx-fetch-bundled-depends
dx-fetch-bundled-dependsusage: dx-fetch-bundled-depends [-h]
Downloads the contents of runSpec.bundledDepends of a job running in the
execution environment.
options:
-h, --help show this help message and exitdx-generate-dxapp
dx-generate-dxappdx-jobutil-add-output
dx-jobutil-add-outputdx-jobutil-dxlink
dx-jobutil-dxlinkusage: dx-jobutil-dxlink [-h] object
Creates a DNAnexus link from an object ID or "<project ID>:<object ID>"
string. The result is of the form {"$dnanexus_link": "<object ID>"} or
{"$dnanexus_link": {"project": <project ID>, "id": <object ID>}}, as
appropriate.
positional arguments:
object Data object ID or "<Project ID>:<Data object ID>" to package
into a DNAnexus link
options:
-h, --help show this help message and exitdx-jobutil-new-job
dx-jobutil-new-jobdx-jobutil-parse-link
dx-jobutil-parse-linkusage: dx-jobutil-parse-link [-h] [--no-project] dxlink
Parse a dxlink JSON hash into an object ID or project:object-id tuple
positional arguments:
dxlink Link to parse
options:
-h, --help show this help message and exit
--no-project Ignore project ID in an extended dxlink - just print the
object IDdx-jobutil-report-error
dx-jobutil-report-errorusage: dx-jobutil-report-error [-h] message [{AppInternalError,AppError}]
Creates job_error.json in your home directory, a JSON file to include the
error type and message for the running job. There are two types of errors you
may report: 1) AppError (the default) for recognized actionable errors, and 2)
AppInternalError for unexpected application errors.
positional arguments:
message Error message for the job
{AppInternalError,AppError}
Error type
options:
-h, --help show this help message and exitdx-jobutil-get-identity-token
dx-jobutil-get-identity-tokenusage: dx-jobutil-get-identity-token [-h] --aud AUD
[--subject_claims <subject_claims>]
calls job-xxxx/getIdentityToken and retrieves a JWT token based on aud and
subject claims input
options:
-h, --help show this help message and exit
--aud AUD Audience URI the JWT is intended for
--subject_claims <subject_claims>
Defines the subject claims to be validated by the
cloud providerdx-log-stream
dx-log-streamdx-mount-all-inputs
dx-mount-all-inputsdx-notebook-reconnect
dx-notebook-reconnectusage: dx-notebook-reconnect [-h] [--port PORT] job_id
Reconnect to a notebook job
positional arguments:
job_id Job-id of the notebook job to reconnect to.
options:
-h, --help show this help message and exit
--port PORT Local port to use for connecting.dx-print-bash-vars
dx-print-bash-varsusage: dx-print-bash-vars [-h]
Parses $HOME/job_input.json and prints the bash variables that would be
available in the execution environment.
options:
-h, --help show this help message and exitUtilities useful in writing bash apps and applets
dx-download-all-inputs
dx-download-all-inputsdx-upload-all-outputs
dx-upload-all-outputsLast updated
Was this helpful?