Data & ReproProtein Structure & DesignFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
BI

bio-substructure-search

Maintainer FreedomIntelligence · Last updated April 1, 2026

Searches molecular libraries for substructure matches using SMARTS patterns with RDKit. Filters compounds by pharmacophore features, functional groups, or scaffold matches with atom mapping. Use when finding compounds containing specific chemical moieties or filtering libraries by structural features.

OpenClawNanoClawAnalysisReproductionbio-substructure-search🧬 bioinformatics (gptomics bio-* suite)bioinformatics — structural biology & cheminformaticssearches

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-substructure-search

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • Python: mol.HasSubstructMatch(), Chem.MolFromSmarts() (RDKit).
  • Filter my library for compounds containing a specific functional group" → Search molecular collections for substructure matches using SMARTS patterns, identifying compounds that contain specified chemical moieties, scaffolds, or pharmacophore features. Python: mol.HasSubstructMatch(), Chem.MolFromSmarts() (RDKit).
  • Find molecules containing specific structural patterns using SMARTS.
  • pattern = Chem.MolFromSmarts('[OH]') # Hydroxyl group has_hydroxyl = mol.HasSubstructMatch(pattern) print(f'Contains hydroxyl: {has_hydroxyl}').

Source Doc

Excerpt From SKILL.md

Basic Substructure Search

from rdkit import Chem

mol = Chem.MolFromSmiles('c1ccc(O)cc1CCO')

## Get all matches (atom indices)

matches = mol.GetSubstructMatches(pattern)
print(f'Hydroxyl positions: {matches}')

Common SMARTS Patterns

PatternSMARTSDescription
Hydroxyl[OH]Alcohol/phenol
Primary amine[NH2]Primary amine
Secondary amine[NH1]Secondary amine
Carboxylic acid[CX3](=O)[OX2H1]COOH
Amide[CX3](=O)[NX3]C(=O)N
Benzenec1ccccc1Phenyl ring
Any aromatic[a]Any aromatic atom
Halogen[F,Cl,Br,I]Any halogen

Use cases

  • Use when finding compounds containing specific chemical moieties or filtering libraries by structural features.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Upstream Related Skills

  • molecular-io - Load molecules for searching
  • similarity-searching - Fingerprint-based searching
  • admet-prediction - Filter before ADMET analysis

Related skills

Related skills

Back to directory
AD
Data & ReproProtein Structure & Design

Adaptyv

Adaptyv is a cloud laboratory platform that provides automated protein testing and validation services. Submit protein sequences via API or…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView
AL
Data & ReproProtein Structure & Design

alphafold

Validate protein designs using AlphaFold2 structure prediction. Use this skill when: (1) Validating designed sequences fold correctly, (2) P…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AN
Data & ReproProtein Structure & Design

antibody-design-agent

Antibody design: epitope mapping, CDR engineering, bispecific construction.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproProtein Structure & Design

bindcraft

End-to-end binder design using BindCraft hallucination. Use this skill when: (1) Designing protein binders with built-in AF2 validation, (2)…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView