Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Parses the local HMDB metabolite XML to query metabolite properties, pathways, biomarkers, spectra, and cross-database IDs.
64% 91%+27 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
Query the Human Metabolome Database (HMDB, 220,000+ metabolite entries) by parsing locally downloaded XML with Python's ElementTree. Covers metabolite lookup, chemical properties, biological context (pathways, enzymes, biofluids), disease/biomarker associations, spectral data for metabolite identification, and cross-database ID mapping to KEGG, PubChem, ChEBI, and DrugBank.
drugbank-database-access insteadpubchem-compound-search insteadhmdb_metabolites.xml.zip (~6 GB uncompressed)lxml (faster XPath) or standard xml.etree.ElementTree, pandashmdbQuery on CRAN provides some query wrappers but is limited and outdatedpip install lxml pandas
import xml.etree.ElementTree as ET
NS = {'hmdb': 'http://www.hmdb.ca'}
tree = ET.parse('hmdb_metabolites.xml') # 60-120s for full XML
root = tree.getroot()
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.