Rdkit molecular descriptors
Skill ma-compbio-lab/SkillFoundry/skills/drug-discovery-and-cheminformatics/rdkit-molecular-descriptors
Use this skill to compute compact cheminformatics descriptors from one SMILES string with RDKit. Do not use it for docking, quantum chemistry, or large library screening.From its SKILL.md
npx -y skills add ma-compbio-lab/SkillFoundry --skill rdkit-molecular-descriptorsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.9 KB, 423 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Turn a SMILES string into a compact descriptor summary suitable for quick triage, featurization, and metadata enrichment.
When to use
- You need a local RDKit-backed molecular summary from a SMILES string.
- You want canonical SMILES, formula, weight, and simple physicochemical descriptors.
When not to use
- You need conformer generation, docking, or reaction modeling.
- You need batch-scale descriptor computation for millions of compounds.
Inputs
- One SMILES string
- Optional molecule name
- Optional JSON output path
Outputs
- JSON summary with canonical SMILES, formula, exact mass, logP, TPSA, HBA/HBD, rotatable bonds, ring count, and heavy-atom count
Requirements
slurm/envs/chem-toolswith RDKit available
Procedure
- Run
slurm/envs/chem-tools/bin/python skills/drug-discovery-and-cheminformatics/rdkit-molecular-descriptors/scripts/compute_rdkit_descriptors.py --smiles "CC(=O)OC1=CC=CC=C1C(=O)O" --name aspirin. - Inspect
canonical_smiles,formula,molecular_weight, andtpsa. - Reuse the JSON payload for downstream filtering or reporting.
Validation
- The command exits successfully.
canonical_smilesis non-empty for a known valid molecule.- Descriptor fields are numeric where expected.
Failure modes and fixes
- Invalid SMILES: verify the input string and quoting.
- Missing RDKit environment: run the script with
slurm/envs/chem-tools/bin/python.
Safety and limits
- Descriptor calculation only.
- No medicinal-chemistry or safety interpretation is implied.
Provenance
- RDKit docs: https://www.rdkit.org/docs/index.html
- RDKit repository: https://github.com/rdkit/rdkit
Related skills
chembl-molecule-search
What ships with it: 10 files
5.6 KB alongside SKILL.md, 2 of them executable
assets/
- aspirin_descriptors.json358 B
- README.md129 B
examples/
- aspirin.smiles25 B
- molecules.tsv90 B
- README.md396 B
scripts/
- compute_rdkit_descriptors.pyruns2.0 KB
tests/
- README.md98 B
- test_compute_rdkit_descriptors.pyruns1.4 KB
- metadata.yaml1018 B
- refs.md127 B