Skip to content

One-chemical view should display additional data #2

@Jack-42

Description

@Jack-42

When viewing the page for a single molecule we currently display the molecule name, method of action (moa), canonical SMILES, and an svg diagram of the molecule. These are all great, but ideally we would also include some additional information:

  1. Information which can be directly retrieved from the existing API (e.g., inchi_key, compound_aliases, etc)
  2. Information on which tables/datasets the information came from. The relevant tables in the database here are: ["idg", "drugcentral", "refmet", "lincs", "glygen", "reprotox"]
  3. The chemical view should offer the option of downloading the information into a csv file. It may also be nice to have the option of downloading the chemical diagram if this can be easily done.

As a proof of concept I implemented a basic version of 2) on the addon_test branch of the UI and the source_tables branch of the API. Feel free to reference/re-use (or not re-use) this code as you deem fit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions