Skip to content

How-to: Use the Parser App

This how-to guide explains how to use the Parser App in your browser to upload files, run the parser, and transfer parsed metadata to the Data Store. It is intended for users who want a step-by-step walkthrough of the main app functions.

Prerequisites

WIP


Open and login in the app

  1. Open your web browser.
  2. Go to the provided URL of the Parser App (e.g., https://parser.example.com).
  3. The login page of the app will appear.
  4. Enter your Username.
  5. Enter your Password.
  6. Press Login.

Select and Upload Files

  1. Select the Space where data will be saved.
  2. Enter Project and Collection names.
  3. Drag and drop or click to select files.
  4. Press Upload Files to upload them.
    • Click the Reset button to start over if needed.

Select Parsers

  1. Choose a parser by clicking Select Parser for each uploaded file.
  2. Press Parse to extract metadata from each file and upload it to the Data Store. The extraction is defined in the logic of each defined parser.

Review Logs

  1. Check logs to verify successful parsing. If parsing fails, check the logs and debug the parsing process.
  2. If parsing works, only INFO messages will appear in the logs card.
  3. The logs will show whether objects were created new or updated if they already existed in the Data Store.

Advanced: Updating Existing Objects

The Parser App can update existing objects in the Data Store rather than always creating new ones. This is useful when you want to:

  • Update metadata for samples or experiments that already exist.
  • Correct or enrich existing data.
  • Maintain consistent object codes across multiple parsing operations.

To update an existing object, your parser must set the code attribute on the object instance. When the code is set:

  1. The Parser App looks for an existing object with that code in your Space/Project/Collection (note that Collection is optional if objects exist at the Project level).
  2. If found, the object's properties are updated with the new values.
  3. A log message confirms that the existing object was updated.

Warning

Note that the object must exist in the specified Space, Project, and, optionally, Collection names.

See How-to: Create new parsers for details on implementing this in custom parsers.