aipoch/medical-research-skills/zinc-database
Claude Code and agent skill by aipoch/medical-research-skills
- community
Checking that the SKILL.md file is still in the repository.
Access the ZINC (230M+ purchasable compounds) database when you need to look up compounds by ZINC ID/SMILES, run similarity/analog searches, or download 3D ready-to-dock structures for virtual screening and drug discovery.
Install
npx vskill@latest install aipoch/medical-research-skills/zinc-databaseSKILL.md
The same SKILL.md was published earlier as aipoch/medical-research-skills/zinc-database.
When to Use
Use this skill when you need to:
- Build a virtual screening library by sampling purchasable compounds (e.g., fragment/lead-like/drug-like subsets).
- Retrieve compounds by identifier (ZINC ID) for follow-up analysis, procurement, or reporting.
- Search by structure (SMILES) to find exact matches or analogs via similarity thresholds.
- Validate supplier availability by querying supplier/catalog identifiers and mapping them to ZINC entries.
- Download docking-ready 3D structures (e.g., MOL2/SDF/DB2) organized by ZINC tranches for docking pipelines.
Key Features
- ZINC22 access (CartBlanche22 web + API) for large-scale purchasable chemical space.
- Lookup by ZINC ID (single or batch).
- SMILES search with optional similarity/analog expansion via distance parameters.
- Supplier/catalog queries to cross-reference vendor codes and catalogs.
- Random sampling for benchmarking, diversity sampling, and screening set generation.
- Property-aware filtering using tranche codes (H-bond donors, LogP, MW, reactivity phase).
- 3D structure downloads from the ZINC22 files library (tranche-organized).
Dependencies
curl(tested with 7.70+)- Python
>=3.9 pandas>=2.0.0(parsing tabular API output)- (optional)
requests>=2.31.0(if replacingcurlwith native HTTP) - (optional)
rdkit>=2023.09.1(structure validation, fingerprints, downstream cheminformatics)
Example Usage
The following example is a complete runnable script that: 1) queries by ZINC ID, 2) runs a SMILES similarity search, 3) samples random compounds, and 4) parses tranche properties.
Implementation Details
Data Sources and Access Points
- ZINC main site: https://zinc.docking.org/
- CartBlanche22 interactive search: https://cartblanche22.docking.org/
- CartBlanche22 API base:
https://cartblanche22.docking.org/ - ZINC22 files library (3D structures): https://files.docking.org/zinc22/
- Documentation/wiki: https://wiki.docking.org/
Core Query Patterns
CartBlanche22 commonly exposes endpoints in the form:
.../substances.txt:zinc_id=<ID1,ID2,...>&output_fields=....../smiles.txt:smiles=<SMILES>&dist=<n>&adist=<n>&output_fields=....../catitems.txt:catitem_id=<SUPPLIER_CODE>.../substance/random.txt:count=<N>&subset=<subset>&output_fields=...
Returned data is typically tab-separated text; request only needed columns via output_fields to reduce payload.
Similarity Parameters (dist, adist)
dist: similarity/analog expansion control (often used as a threshold-like knob; smaller values yield closer analogs).adist: alternative distance parameter for broader expansion.- Practical guidance:
- Start with exact match (
dist=0,adist=0). - Expand gradually (e.g.,
dist=1..3for close analogs; higher values for broader exploration).
Output Fields
Commonly useful fields (availability depends on endpoint/data):
zinc_id: ZINC identifiersmiles: SMILES representationsub_id: internal substance identifiersupplier_code: vendor catalog numbercatalogs: supplier/catalog listtranche: encoded property bin (H donors, LogP, MW, phase)
Example:
Tranche Encoding (Property Binning)
ZINC tranches encode coarse physicochemical properties:
- Format:
H##P###M###-phase H##: H-bond donorsP###: LogP × 10M###: molecular weight (Da)phase: reactivity classification
Use tranche parsing to implement fast, server-side-friendly filtering workflows (e.g., lead-like/drug-like constraints) before downloading 3D structures.
3D Structure Downloads (Docking-Ready)
For docking workflows, use the ZINC22 files library:
- https://files.docking.org/zinc22/
Files are organized by tranche and provided in formats such as MOL2, SDF, and DB2.GZ (for DOCK). For large batch downloads, prefer tranche-based retrieval and parallel download tools (e.g., wget, aria2c) while respecting server load.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscientific-skills/Evidence Insight/zinc-database/SKILL.md
Popularity
- Repository stars
- 990
- Repository forks
- 61
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aipoch/medical-research-skills/zinc-database)