NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Revised table intro. Deleted middle column.

To view usage information for any DME CLU command, type the command with the help (-h) parameter. For detailed information on each of the available DME CLU commands, refer to the following pagesThe following table provides examples for some of the most commonly-used DME CLU commands:

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