Metadata Editor

The Metadata Editor allows you to explore study, sample and data information and metadata and validate it against templates, correcting/curating it if needed.

Getting to the Metadata Editor

To open an existing experiment with Metadata Editor, click on the study name in the search results in the Study Browser application.

../_images/quickstart_user_dashboard.png

You can also get to the Metadata Editor when you click Create a new study button on the Dashboard. The Metadata Editor app will open and it suggests you specify a metadata template (by default, the Default template is applied). You can explore each template by hovering over it’s name and clicking Explore link. By default, new study contains two tabs, namely Study and Sample providing metadata for Study and Samples, respectively.

../_images/open-me.png

Note that users not included in the “Curator” group do not have permissions to make changes (update metadata, change templates etc.) to any experiments.

Exploring the Metadata Editor

../_images/open-me-2.png

When you click on the study name, a drop-down menu will appear allowing you to:

../_images/me-dropdown-2.png
  • Share data with your colleagues

../_images/share.png
  • Export data by creating a link that can be used to download data and can be shared with your colleagues

../_images/export-data-link.png

You can also click the Export button near the top right of any Metadata editor tab.

../_images/export_button.png
  • Rename study

../_images/rename.png
  • Copy accession of the study

../_images/copy-accession.png
  • Get more information about the study. For example, you can learn when the study is created and modified, who is the owner and which groups it is shared with.

../_images/more-info.png
  • Explore and change metadata template by clicking on “Explore” and “Apply another…” option in the drop-down menu.

../_images/template_selection.png

There are several tabs that can be shown on the Metadata Editor page, namely Study, Samples, Expression (optional), Variants (optional) which represent metadata describing experiment, samples and processed files, such as transcriptomics data (GCT) and genomics data (VCF).

Study tab

Study tab provides general information about the study, namely experiment description, contributors and their contact details and so on.

../_images/study-tab.png

To rename the study, click on the study title link at the top of the page and select “Rename”. Type in the new name and click the blue “Rename” button.

Columns containing invalid metadata are highlighted in red and Invalid metadata flag is specified.

../_images/study-invalid-metadata.png

Samples tab

Sample tab represents metadata describing each sample in the study. For example, here can be provided information about organism, cell line, disease. Metadata columns coming from the applied template are highlighted in yellow.

Add and delete samples

When you create a new study, by default it contains four samples. You can add more samples or delete samples if necessary. To add them, click on the “+” button, then in the appeared window specify number of samples you would like to add to the study and click “Add”.

../_images/add-samples-1.png ../_images/add-samples-2.png

To remove samples from your study, hover over samples you would like to exclude, select them, and click on the “Delete” button.

../_images/delete-samples.png

Filter samples by metadata

If you need to narrow the list of samples shown in the study (for example, filter by organism to get only samples obtained from H. sapiens). To do so, click on the “Filters” button in the upper-left corner. This will show a metadata summary, where for each metadata field the list of values and the number of samples with this values are specified.

../_images/filters-1.png

You can also start typing metadata value of your interest (“H. sapiens” in this case) to show only needed checkbox in the list of suggested meatadata values.

../_images/filters-4.png

Then, click on the “Apply” button.

../_images/filters-2.png

As a result only samples obtained from H. sapiens are shown in the Samples tab.

../_images/filters-3.png

Data tab

The remaining tab in the Metadata Editor display metadata for the data files associated with a study. If more than one version of an omics file is available the different versions can be toggled.

../_images/data-versions.png

Metadata validation and curation

Curators can not only view but also validate and edit metadata.

Metadata fields are checked against a specific template, each template contains specific list of metadata fields and rules for the Study, Samples and processed/experimental metadata tabs. If some required metadata fields are missing, have typos or entered values don’t match the applied template, an Invalid metadata flag is shown in the upper right corner. Also, invalid fields themselves are highlighted in red.

../_images/invalid-metadata.png

To correct metadata manually, click the field you wish to change and type a new value.

../_images/correct-manually.png

When all the fields in a tab have been corrected the Invalid metadata flag will be replaced with a green Metadata is valid flag. Metadata fields for which dictionaries or ontologies are specified in the template allow you to click the arrow and select a term from a list of suggested terms from the associated dictionary. You can also start typing a term and auto-complete will help you to select an appropriate term from the dictionary.

../_images/autocomplete.png

Values matching dictionary terms will be marked in green.

../_images/green-term.png

Values in the metadata columns can be propagated by dragging the bottom-right corner of a cell.

../_images/drug.png

To replace multiple values you can use bulk replace function. To do so, you should click the name a metadata field including incorrect values and select “Bulk replace” option in the drop-down list.

../_images/bulk-replace-1.png

This will open Replace values window where you can specify correct values.

../_images/bulk-replace-2.png

If the field is controlled by a dictionary then auto-complete suggestions will also appear so that you can select a term from a dictionary. Click Replace in… button to replace the incorrect metadata values with the new terms.

../_images/bulk-replace-3.png

If there are any filters applied, you can choose to replace values only for the samples that match your filter. As a result, values for only the filtered samples will be changed.

Clicking on the Invalid metadata link opens the Validation Summary pop-up window where the invalid metadata terms will be shown. Click on a term you would like to update, immediately, Replace values window will open, allowing you to type in the correct value.

There are special terms “Not applicable” and “Not recorded” that can be entered if you wish the value to always pass validation.

As well as editing metadata manually you can also import and validate the metadata. Click on the “Import” icon in the upper-right corner and select a local TSV file containing metadata you would like to associate with the imported files.

../_images/import-from-spreadsheet.png