NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Expanded the examples.

...

The following example downloads a Project_1 collection from the PI_Lab1 collection in DME to the root of the Globus endpoint specified in the hpcdme.properties file

Code Block
dm_download_collection_globus /Example_Archive/PI_Lab1/Project_1 /folder1/subfolder1/

In this example, the command performs the following:

  • Locates or creates a folder1 folder in the the root of the Globus endpoint specified in the hpcdme.properties file.
  • Locates or creates a subfolder1 folder within the folder1 folder.
  • Within the subfolder1 folder, locates or creates a folder structure matching the specified DME folder structure.
  • Downloads from DME all files in the Project_1 collection.
  • Saves those files in the new folder structure with the same file names they have in DME.

Multiple Collections Example

...

Code Block
/Example_Archive/PI_Lab2/Project_1
/Example_Archive/PI_Lab2/Project_2
/Example_Archive/PI_Lab3/Project_1

In this example, the command performs the following:

  • At the root of the Globus endpoint, locates or creates a folder structure matching the DME folder structure as listed in the specified collection-list.txt file.
  • Downloads from DME all files in the collections listed in the specified collection-list.txt file.
  • Saves those files in the new folder structure with the same file names they have in DME.