PubChem Finder

v2.2.3
io.github.MysterionRise/pubchem-finder Checked 5 hours ago Published 18 days ago

Search PubChem by structure: a local similarity/substructure index, live PubChem data, RDKit tools

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pubchem_lookup Look up a PubChem compound

Look a compound up in PubChem by name, CID, SMILES or InChIKey. Returns PubChem records with CID, title, IUPAC name, SMILES, InChIKey, formula, molecular weight, XLogP, H-bond counts, TPSA and the PubChem URL. Names resolve to the best matches; use limit to get more than the top 5.

ParameterTypeDescription
query *string
bystring
limitinteger

compound_properties Compute molecular properties

Calculate RDKit descriptors for a SMILES string. Returns molecular weight, Crippen LogP, H-bond donors/acceptors, TPSA, rotatable bonds, aromatic rings, heavy atoms, canonical SMILES and whether Lipinski's Rule of Five passes. Works for any valid SMILES, not only PubChem compounds.

ParameterTypeDescription
smiles *string

standardize Standardize a structure

Standardize a structure: remove salts/counter-ions, neutralize charges, normalize functional groups, and return canonical SMILES of the parent. The parent is the largest organic component that is not a common counter-ion or solvent (meglumine, pamoate, tartrate, ethanol); `removed` lists everything left out, and `note` says when that includes another organic component, as in a mixture of two drugs. Metal compounds (cisplatin, ferrous fumarate) and inputs with nothing organic (sodium chloride) are returned as given, with a `note`. Sulfoxides stay S=O, the form PubCh…

ParameterTypeDescription
smiles *string

compare Compare two structures

Fingerprint similarity between two structures. Returns Tanimoto similarity on ECFP4 (Morgan radius 2, 2048 bits) and on MACCS keys. 1.0 means identical fingerprints; above ~0.7 on ECFP4 is a close analogue.

ParameterTypeDescription
smiles_a *string
smiles_b *string

index_status Local index status

Report whether the local PubChem index is built, how many compounds it holds, its fingerprint, size, whether substructure search is available, what local searches cover now (search_scope: the index, or the built-in demo set of FDA-approved drugs) and how to build what is missing.

pubchem_exact_match PubChem exact structure match

Find the PubChem record(s) for exactly this structure. identity_type controls what counts as identical: same_stereo_isotope (default, strictest), same_stereo, same_isotope, same_connectivity (ignores stereo and isotopes, finds all stereoisomers), same_tautomer, nonconflicting_stereo.

ParameterTypeDescription
smiles *string
identity_typestring

pubchem_synonyms PubChem synonyms and CAS numbers

Names a compound is known by (common, brand, systematic), most common first, plus its CAS Registry Numbers. Get the CID from pubchem_lookup.

ParameterTypeDescription
cid *integer
limitinteger

pubchem_xrefs PubChem cross-references

Counts and examples of external identifiers linked to a compound: registry IDs (e.g. CAS, ChEMBL, DrugBank), PubMed articles (with links) and patents.

ParameterTypeDescription
cid *integer

pubchem_description PubChem compound description

Short curated descriptions of a compound (what it is, what it is used for), each with its source.

ParameterTypeDescription
cid *integer

pubchem_annotations PubChem page section

Curated information from one section of a compound's PubChem page. Sections: GHS Classification (pictograms, signal word, hazard statements), Hazards Identification, Pharmacology and Biochemistry, Mechanism of Action, Drug and Medication Information, Experimental Properties (melting point, solubility, measured LogP...), Toxicity, Use and Manufacturing, Food Additives and Ingredients. Each annotation names its source; cite it. Long sections are trimmed to max_chars (500-30000); truncated says when that happened. If the page lacks the section, the error lists the sec…

ParameterTypeDescription
cid *integer
heading *string
max_charsinteger

pubchem_bioactivity PubChem bioactivity summary

Summary of PubChem BioAssay results for a compound: how many assays, outcome counts, the targets with the most active assays (one per gene, with its NCBI gene ID and a protein accession) and the lowest potency-type values among active results (IC50, EC50, AC50, Ki, Kd and similar, in µM). The lowest value is not always the most meaningful one: name the assay when you quote it.

ParameterTypeDescription
cid *integer

draw_molecules Draw molecules

Draw 1-24 molecules as a PNG grid image the user can see. legends: one caption per molecule (names or CIDs). highlight: - "smarts": atoms matching the smarts pattern (e.g. a pharmacophore or an alert), - "diff": what each molecule adds relative to reference_smiles (atoms outside their maximum common substructure), with drawings aligned to the shared core. No highlight means no difference, unless the caption says "difference not computed" (the comparison ran out of time: say so, do not call it identical), - "similarity_map": atom contributions to ECFP4 similar…

ParameterTypeDescription
smiles *array
highlightstring
legends
reference_smiles
smarts

medchem_profile Medicinal chemistry profile

Medicinal-chemistry triage of a structure: QED drug-likeness (0-1), synthetic accessibility (1 easy - 10 hard), Lipinski violations, Veber rules, PAINS/Brenk/NIH structural alerts with matched atom indices (pass them to draw_molecules with the alert as SMARTS, or just describe them), and the Bemis-Murcko scaffold.

ParameterTypeDescription
smiles *string