NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a missing link.

If you want to register multiple files and provide metadata for each object (data file) or collection in that uploadregistration, prepare that metadata in a Microsoft Excel XLSX file. 

  1. Become familiar with the rules for each collection type you intend to use:
    • Can collections of this type contain collections? 
    • Can collections of this type contain data files?
    • What are the required attributes for each collection type?
    • What are the required attributes for a data file in a collection of each type?
    • What are the valid values and default values for each attribute?

    For some of these rules, refer to Viewing the Data Hierarchy and Metadata Structure for an Archive. Consider gathering additional information by creating your initial collections and data files individually, as described in the following pages:

  2. Download the sample example metadata file from GitHub at (TBD). the following GitHub location:

    https://github.com/CBIIT/HPC_DME_APIs/blob/master/doc/training/samples/Example_Metadata.xlsx
    Multiexcerpt include
    MultiExcerptNameExitDisclaimer
    nopaneltrue
    PageWithExcerptwikicontent:Exit Disclaimer to Include


  3. Revise the file to reflect the objects or collections you intend to specify for upload via Globusregistration:
    • The In the first column should reflect , specify the location of each object or collection that you intend to register
    • The In the second column should reflect , specify the collection type. The default collection type is Folder. 
    • The In the remaining columns should reflect , specify the user-defined attributes for each object or collection. The character limit for each metadata value is 2700.
    • In each row, specify information for Each row should reflect one of your objects or collections. 
    • Each object can be any file type. 
    • The system requires a row for each object or collection with mandatory metadata. 
    • If the default values are acceptable for all mandatory metadata of an object or collection, you can omit that row. 
  4. Remove all formatting (such as word wrapping). One way to do so is as follows:
    1. Save your XLSX file as a CSV file.
    2. Save that CSV file as an XLSX file.
     

For instructions on performing the bulk upload registration with the resulting XLSX metadata file, refer to Registering Data in Bulk to one of the following pages:

...

For questions, contact NCIDataVault@mail.nih.gov