Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.68 KB

dxpy_apps.rst

File metadata and controls

51 lines (42 loc) · 1.68 KB

Applets, Apps, Workflows, and Jobs

An executable (applet or app) defines application logic that is to be run in the DNAnexus Platform's Execution Environment. In order to facilitate parallel processing, an executable may define multiple functions (or entry points) that can invoke each other; a running job can use ~dxpy.bindings.dxjob.new_dxjob to invoke any function defined in the same executable, creating a new job that runs that function on a different machine (possibly even launching multiple such jobs in parallel).

To create an executable from scratch, we encourage you to use the command-line tools dx-app-wizard and dx build rather than using the API or bindings directly. The following handlers for applets, apps, and jobs are most useful for running preexisting executables and monitoring their resulting jobs.

Workflows created from the website UI can also be run using the ~dxpy.bindings.dxworkflow.DXWorkflow workflow handler.

dxpy.bindings.dxapplet

dxpy.bindings.dxapp

For DXApp.run(), see ~dxpy.bindings.dxapplet.DXExecutable.run.

dxpy.bindings.dxworkflow

dxpy.bindings.dxjob

dxpy.bindings.dxanalysis