Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bio-shape-similarity

БесплатноЗапускает вложенные скриптыНе проверен

Performs 3D shape-based similarity searching using ROCS (OpenEye), USRCAT (ultra-fast), Open3DAlign (RDKit), ESPSim (electrostatic), and ShaEP with explicit…

lilinjiот lilinji★ 18 звёзд на GitHub

Об этом скилле

Version Compatibility

Reference examples tested with: RDKit 2024.09+ (Open3DAlign and USRCAT); official ShaEP syntax checked against ShaEP 1.4.2; ROCS/FastROCS/ROCS X are commercial OpenEye products.

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Shape Similarity

Search for compounds with similar 3D shape (and optionally chemical features) to a query molecule. Shape-based screening complements 2D fingerprint search: it can find scaffold-hopped compounds that ECFP4 misses (different scaffolds with similar shape). ROCS (OpenEye) is the industry-standard commercial tool; Open3DAlign (RDKit), USRCAT (Schreyer & Blundell 2012), and ShaEP are open-source alternatives. Modern best practice combines shape with color (chemical-feature similarity) via Tanimoto-Combo: matches share both shape and pharmacophore feature distribution.

For 2D fingerprint similarity, see chemoinformatics/similarity-searching. For pharmacophore search (discrete feature constraints), see chemoinformatics/pharmacophore-modeling. For 3D conformer generation, see chemoinformatics/conformer-generation.

Shape Method Taxonomy

Tool Speed Approach Open-source Fails when
ROCS / FastROCS (OpenEye) Hardware/database/conformer-dependent; vendor reports millions of conformers/s for FastROCS Gaussian shape + color No License and prepared database
ROCS X Trillion-scale reaction/synthon space on Orion FastROCS plus Bayesian-bandit sampling No Commercial cloud workflow
USRCAT Very fast alignment-free descriptor comparison Moment-based + atom types Yes Coarse approximation
Open3DAlign (RDKit) Medium MMFF atom-type/charge-weighted alignment Yes Requires compatible typed 3D structures
ShaEP Benchmark on actual conformers/hardware Field-based (shape + ESP) Free binary; inspect license Requires valid 3D structures and charges for ESP
ESPSim Benchmark on actual workload Electrostatic + shape Yes Limited public benchmarks
Phase-Shape (Schrödinger) commercial Shape + pharmacophore No Commercial
USR (original) Very fast alignment-free comparison Moment-based only Yes No atom-type information

Decision: Select a shape method by matched retrieval/enrichment performance, conformer preparation, throughput, licensing, and score semantics. USRCAT is useful as a fast prefilter; Open3DAlign provides an open alignment method; ROCS/FastROCS provide commercial shape/color workflows.

Decision Tree by Scenario

Scenario Method Notes
Large prepared library USRCAT pre-filter + Open3DAlign rescore Choose rescore budget from measured retrieval saturation
Production VS for scaffold hop ROCS + color (commercial) Industry standard
Scaffold hopping prospective Open3DAlign with conformer ensemble Shape + flexibility
Bioisostere replacement ROCS color with neutral scoring Pharmacophore-equivalent matches
Patent space carve-out Shape constraint + 2D dissimilarity Combine shape + dissimilar scaffold
Library diversity assessment USRCAT k-nearest neighbor Fast
Crystal-bound conformer template Open3DAlign starting from co-crystal pose Bioactive shape
Cross-target screening Shape + pharmacophore feature Combined screen

Tanimoto-Combo Scoring (ROCS Standard)

TanimotoCombo = Tanimoto_shape + Tanimoto_color

  • Tanimoto_shape: volume overlap normalized
  • Tanimoto_color: pharmacophore feature overlap

Each component is normalized from 0 to 1, so TanimotoCombo ranges from 0 to 2. It is a sum, not an average. Select follow-up thresholds from a relevant benchmark or enrichment study; a single cutoff is not portable across query preparation, color-force-field settings, and library composition.

USRCAT (Ultra-Fast Shape Recognition + Atom Types)

USRCAT (Schreyer & Blundell 2012) extends Ultrafast Shape Recognition (USR) with atom-type information. Each molecule is represented as a 60-dimensional moment vector (12 moments × 5 atom types).

Goal: Encode a molecule into the 60-D USRCAT moment vector and score similarity against another molecule for alignment-free shape search.

Approach: Parse the SMILES, add hydrogens, generate one 3D conformer with ETKDGv3, compute RDKit USRCAT descriptors, and compare descriptor vectors with RDKit's USR score.

from rdkit.Chem import rdMolDescriptors

mol = Chem.MolFromSmiles('CCO')
mol = Chem.AddHs(mol)
AllChem.EmbedMolecule(mol, AllChem.ETKDGv3())

descriptors = rdMolDescriptors.GetUSRCAT(mol)
# Returns numpy array of 60 floats: 12 USR moments x 5 atom types
# (all atoms, hydrophobic, a
Полный SKILL.md на GitHub

Установить bio-shape-similarity в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/shape_search.pyusage-guide.md

FAQ

Что делает скилл bio-shape-similarity?

Performs 3D shape-based similarity searching using ROCS (OpenEye), USRCAT (ultra-fast), Open3DAlign (RDKit), ESPSim (electrostatic), and ShaEP with explicit handling of Tanimoto-Combo (shape + color), shape vs ECFP4 complementarity, conformer-ensemble searching, alignment optimization, and scaffold hopping. Use when searching for shape-mimicking compounds with different scaffolds, identifying bioisosteric replacements, prospective scaffold hopping, or expanding hit series beyond 2D similarity.

Как установить скилл bio-shape-similarity?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bio-shape-similarity запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bio-shape-similarity с