rdkit-molecule-standardization
Use this skill to standardize one small-molecule SMILES string with RDKit MolStandardize. It is for local cleanup, salt stripping, uncharging, and tautomer…
by ma-compbio-lab★ 46 GitHub stars
Install rdkit-molecule-standardization in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Purpose
Turn a single SMILES string into a deterministic standardization summary using RDKit MolStandardize.
When to use
- You need a local starter for the taxonomy leaf
molecule-standardization. - You want to strip salts or counterions before downstream featurization.
- You want a compact JSON summary with fragment-parent, uncharged, and canonical-tautomer SMILES.
When not to use
- You need conformers, docking, or quantum chemistry.
- You need bulk normalization across large compound libraries.
Inputs
- One SMILES string passed by
--smilesor a single-line file passed by--smiles-file - Optional molecule name
- Optional JSON output path
Outputs
- JSON summary with cleaned, fragment-parent, uncharged, and canonical-tautomer SMILES
- Charge before and after standardization
- Formula and heavy-atom count for the standardized molecule
Requirements
slurm/envs/chem-toolswithRDKitandMolStandardize
Procedure
- Run
slurm/envs/chem-tools/bin/python skills/drug-discovery-and-cheminformatics/rdkit-molecule-standardization/scripts/standardize_rdkit_molecule.py --smiles-file skills/drug-discovery-and-cheminformatics/rdkit-molecule-standardization/examples/sodium_acetate.smiles --name sodium-acetate. - Inspect
fragment_parent_smilesto confirm salt stripping. - Inspect
uncharged_smilesandcanonical_tautomer_smilesbefore reusing the molecule downstream.
Validation
- The script exits successfully with the
chem-toolsprefix. - The sodium acetate example standardizes to
CC(=O)O. - The runtime output matches
assets/sodium_acetate_standardized.json.
Failure modes and fixes
- Invalid SMILES: verify the input string or the first non-empty line in the SMILES file.
- Missing RDKit environment: run the script with
slurm/envs/chem-tools/bin/python.
Safety and limits
- This is a molecule-cleanup helper only.
- It does not imply medicinal-chemistry, ADMET, or synthesis interpretation.
Provenance
- RDKit documentation: https://www.rdkit.org/docs/
- RDKit MolStandardize API: https://www.rdkit.org/docs/source/rdkit.Chem.MolStandardize.rdMolStandardize.html
Related skills
rdkit-molecular-descriptorschembl-molecule-search
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- assets/README.md
- assets/sodium_acetate_standardized.json
- examples/README.md
- examples/sodium_acetate.smiles
- metadata.yaml
- refs.md
- scripts/standardize_rdkit_molecule.py
FAQ
What does the rdkit-molecule-standardization skill do?
Use this skill to standardize one small-molecule SMILES string with RDKit MolStandardize. It is for local cleanup, salt stripping, uncharging, and tautomer canonicalization, not docking or batch-library processing.
How do I install the rdkit-molecule-standardization skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the rdkit-molecule-standardization skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…