NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

To use DME CLU, refer to the following prerequisites:

The following table provides examples for some of the most commonly-used DME CLU commands:

Detailed InstructionsExample
Creating an Empty Collection via the CLU

The following command creates a Project_New collection within the PI_Lab1 collection and applies to that new collection the metadata in the collection-metadata.json file: 

dm_register_collection $HPC_DM_UTILS/templates/collection-metadata.json /Example_Archive/PI_Lab1/Project_New

The JSON file must contain metadata for the new collection, Project_New. If the parent collection, PI_Lab1, does not already exist, then the JSON file must also contain metadata for that collection.

Registering a Data File via the CLU

The following command registers the data.txt file from the JaneDoe folder in Windows to the Project_New collection in DME: 

dm_register_dataobject $HPC_DM_UTILS/templates/dataobject-sync-metadata.json /Example_Archive/PI_Lab1/Project_New/Data.txt /cygdrive/c/Users/JaneDoe/data.txt

Downloading One or More Files via the CLU

The following command downloads a sample.txt file from the Project_Orig collection in DME to a JaneDoe folder in Windows:

dm_download_dataobject /Example_Archive/PI_Lab1/Project_Orig/sample.txt /cygdrive/c/Users/JaneDoe

Downloading One or More Collections via the CLU

The following command downloads the Project_Orig collection in DME to a JaneDoe folder in Windows:

dm_download_collection /Example_Archive/PI_Lab1/Project_Orig /cygdrive/c/Users/JaneDoe

The command creates a Project_Orig folder.

  • No labels