-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I started a beginner's integration of metadata from a json file for now, and for now present only the provenance as a toggle. This is just to let you know, in case someone started already, or wants to follow up.
I'd suggest following things to do in that order:
- store metadata in a dict and represent this structure in mobx, so that we can access metadata keyed by PathName
- include the selected metadata in the tooltips
- either fix the toggle (gets only refreshed when I hover over links), or:
- present a datalist of all available metadata and color by any
- adapt to the #PublicSequenceResource's metadata file (requires likely reading in another format than json, and design of a mobx-state-tree mdel)
- (sort rows by selected metadata)
tiny mock-up metadata file for the B1phi1 dataset (should be placed into public/test_data/run1.B1phi1.i1.seqwish.w100/metadata.json):
[
{
"Accession": "1630",
"Release_Date": "2020-01-13T00:00:00Z",
"Species": "Severe acute respiratory syndrome-related coronavirus",
"Length": 29903,
"Geo_Location": "China",
"Host": "Homo sapiens",
"Isolation_Source": "",
"Collection_Date": "2019-12",
"GenBank_Title": "Severe acute respiratory syndrome coronavirus 2 isolate Wuhan-Hu-1, complete genome"
}
]
Metadata
Metadata
Assignees
Labels
No labels
