HMDB Database
Overview
The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.
When to Use This Skill
This skill should be used when performing metabolomics research, clinical chemistry, biomarker discovery, or metabolite identification tasks.
Database Contents
HMDB version 5.0 (current as of 2025) contains:
- 220,945 metabolite entries covering both water-soluble and lipid-soluble compounds
- 8,610 protein sequences for enzymes and transporters involved in metabolism
- 130+ data fields per metabolite including:
- Chemical properties (structure, formula, molecular weight, InChI, SMILES)
- Clinical data (biomarker associations, diseases, normal/abnormal concentrations)
- Biological information (pathways, reactions, locations)
- Spectroscopic data (NMR, MS, MS-MS spectra)
- External database links (KEGG, PubChem, MetaCyc, ChEBI, PDB, UniProt, GenBank)
Core Capabilities
1. Web-Based Metabolite Searches
Access HMDB through the web interface at https://www.hmdb.ca/ for:
Text Searches:
- Search by metabolite name, synonym, or identifier (HMDB ID)
- Example HMDB IDs: HMDB0000001, HMDB0001234
- Search by disease associations or pathway involvement
- Query by biological specimen type (urine, serum, CSF, saliva, feces, sweat)
Structure-Based Searches:
- Use ChemQuery for structure and substructure searches
- Search by molecular weight or molecular weight range
- Use SMILES or InChI strings to find compounds
Spectral Searches:
- LC-MS spectral matching
- GC-MS spectral matching
- NMR spectral searches for metabolite identification
Advanced Searches:
- Combine multiple criteria (name, properties, concentration ranges)
- Filter by biological locations or specimen types
- Search by protein/enzyme associations
2. Accessing Metabolite Information
When retrieving metabolite data, HMDB provides:
Chemical Information:
- Systematic name, traditional names, and synonyms
- Chemical formula and molecular weight
- Structure representations (2D/3D, SMILES, InChI, MOL file)
- Chemical taxonomy and classification
Biological Context:
- Metabolic pathways and reactions
- Associated enzymes and transporters
- Subcellular locations
- Biological roles and functions
Clinical Relevance:
- Normal concentration ranges in biological fluids
- Biomarker associations with diseases
- Clinical significance
- Toxicity information when applicable
Analytical Data:
- Experimental and predicted NMR spectra
- MS and MS-MS spectra
- Retention times and chromatographic data
- Reference peaks for identification
3. Downloadable Datasets
HMDB offers bulk data downloads at https://www.hmdb.ca/downloads in multiple formats:
Available Formats:
- XML: Complete metabolite, protein, and spectra data
- SDF: Metabolite structure files for cheminformatics
- FASTA: Protein and gene sequences
- TXT: Raw spectra peak lists
- CSV/TSV: Tabular data exports
Dataset Categories:
- All metabolites or filtered by specimen type
- Protein/enzyme sequences
- Experimental and predicted spectra (NMR, GC-MS, MS-MS)
- Pathway information
Best Practices:
- Download XML format for comprehensive data including all fields
- Use SDF format for structure-based analysis and cheminformatics workflows
- Parse CSV/TSV formats for integration with data analysis pipelines
- Check version dates to ensure up-to-date data (current: v5.0, 2023-07-01)
Usage Requirements:
- Free for academic and non-commercial research
- Commercial use requires explicit permission (contact samackay@ualberta.ca)
- Cite HMDB publication when using data
4. Programmatic API Access
API Availability:
HMDB does not provide a public REST API. Programmatic access requires contacting the development team:
Alternative Programmatic Access:
- R/Bioconductor: Use the
hmdbQuery package for R-based queries
- Install:
BiocManager::install("hmdbQuery")
- Provides HTTP-based querying functions
- Downloaded datasets: Parse XML or CSV files locally for programmatic analysis
- Web scraping: Not recommended; contact team for proper API access instead
5. Common Research Workflows
Metabolite Identification in Untargeted Metabolomics:
- Obtain experimental MS or NMR spectra from samples
- Use HMDB spectral search tools to match against reference spectra
- Verify candidates by checking molecular weight, retention time, and MS-MS fragmentation
- Review biological plausibility (expected in specimen type, known pathways)
Biomarker Discovery:
- Search HMDB for metabolites associated with disease of interest
- Review concentration ranges in normal vs. disease states
- Identify metabolites with strong differential abundance
- Examine pathway context and biological mechanisms
- Cross-reference with literature via PubMed links
Pathway Analysis:
- Identify metabolites of interest from experimental data
- Look up HMDB entries for each metabolite
- Extract pathway associations and enzymatic reactions
- Use linked SMPDB (Small Molecule Pathway Database) for pathway diagrams
- Identify pathway enrichment for biological interpretation
Database Integration:
- Download HMDB data in XML or CSV format
- Parse and extract relevant fields for local database
- Link with external IDs (KEGG, PubChem, ChEBI) for cross-database queries
- Build local tools or pipelines incorporating HMDB reference data
Related HMDB Resources
The HMDB ecosystem includes related databases:
- DrugBank: ~2,832 drug compounds with pharmaceutical information
- T3DB (Toxin and Toxin Target Database): ~3,670 toxic compounds
- SMPDB (Small Molecule Pathway Database): Pathway diagrams and maps
- FooDB: ~70,000 food component compounds
These databases share similar structure and identifiers, enabling integrated queries across human metabolome, drug, toxin, and food databases.
Best Practices
Data Quality:
- Verify metabolite identifications with multiple evidence types (spectra, structure, properties)
- Check experimental vs. predicted data quality indicators
- Review citations and evidence for biomarker associations
Version Tracking:
- Note HMDB version used in research (current: v5.0)
- Databases are updated periodically with new entries and corrections
- Re-query for updates when publishing to ensure current information
Citation:
- Always cite HMDB in publications using the database
- Reference specific HMDB IDs when discussing metabolites
- Acknowledge data sources for downloaded datasets
Performance:
- For large-scale analysis, download complete datasets rather than repeated web queries
- Use appropriate file formats (XML for comprehensive data, CSV for tabular analysis)
- Consider local caching of frequently accessed metabolite information
Reference Documentation
See references/hmdb_data_fields.md for detailed information about available data fields and their meanings.
1---2name: hmdb-database3description: Access Human Metabolome Database (220K+ metabolites). Search by name/ID/structure, retrieve chemical properties, biomarker data, NMR/MS spectra, pathways, for metabolomics and identification.4category: databases5license: HMDB is offered to the public as a freely available resource. Use and re-distribution of the data, in whole or in part, for commercial purposes requires explicit permission of the authors and explicit acknowledgment of the source material (HMDB) and the original publication (see the HMDB citing page). We ask that users who download significant portions of the database cite the HMDB paper in any resulting publications.6metadata:7 source: https://skillmd.com/skills/synthetic-sciences/hmdb-database8 upstream: K-Dense-AI/scientific-agent-skills9 upstream-url: https://github.com/K-Dense-AI/scientific-agent-skills10 upstream-path: scientific-skills/hmdb-database11 upstream-license: MIT12 upstream-relationship: derived13 adapted-by: Synthetic Sciences14 skill-author: K-Dense Inc.15---1617# HMDB Database1819## Overview2021The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.2223## When to Use This Skill2425This skill should be used when performing metabolomics research, clinical chemistry, biomarker discovery, or metabolite identification tasks.2627## Database Contents2829HMDB version 5.0 (current as of 2025) contains:3031- **220,945 metabolite entries** covering both water-soluble and lipid-soluble compounds32- **8,610 protein sequences** for enzymes and transporters involved in metabolism33- **130+ data fields per metabolite** including:34 - Chemical properties (structure, formula, molecular weight, InChI, SMILES)35 - Clinical data (biomarker associations, diseases, normal/abnormal concentrations)36 - Biological information (pathways, reactions, locations)37 - Spectroscopic data (NMR, MS, MS-MS spectra)38 - External database links (KEGG, PubChem, MetaCyc, ChEBI, PDB, UniProt, GenBank)3940## Core Capabilities4142### 1. Web-Based Metabolite Searches4344Access HMDB through the web interface at https://www.hmdb.ca/ for:4546**Text Searches:**47- Search by metabolite name, synonym, or identifier (HMDB ID)48- Example HMDB IDs: HMDB0000001, HMDB000123449- Search by disease associations or pathway involvement50- Query by biological specimen type (urine, serum, CSF, saliva, feces, sweat)5152**Structure-Based Searches:**53- Use ChemQuery for structure and substructure searches54- Search by molecular weight or molecular weight range55- Use SMILES or InChI strings to find compounds5657**Spectral Searches:**58- LC-MS spectral matching59- GC-MS spectral matching60- NMR spectral searches for metabolite identification6162**Advanced Searches:**63- Combine multiple criteria (name, properties, concentration ranges)64- Filter by biological locations or specimen types65- Search by protein/enzyme associations6667### 2. Accessing Metabolite Information6869When retrieving metabolite data, HMDB provides:7071**Chemical Information:**72- Systematic name, traditional names, and synonyms73- Chemical formula and molecular weight74- Structure representations (2D/3D, SMILES, InChI, MOL file)75- Chemical taxonomy and classification7677**Biological Context:**78- Metabolic pathways and reactions79- Associated enzymes and transporters80- Subcellular locations81- Biological roles and functions8283**Clinical Relevance:**84- Normal concentration ranges in biological fluids85- Biomarker associations with diseases86- Clinical significance87- Toxicity information when applicable8889**Analytical Data:**90- Experimental and predicted NMR spectra91- MS and MS-MS spectra92- Retention times and chromatographic data93- Reference peaks for identification9495### 3. Downloadable Datasets9697HMDB offers bulk data downloads at https://www.hmdb.ca/downloads in multiple formats:9899**Available Formats:**100- **XML**: Complete metabolite, protein, and spectra data101- **SDF**: Metabolite structure files for cheminformatics102- **FASTA**: Protein and gene sequences103- **TXT**: Raw spectra peak lists104- **CSV/TSV**: Tabular data exports105106**Dataset Categories:**107- All metabolites or filtered by specimen type108- Protein/enzyme sequences109- Experimental and predicted spectra (NMR, GC-MS, MS-MS)110- Pathway information111112**Best Practices:**113- Download XML format for comprehensive data including all fields114- Use SDF format for structure-based analysis and cheminformatics workflows115- Parse CSV/TSV formats for integration with data analysis pipelines116- Check version dates to ensure up-to-date data (current: v5.0, 2023-07-01)117118**Usage Requirements:**119- Free for academic and non-commercial research120- Commercial use requires explicit permission (contact samackay@ualberta.ca)121- Cite HMDB publication when using data122123### 4. Programmatic API Access124125**API Availability:**126HMDB does not provide a public REST API. Programmatic access requires contacting the development team:127128- **Academic/Research groups:** Contact eponine@ualberta.ca (Eponine) or samackay@ualberta.ca (Scott)129- **Commercial organizations:** Contact samackay@ualberta.ca (Scott) for customized API access130131**Alternative Programmatic Access:**132- **R/Bioconductor**: Use the `hmdbQuery` package for R-based queries133 - Install: `BiocManager::install("hmdbQuery")`134 - Provides HTTP-based querying functions135- **Downloaded datasets**: Parse XML or CSV files locally for programmatic analysis136- **Web scraping**: Not recommended; contact team for proper API access instead137138### 5. Common Research Workflows139140**Metabolite Identification in Untargeted Metabolomics:**1411. Obtain experimental MS or NMR spectra from samples1422. Use HMDB spectral search tools to match against reference spectra1433. Verify candidates by checking molecular weight, retention time, and MS-MS fragmentation1444. Review biological plausibility (expected in specimen type, known pathways)145146**Biomarker Discovery:**1471. Search HMDB for metabolites associated with disease of interest1482. Review concentration ranges in normal vs. disease states1493. Identify metabolites with strong differential abundance1504. Examine pathway context and biological mechanisms1515. Cross-reference with literature via PubMed links152153**Pathway Analysis:**1541. Identify metabolites of interest from experimental data1552. Look up HMDB entries for each metabolite1563. Extract pathway associations and enzymatic reactions1574. Use linked SMPDB (Small Molecule Pathway Database) for pathway diagrams1585. Identify pathway enrichment for biological interpretation159160**Database Integration:**1611. Download HMDB data in XML or CSV format1622. Parse and extract relevant fields for local database1633. Link with external IDs (KEGG, PubChem, ChEBI) for cross-database queries1644. Build local tools or pipelines incorporating HMDB reference data165166## Related HMDB Resources167168The HMDB ecosystem includes related databases:169170- **DrugBank**: ~2,832 drug compounds with pharmaceutical information171- **T3DB (Toxin and Toxin Target Database)**: ~3,670 toxic compounds172- **SMPDB (Small Molecule Pathway Database)**: Pathway diagrams and maps173- **FooDB**: ~70,000 food component compounds174175These databases share similar structure and identifiers, enabling integrated queries across human metabolome, drug, toxin, and food databases.176177## Best Practices178179**Data Quality:**180- Verify metabolite identifications with multiple evidence types (spectra, structure, properties)181- Check experimental vs. predicted data quality indicators182- Review citations and evidence for biomarker associations183184**Version Tracking:**185- Note HMDB version used in research (current: v5.0)186- Databases are updated periodically with new entries and corrections187- Re-query for updates when publishing to ensure current information188189**Citation:**190- Always cite HMDB in publications using the database191- Reference specific HMDB IDs when discussing metabolites192- Acknowledge data sources for downloaded datasets193194**Performance:**195- For large-scale analysis, download complete datasets rather than repeated web queries196- Use appropriate file formats (XML for comprehensive data, CSV for tabular analysis)197- Consider local caching of frequently accessed metabolite information198199## Reference Documentation200201See `references/hmdb_data_fields.md` for detailed information about available data fields and their meanings.202