.shfile in the
appname/srcdirectory to run the executable on the file with any parameters received from the input. (Use the lines generated by the app wizard for automatically downloading any file input and uploading file output.)
dx build --create-app(depending on whether you want to build an applet or an app).
dxapp.jsonfile to specify it (and, optionally, the version you want). The following JSON excerpt shows you how to request APT software packages; in this case, Java, R, and the samtools packages have been requested and will be available when the app is run.
resourcesdirectory of your app before running
dx build. The build tool will compress and package up the contents of that directory as part of your app, and, when it is run, it will be automatically downloaded and extracted into the root directory
/. Your first steps in the code of your app should then be to perform any build or installation commands necessary.
apt-get; however, we have manually injected them into our APT repo. As a result, you can install them using method #1: the
runSpecfield of the app's
dxapp.jsonfile to specify the instance type for each entry point of your app. Please see the documentation on the Run Specification for the list of available instance types and other details.
dxapp.jsonexcerpt shows how to request larger virtual machines for both the
myEntryPointentry points of your app; any other entry points not listed in
systemRequirementswill use the default virtual machine
ulimit -a, are the following:
dxapp.jsonfile so that the key
access.networkis a list of allowed domain names. You can use "*" to indicate that you want access to everything. The following excerpt gives access (redundantly) to everything, github, and Google.
dx-app-wizard(provided in the SDK) to get you started, or add them manually (see the code examples below). A more in-depth tutorial can be found here.
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