dxapp.json
: a file containing the app's metadata: its inputs and outputs, how the app will be run, etc.dxapp.json
with the following text:coolapp
), the type of interpreter (python3
) to run our script with, and a path (code.py
) to the script that we will create next. ("version":"0"
) refers to the version of Ubuntu 20.04 application execution environment that supports (python3
) interpreter.code.py
with the following text:dx login
. In the directory with the two files above, run:dx run
, the app ran on its own Linux instance in the cloud. You have exclusive, secure access to the CPU, storage, and memory on the instance. The DNAnexus API lets your app read and write data on the Platform, as well as launch other apps.blast2
. You can request that the DNAnexus execution environment install it before your script is run by listing blast2
in the execDepends
field of your dxapp.json
like this:code.py
to run BLAST:dx upload
or via the website. If you use the Demo Data inputs, make sure the project you are running your app in is the same region as the Demo Data project.dx build -a
, and run it like this:dx head report.txt
, download it with dx download
, or view it on the website.dxapp.json
as follows:dx build -a
. You can run it in the same way as before, but now we can add the applet to a workflow. Click "New Workflow" while looking at your project on the website, and click on coolapp
once to add it to the workflow. You'll see inputs and outputs appear on the workflow stage which can be connected to other stages in the workflow.dx run coolapp
with no input arguments, it will prompt you for the input values for seq1
and seq2
.dxapp.json
:code.py
dxapp.json
dx run workflowname
.dx-app-wizard
. This tool will prompt you with a series of questions with which it will create the basic files needed for a new app. It also gives you the option of writing your app as a bash shell script instead of Python. Just run dx-app-wizard
to try it out.