NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Copied description for each example from the corresponding CLU wiki page, & revised JSON filenames.

...

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: 

Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

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: 

Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

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:

Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

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:

Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

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

The command creates a Project_Orig folder.