Tooluniverse chemical sourcing

From mims-harvard/ToolUniverse · View interactive version

Tooluniverse chemical sourcing is an AI agent skill from the GitHub repository mims-harvard/ToolUniverse. Find commercial sources for chemical compounds — PubChem/ChEMBL identity resolution then vendor catalog search across ZINC, Enamine, eMolecules, Mcule. Compares pricing, availability, and identifies purchasable analogs when an exact compound is not in stock. Use for chemical procurement, virtual lib

How to use this skill

Skill file

Chemical Compound Sourcing & Procurement

Pipeline for identifying, sourcing, and purchasing chemical compounds from commercial vendors. Resolves compound identity through PubChem/ChEMBL, searches multiple vendor databases (ZINC, Enamine, eMolecules, Mcule), compares pricing and availability, and identifies purchasable analogs when exact compounds are unavailable.

Guiding principles:

  1. Identity first -- confirm the compound's structure (SMILES, InChI) before searching vendors; names can be ambiguous
  2. Multi-vendor comparison -- always check multiple sources; pricing and stock vary significantly
  3. Analog fallback -- if the exact compound is unavailable, search for close analogs
  4. Purity and quantity awareness -- note catalog purity grades and minimum order quantities
  5. Structure over name -- vendor searches by SMILES/InChI are more reliable than name searches
  6. English-first queries -- use English compound names in tool calls

LOOK UP, DON'T GUESS

When uncertain about any scientific fact, SEARCH databases first rather than reasoning from memory. A database-verified answer is always more reliable than a guess.


COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

When to Use

Typical triggers:

Not this skill: For ADMET/toxicity assessment, use tooluniverse-admet-prediction. For drug-target interaction analysis, use tooluniverse-drug-target-validation.


Core Databases

| Database | Scope | Best For |

|----------|-------|----------|

| ZINC | 230M+ purchasable compounds; aggregates vendors | Broadest coverage; substructure/similarity search; free |

| Enamine | ~4M in-stock, 30B+ REAL (make-on-demand) | Large in-stock library; fast delivery; building blocks |

| eMolecules | Multi-vendor aggregator; 8M+ compounds | Cross-vendor comparison; pricing transparency |

| Mcule | 40M+ compounds; one-stop purchasing | Integrated ordering; quote generation |

| PubChem | 110M+ compounds; identity resolution | Authoritative compound identification; CID lookup |

| ChEMBL | 2.4M+ bioactive molecules | Bioactivity context for sourced compounds |


Workflow Overview

Phase 0: Compound Identity Resolution
  Name/SMILES/CAS -> PubChem CID -> canonical SMILES
    |
Phase 1: Vendor Search
  Query ZINC, Enamine, eMolecules, Mcule
    |
Phase 2: Price & Availability Comparison
  Catalog numbers, pricing, stock status, purity
    |
Phase 3: Analog Search (if needed)
  Similarity search for purchasable alternatives
    |
Phase 4: Bioactivity Context (optional)
  ChEMBL activity data for sourced compounds
    |
Phase 5: Order Summary
  Consolidated vendor comparison table

Phase Details

Phase 0: Compound Identity Resolution

Objective: Establish unambiguous compound identity before vendor searches.

Tools:

Workflow:

  1. If user provides a name: resolve to PubChem CID, then get SMILES
  2. If user provides SMILES: use directly (optionally verify via PubChem)
  3. If user provides CAS number: search PubChem by name (CAS numbers work as search terms)
  4. Record: canonical SMILES, molecular weight, molecular formula, IUPAC name

Important: PubChem ConnectivitySMILES (not CanonicalSMILES) is the correct property name. Always confirm the SMILES matches the intended compound before proceeding.

Phase 1: Vendor Search

Objective: Search all available vendor databases for the target compound.

Tools:

Workflow:

  1. Search all four vendor databases in parallel using SMILES (preferred) or name
  2. For each hit, retrieve detailed compound info (pricing, stock, purity)
  3. Deduplicate results by matching SMILES across vendors
  4. Flag any structural mismatches (vendor compound differs from target)

