You are looking at a past revision of this page (442d622079f5c5686bf5c102a4eb8858c05b9867). Click here to see the latest revision.

Asset Bundle

Asset Bundle

An asset bundle is a tarball that contains executables, libraries, static data or any other artifact that is required by an app/applet. Asset bundle is stored on the platform as a hidden tarball file which inturn is referenced by a visible record object of type AssetBundle. The record object refering to the asset bundle will contain the following metadata:

--type AssetBundle

--property version=0.0.1

--details '{"name": "asset_name", "id": {"$dnanexus_link": "hidden_tarball_file_id"}}'

The record object could be created using the following command:

dx new record --type AssetBundle [...]


dx new record -o asset-record-name --type AssetBundle --property version=0.0.1 --details '{"name": "test_qiime_asset_library.tar.gz", "id": {"$dnanexus_link": "file-Bq31x500kXGgQ0ZG0G5G6v84"}}' --close

An app/applet will refer to an asset bundle (i.e. a record object) with runSpec.assetDepends metadata as follows:

"assetDepends": [

        "name": "record_name",
        "project": "record_project_id",
        "folder": "record_folder_name",
        "version": "record_version_number",
        "id": "record_id"

During app/applet build time the runSpec.assetDepends i.e. the record object will be translated into a runSpec.bundledDepends object.

Last edited by Samantha Zarate, 2017-10-12 07:23:03