Text search supports boolean logic
(AND, OR, NOT operations). To match a string exactly,
place quotes around your search term (for example "acetic acid" will only match the acetic followed by acid, it will not match acetic
or acid alone). In addition, text search supports parenthetical groupings, and prepended +plus and -minus operators.
HMDB text query also supports a high-level search interface allowing you to narrow your search to specific metabolite fields.
To use this interface, simply enter the field name followed by a semi-colon and your query term. For
example, to search for metabolites where the taxonomy class contains "amino" you would search for
taxonomy_class:amino. You can also combine different fields in a
given search, for example, to find all metabolites where the description contains "amino", "poison", and "cysteine" you would search
for
description:(poison AND cysteine AND amino).
Currently, only the following metabolite fields are searchable using this method:
| Field | Title/Description |
|---|---|
| associated_disorders | Associated Disorders |
| bigg_id | BiGG ID |
| biocyc_id | BioCyc ID |
| biofluid_location | Biofluid Location |
| cas_number | CAS Number |
| cellular_location | Cellular Location |
| chemical_formula | Chemical Formula |
| description | Description |
| hmdb_id | HMDB ID |
| inchi_key | InChI Key |
| iupac | Chemical IUPAC Name |
| kegg_compound_id | KEGG Compound ID |
| metagene_id | MetaGene ID |
| metlin_id | METLIN ID |
| name | Common Name |
| omim_id | OMIM ID |
| pubchem_compound_id | PubChem Compound ID |
| pubchem_substance_id | PubChem Substance ID |
| secondary_id | Secondary ID |
| synonyms | Synonyms |
| taxonomy_biofunction | Taxonomy Biofunction |
| taxonomy_class | Taxonomy Class |
| taxonomy_family | Taxonomy Family |
| taxonomy_kingdom | Taxonomy Kingdom |
| taxonomy_source | Taxonomy Source |
| taxonomy_species | Taxonomy Species |
| taxonomy_sub_class | Taxonomy Sub Class |
| taxonomy_super_class | Taxonomy Super Class |
| tissue_location | Tissue Location |
| weight_average | Molecular Weight (average) |
| weight_mono | Molecular Weight (monoisotopic) |