clingen-data-model / clingen-interpretation

Allele (variant) interpretation model and API for ClinGen
3 stars 1 forks source link

Version 1 - End Game #108

Closed larrybabb closed 6 years ago

larrybabb commented 7 years ago

DMWG Interpretation v1 End Game

TODO 1. SEPIO ontology finalization (Matt B/Chris/Tristan/Bradford/Larry) - next Mon/Tue

TODO 2. ClinGen Interpretation JSON-LD context build/publish (Tristan) - (this/next)

DONE 3. VCI Interpretation Transformation Tool (Chris)

TODO 4. ClinVar Submitter Tool (Larry/Tristan/Nafisa) -

TODO 5. WebSite documentation (short-term) (Primary agenda for next Tuesday)

bpow commented 7 years ago

TODO 2 is issue #107 , and I think I may have satisfied it. The context is now being generated within the config.rb (so at middleman build time) from the data in data/flattened and is available at http://datamodel.clinicalgenome.org/interpretation/json/context

There is probably a better filename/path to use for this, so if someone has ideas they can update the relevant proxy statement in config.rb.

The context can still be generated from the external script construct_context.rb outside of the build process.

cbizon commented 7 years ago

What do you think of interpretation.jsonld?

bpow commented 7 years ago

The idiomatic way to make a json-ld context available seems to be to use a rather generic/top-levelish URL (like http://schema.org) with the context being served when there is a request header of Accept: application/ld+json.

However, I don't think that is possible with github pages.

I don't feel strongly about the filename of the context (since it has to be a file), happy to defer to consensus. Do we want to include the version in the filename (instead of just in the path)?

larrybabb commented 6 years ago

refactored in December.