dxapp.jsonfile, a central point for information about your app
/resourcesdirectory, where you can include files to be loaded onto the workers which will execute your app
dx build --create-apputilities in the DNAnexus SDK, which take code on your local workstation and upload it into an object on the platform. The SDK expects each program to reside in a directory with a specific structure, which looks like this:
dxapp.jsonis a DNAnexus application metadata file. Its presence in a directory tells DNAnexus tools that it contains DNAnexus app source code (i.e., it's a project directory). See dxapp.json for a complete description of the app metadata format.
Readme.mdfile, if present, is inlined into the
descriptionfield of the app or applet.
Readme.developer.mdfile, if present, is inlined into the
resourcessubdirectory of your project directory and the resulting app or applet.
MyAppunderneath the current directory.
dx buildperforms the following build steps.
./configure(if a configure script exists)
make(if a Makefile is present)
resources/subdirectory of your app directory will be archived after the build step and then unarchived into the root of your execution environment's filesystem at runtime. You can either check files directly into your source repository in the
resources/subdirectory, or have your build step generate files there, or a combination of the two.
PATHin the environment is the following (it is inherited from Ubuntu's defaults):
resources/usr/bin/bwain your source tree, that file is available to your app as
/usr/bin/bwaat runtime (and you can therefore easily call it as a subprocess from your entry point method).
resources/subdirectory is unpacked into the root of the virtual filesystem, your app starts in in
/home/dnanexusas its current working directory. You may therefore wish to put files or data in
resources/home/dnanexusin order to have them available in the current working directory when your applet starts.
dx getcommand to reconstruct and download the source directory of open-source apps (e.g.
dx get app-cloud_workstation). You can find open-source apps with the command below