Introduction to setting up and managing Metadata Tables

This section provides a brief introduction on how to create and manage Metadata Tables. For more detailed information on how to create, setup, edit and manage metadata associated to a sample, please see the CLC Genomics Workbench manual http://www.clcsupport.com/clcgenomicsworkbench/current/index.php?manual=Metadata.html and the Typing and Epidemiological Clustering of Common Pathogens tutorial located at http://www.clcbio.com/support/tutorials/.

To create an empty metadata table, click on the toolbar menu

        New | Metadata Table (Image new_motiflist_16_h_p).

This will open a new Metadata Table with no columns and no rows (as shown in figure 8.1).

Image metadatatable
Figure 8.1: The created Metadata Table is empty.

Columns and their headers must be defined before actual metadata can be added to the empty table, so click on the button Setup Table (Image edit_16_h_p). You can define columns and their headers manually using the functionality of the wizard window (see figure 8.2), or you can import the structure of an already existing metadata table saved as a spreadsheet in your computer. In this case, click on Setup Structure from File, and select the spreadsheet that contains the metadata you would like to import in your workbench. A message 'Imported n columns from the file. Please set up the type of the new columns, and ensure a key column exists' will appear. You can also see that your metadata table has now n column with headers.

Image setuptable
Figure 8.2: The Setup table windows allows you to create columns and specify headers for your metadata table.

Note! Only the structure of the spreadsheet - but not the metadata itself - are imported at this point. Before importing the actual metadata, it is required to specify the following for each of the created columns (to navigate among the columns, click Previous column or Next column):

When you are done setting up your table, click on the button labeled "Done".

You now need to import the data. Click on the Manage data (Image edit_16_h_p) and choose to Import Rows from File. Select a spreadsheet (figure 8.3) with headers identical to the headers you just created (e.g. re-use the spreadsheet used to setup the Metadata table in the previous step) and click on the button labeled "Done" to start importing the actual Metadata content.

Image spreadsheet
Figure 8.3: An example on how metadata can be organized in a tabular format.

The New metadata table is now populated with the metadata from your spreadsheet (figure 8.4). The previously selected Key Column appears in blue. Save your New Metadata Table.

Image import_rows
Figure 8.4: Successful import of metadata. Headers of spreadsheet match headers defined in the Metadata Table.