How to Download and Parse the Human Metabolome Database (HMDB)
A practical guide to downloading HMDB's XML releases, streaming them into a queryable local database, and joining the result to your own metabolomics and blood biomarker data.
4 posts
A practical guide to downloading HMDB's XML releases, streaming them into a queryable local database, and joining the result to your own metabolomics and blood biomarker data.
Free web analyzers will read your lab PDF and produce plain-language text. Here is what that gets you, where it fails, and how to build a structured longitudinal table of your own results that an AI agent can use properly.
A working guide to HMDB's access paths: the licensed REST API, the per-record XML endpoints, and the bulk downloads. Includes a streaming parser, a DuckDB mirror, and mass-based lookup with ppm windows.
The best blood test tracker is a long-format table you control plus fifty lines of Python. No app is needed. Covers the schema and LOINC codes.