Adaptyv
Adaptyv is a cloud laboratory platform that provides automated protein testing and validation services. Submit protein sequences via API or…
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.
Original source
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-substructure-search
Skill Snapshot
Source Doc
from rdkit import Chem
mol = Chem.MolFromSmiles('c1ccc(O)cc1CCO')
## Get all matches (atom indices)
matches = mol.GetSubstructMatches(pattern)
print(f'Hydroxyl positions: {matches}')
| Pattern | SMARTS | Description |
|---|---|---|
| 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 |
| Benzene | c1ccccc1 | Phenyl ring |
| Any aromatic | [a] | Any aromatic atom |
| Halogen | [F,Cl,Br,I] | Any halogen |
Related skills
Adaptyv is a cloud laboratory platform that provides automated protein testing and validation services. Submit protein sequences via API or…
Validate protein designs using AlphaFold2 structure prediction. Use this skill when: (1) Validating designed sequences fold correctly, (2) P…
Antibody design: epitope mapping, CDR engineering, bispecific construction.
End-to-end binder design using BindCraft hallucination. Use this skill when: (1) Designing protein binders with built-in AF2 validation, (2)…