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 examples from various CLU pages in the wiki user guide.

...

Detailed InstructionsCommandExample
Generating a DME API Authentication Token via the CLUdm_generate_token
Clipboard
AllowLineWraptrue

dm_generate_token

Creating an Empty Collection via the CLUdm_register_collection
Clipboard
AllowLineWraptrue

dm_register_collection my-collection.json /Example_Archive/PI_Lab1/Project_New

Registering a Data File via the CLUdm_register_dataobject
Clipboard
AllowLineWraptrue

dm_register_dataobject /cygdrive/c/Users/JaneDoe/my-metadata.json /Example_Archive/PI_Lab1/Project_New/Data.txt /cygdrive/c/Users/JaneDoe/data.txt

Updating Collection Metadata via the CLUdm_register_collection
Clipboard
AllowLineWraptrue

dm_register_collection my-collection.json /Example_Archive/PI_Lab1/Project1

Updating Data File Metadata via the CLUdm_register_dataobject
Clipboard
AllowLineWraptrue

dm_register_dataobject /cygdrive/c/Users/JaneDoe/my-metadata.json /Example_Archive/PI_Lab1/Project1/data.txt

Downloading One or More Files via the CLUdm_download_dataobject
Clipboard
AllowLineWraptrue

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

Downloading One or More Collections via the CLUdm_download_collection
Clipboard
AllowLineWraptrue

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