hubmapconsortium-graveyard / hubmap-sample-metadata

Sample metadata for use in the HuBMAP Portal during development
MIT License
0 stars 0 forks source link

💥 Deprecated and archived 💥

This was an experiment: we learned some things, but development will not continue in this repo.

hubmap-sample-metadata

This is a test bed for demonstrating how the HCA Metadata Standard and W3C PROV will be used in HuBMAP.

Roadmap

Eventually, this will be renamed to hubmap-metadata, and it will become a tool that could be used either in development by Django management scripts, or in production by some API.

Raw CSV to HCA JSON to ES JSON

In production, I think the two templating steps will actually be separated in time, with the intermediate output JSON being stored in Neo4J. That said, the templating mechanism is similar in both phases, so this continuous flow may be easier to conceptualize.

Symbology

HuBMAP uses the HCA Metadata Standard's five entity types for its own metadata, but the HCA Standard does not provide a sufficiently flexible way of describing provenance. For that, we are using W3C PROV.

That said, the domain-specific symbology of HCA is easier to understand at a glance, so we will use it in the workflow examples. Here is a demonstration of how the two symbologies correspond:

Compare HCA to PROV

(All diagrams in this repo are editable with draw.io, either on the web or with their desktop app.)