DrugBank supports advanced Google-style searching using a powerful search engine based on the Lucene query language.
DrugBank 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). You can also search using "wild cards" by inserting a "*" in your search term. For example, searching for "acet*" will
match all words starting with "acet".
In addition, text search supports parenthetical groupings, and prepended +plus and -minus operators.
| Example | Description |
|---|---|
| acetaminophen AND aspirin | Find all drugs containing both acetaminophen and aspirin |
| (acetaminophen OR aspirin) AND NOT ibuprofen | Find all drugs containing acetaminophen, aspirin or both, but not containing ibuprofen |
| "acetic acid" | Find all drugs where the entire term "acetic acid" is found. In other words, don't match "acetic" or "acid" alone. |
| "acetic acid" AND group:approved | Find all approved drugs where the entire term "acetic acid" is found. |
| brand:acet* AND group:approved | Find all approved drugs with at least one brand name starting with "acet". |
As the last 2 examples demonstrate, DrugBank text query also supports a high-level search interface allowing you to narrow your search to specific drug fields.
To use this interface, simply enter the field name followed by a semi-colon and your query term. For
example, to search for drugs where the brand name mixtures contains "triaminic" you would search for
mixture_name:triaminic. You can also combine different fields in a
given search, for example, to find all drugs where the brand mixtures contain both "dextromethorphan" and "doxylamine" you would search
for
mixture_ingredient:dextromethorphan AND mixture_ingredient:doxylamine.
Currently, only the following drug fields are searchable using this method:
| Title/Description | Field |
|---|---|
| DrugBank ID | drugbank_id |
| Generic Name | name |
| AHFS Code | ahfs_code |
| ATC Code | atc_code |
| Absorption | absorption |
| Affected Organisms | organism |
| Biotransformation | biotransformation |
| Brands | brand |
| CAS Number | cas_number |
| Caco2 Permeability (experimental) | experimental_caco2_permeability |
| Category | category |
| ChEBI ID | chebi_id |
| Chemical Formula | formula |
| Chemical IUPAC Name | iupac |
| Clearance | clearance |
| DPD ID (DIN) | dpd_id |
| Description | description |
| Dosage Form | dosage_form |
| Dosage Route | dosage_route |
| Drug Group | group |
| Drug Type | type |
| Drug-Food Interaction | food_interaction |
| Genbank ID | genbank_id |
| H2O Solubility (experimental) | experimental_water_solubility |
| H2O Solubility (predicted) | predicted_water_solubility |
| HET ID | het_id |
| Half Life | half_life |
| ID | id |
| InChI Identifier | inchi |
| InChI Key | inchikey |
| Indication | indication |
| KEGG Compound ID | kegg_compound_id |
| KEGG Drug ID | kegg_drug_id |
| LogP (experimental) | experimental_logp |
| LogP (predicted) | predicted_logp |
| LogS (experimental) | experimental_logs |
| LogS (predicted) | predicted_logs |
| Mechanism of Action | mechanism_of_action |
| Melting Point (°C) | melting_point |
| Mixture Brand Names | mixture_name |
| Mixture Ingredients | mixture_ingredient |
| Molecular Weight (average) | average_mass |
| Molecular Weight (monoisotopic) | mono_mass |
| PDB ID | pdb_id |
| PDRhealth Link | pdrhealth_link |
| Pathway SMPDB ID | pathway_smpdb_id |
| Pathways | pathway_name |
| PharmGKB ID | pharmgkb_id |
| Pharmacology | pharmacology |
| Protein Binding | protein_binding |
| PubChem Compound ID | pubchem_compound_id |
| PubChem Substance ID | pubchem_substance_id |
| Route of Elimination | route_of_elimination |
| RxList Link | rxlist_link |
| SMILES | smiles |
| Secondary Accession Number | secondary_id |
| State | state |
| Synonyms | synonym |
| Synthesis Reference | synthesis_reference |
| Target ID | target_id |
| Toxicity | toxicity |
| UniProt ID | uniprot_id |
| UniProt Name | uniprot_name |
| Volume of Distribution | volume_of_distribution |
| Wikipedia Link | wikipedia_link |
| pKa/Isoelectric Point | pka_isoelectric_point |
This project is supported by Genome Alberta & Genome Canada, a not-for-profit organization that is leading Canada's national genomics strategy with $600 million in funding from the federal government. This project is also supported in part by GenomeQuest, Inc., an enterprise genomic information company serving the life science community.