Tip: SMILES-based searches are more precise than name searches. If name search returns too many results, switch to SMILES.

Phase 2: Price & Availability Comparison

Objective: Create a comparison table across vendors.

Compile from Phase 1 results:

| Field | Description |

|-------|-------------|

| Vendor | Company name |

| Catalog # | Vendor-specific identifier |

| Quantity | Available pack sizes |

| Price | Per unit or per mg |

| Purity | Stated purity grade (>95%, >98%, etc.) |

| Stock | In-stock vs make-on-demand |

| Delivery | Estimated delivery time |

Rank vendors by: (1) in-stock availability, (2) price per mg, (3) purity grade, (4) delivery time.

Phase 3: Analog Search

Objective: When the exact compound is unavailable, find purchasable structural analogs.

Triggered when:

Approach:

  1. Use ZINC or Enamine similarity search (if supported by the tool's search mode)
  2. Search by substructure using the compound's core scaffold SMILES
  3. Filter analogs by: Tanimoto similarity >= 0.7, commercial availability, reasonable price
  4. Present analogs with structural differences highlighted

Phase 4: Bioactivity Context (Optional)

Objective: Provide biological activity data for context when sourcing compounds for research.

Tools:

Useful when:

Phase 5: Decision & Order Summary

Vendor selection decision matrix — don't just list vendors, recommend one:

| Scenario | Best Vendor Strategy | Why |

|----------|---------------------|-----|

| Need it this week | In-stock vendor with fastest shipping | Make-on-demand takes 2-4 weeks minimum |

| Budget-constrained | Cheapest per mg, accept lower purity (>95%) | Academic budgets are tight; >95% is fine for screening |

| High-throughput screen | ZINC/Enamine for large libraries; mg quantities | Price per compound matters more than purity |

| Assay validation | Highest purity (>98%) from reputable vendor | False positives from impurities waste months |

| Building blocks for synthesis | Enamine (largest building block catalog) | Purpose-built for medicinal chemistry |

| Exact compound unavailable | Analog search → check bioactivity (ChEMBL) → source best analog | Tanimoto > 0.85 likely retains activity; 0.7-0.85 may have different SAR |

Red flags when sourcing:

Generate a final sourcing report:

  1. Compound Identity -- name, SMILES, MW, CAS (if known), PubChem CID
  2. Vendor Comparison Table -- all vendors with pricing, stock, purity, delivery time
  3. Recommended Source -- specific vendor with reasoning (not just cheapest)
  4. Analogs (if searched) -- alternative compounds with similarity scores and bioactivity comparison
  5. Notes -- special handling, storage conditions, salt form, stereochemistry considerations

Common Analysis Patterns

| Pattern | Description | Key Phases |

|---------|-------------|------------|

| Quick Availability Check | Is this compound purchasable? | 0, 1 |

| Full Vendor Comparison | Compare all sources with pricing | 0, 1, 2, 5 |

| Analog Discovery | Compound unavailable; find alternatives | 0, 1, 3, 5 |

| Building Block Sourcing | Find reagents for synthesis | 0, 1, 2 |

| Hit-to-Lead Sourcing | Source screening hits with bioactivity context | 0, 1, 2, 4, 5 |


Edge Cases & Fallbacks


Interpretation Framework

| Evidence Grade | Criteria | Action |

|----------------|----------|--------|

| A -- High confidence | In-stock at 2+ vendors, purity >=98%, CoA available | Order directly |

| B -- Moderate confidence | Single vendor or make-on-demand, purity >=95% | Request CoA, verify structure |

| C -- Low confidence | No stock, purity unstated, or price outlier (>5x median) | Custom synthesis or analog search |

Interpreting vendor results:

Synthesis questions to address in the final report:

  1. Do all vendor SMILES resolve to the same canonical structure (including stereochemistry and salt form)?
  2. Is the price-per-mg consistent with the compound's synthetic complexity, or does an outlier suggest a catalog error?
  3. For analogs: does the structural change fall outside the pharmacophore, preserving expected activity?

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.