r/datasets • u/Snoo_74391 • 2d ago
resource [self-promotion] A source-linked interface to the Open Targets Platform, covering roughly 20,000 diseases
Disclosure first: I work on the site linked below. This is not a new dataset. The underlying data is the Open Targets Platform, which is the original source, and I am sending people there as well as to the interface.
Original source: https://platform.opentargets.org Documentation: https://platform-docs.opentargets.org
A lot of drug–disease evidence already sits in Open Targets, but a family or a clinician who just wants to know "what is approved, what is in a trial, and what is only a mechanistic clue" still has to do a lot of joining by hand. I built Moonlight as a thin, read-through interface: type a condition, and the site returns cards sorted into approved, being studied, and new clues, each with a link to the record it came from. It should work for roughly 20,000 diseases and traits. Responses from Open Targets are cached for a day, and I do not keep a separate store of the records.
The pipeline is Python behind a small FastAPI service, running on Cloud Run. Sorting into the three groups is plain code. An LLM writes a short explanation of each medicine–protein–disease path, and a grounding check discards wording that cannot be found in the source records. Coding agents maintain the service against 1,711 tests that run on saved API responses, so a change can be checked without hitting the live Open Targets API.
Two early wins
- Every card has to show the record behind it. If the only support is a secondary database, the card says so, rather than looking like a regulator label.
- When people who live with a condition correct a card, that correction becomes a ticket and a test. Confirmed fixes go back into the database so the same error cannot slip in again quietly.
Two constraints
- Coverage follows Open Targets. If a medicine is missing there, it is missing here until it is added by hand from a regulator label, and only a small share of pages has had that hand check.
- The interface is only as current as the last Open Targets release and our cache. A newly approved medicine can take a while to appear, and the tests, while numerous, run on saved responses rather than a nightly crawl of every label.
If anyone here has a proven way to bulk-check a few thousand drug–disease claims against FDA, EMA or DailyMed pages, or a better pattern for showing provenance on top of a public API, I would be grateful for the pointer.
Interface: https://moonlightclues.com Example page: https://moonlightclues.com/?disease=MONDO_0015924 Code (after this morning's move): https://github.com/Moonlight-Clues/moonlight
1
u/attila_govhouse 12h ago
For the US bulk check, I would keep “a labeling record exists” separate from “this indication is FDA-approved.” The openFDA label endpoint is useful for retrieving sectioned SPL data, but its own disclaimer says the submissions have been reformatted, not verified by FDA, and may differ from approved labeling. An API match alone should not move a card into the approved bucket.
The endpoint’s scope and disclaimer are here: https://open.fda.gov/apis/drug/label/ . It also notes weekly updates, which is a different clock from the date of an underlying regulatory action.
A provenance record could therefore retain the source record identifier, source version/date, retrieval date, exact section supporting the claim and a separate field for the approval evidence. If the second piece has not been established, the interface can say that rather than infer it from the label hit. I have not audited your cards; this is a proposed distinction for the US verification workflow, not medical guidance or a finding that any card is wrong.
•
u/Beichler-Queku 3h ago
bulk verifying against regulatory labels is tough because indication wording rarely maps 1:1 to standard disease ontologies. you usually have to parse the structured product labeling XMLs directly and build a fuzzy mapping layer for the condition names