DataHarmonizer
DataHarmonizer copied to clipboard
Conditional select menus (pulldowns, LinkML enums, etc)
NMDC use case:
In addition to the MIxS environmental triad of EnvO terms, NMDC also describes the origin of biosamples with 5-part GOLD paths.
Interactive GOLD paths explorer: https://gold.jgi.doe.gov/ecosystemtree?mode=organism
Journal article: https://www.researchgate.net/publication/328539814_Genomes_OnLine_database_GOLD_v7_updates_and_new_features
There are thousands of valid combinations of the five GOLD path ranks, so we don't want to build one pre-composed pulldowns. Therefore we have one pulldown for each rank. But you can't mix the values of the five ranks indiscriminately. They have to form valid paths, like
- Ecosystem Category → Terrestrial
- Ecosystem → Environmental
- Specific Ecosystem → Agricultural land
- Ecosystem Type → Soil
- Ecosystem Subtype → Clay
We would like a selection from Ecosystem Category
to constrain the values available in the columns for Ecosystem
and lower ranked