datamol
Skill by K-Dense-AI
Datamol is a Python wrapper around RDKit with a simpler interface and sensible defaults. It covers SMILES parsing, standardization, descriptors, fingerprints, clustering and 3D conformers for drug discovery work.
Install datamol
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/datamol ~/.claude/skills/datamolRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/datamol ~/.gemini/antigravity-cli/skills/datamolAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Datamol is a Python library that wraps RDKit with a simpler interface and sensible defaults for molecular cheminformatics. It covers SMILES, SELFIES and InChI conversion, structure standardization, descriptors, fingerprints, clustering, scaffold and fragment analysis, 3D conformers, visualization and chemical reactions. All molecules are native rdkit.Chem.Mol objects, so RDKit tools remain usable.
This skill tells an AI assistant how to use datamol 0.13.0 in standard workflows. It documents batch processing with an n_jobs parameter, file reading and writing for SDF, CSV and Excel, and cloud paths via fsspec. It also advises recording standardization choices, keeping failed records, and using RDKit directly for advanced control. It is aimed at chemists and drug discovery researchers working in Python.
Written from the project's SKILL.md and checked against it.
What it can do
- Molecule conversionConverts SMILES, SELFIES and InChI into RDKit molecule objects.
- StandardizationStandardizes and sanitizes molecules, with options for metals, neutralization and reionization.
- Descriptors and fingerprintsComputes molecular descriptors and fingerprints such as ECFP and MACCS.
- Clustering and diversityClusters molecules by similarity and picks diverse subsets.
- Scaffold analysisExtracts Bemis-Murcko scaffolds and supports scaffold-disjoint splits.
- 3D conformersGenerates, clusters and analyzes 3D conformers and computes SASA.
- File input and outputReads and writes SDF, SMILES, CSV and Excel files, including cloud paths.
- Chemical reactionsApplies reaction SMARTS to one molecule or a whole library.
- VisualizationRenders molecule grids, SVG images and substructure alignments.
- Parallel processingUses an n_jobs parameter to run many batch operations across CPU cores.
What you need
- Python 3.11 or newer
- datamol 0.13.0
- RDKit 2024.09 or newer
- Network access for installation
- Selected provider credentials for remote file access
Try asking
- Standardize these SMILES with datamol and keep the original IDs for failures
- Compute ECFP4 fingerprints and find the nearest neighbours of a query molecule
- Split my compound library into scaffold-disjoint train and test sets
Good to know
- Remote authorization and writes were not tested in the source.
- Butina clustering stores O(N²) pairwise distances, so large sets need a size limit.
- Parallel descriptor batches need a positive batch_size, since the default None raises.
- Standardization is not guaranteed to repair invalid chemistry and is task-specific.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/datamol/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md11 KB -
references/conformers_module.md4 KB -
references/core_api.md5 KB -
references/core_workflows.md9 KB -
references/descriptors_viz.md5 KB
Show all 10 files
-
references/fragments_scaffolds.md4 KB -
references/io_module.md4 KB -
references/reactions_data.md4 KB -
references/review.md3 KB -
references/workflow_patterns.md5 KB
Alternatives to datamol
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
datamol: common questions
Does datamol return RDKit molecules?
Yes. All molecular objects are native rdkit.Chem.Mol instances, so they work with the RDKit ecosystem.
Does datamol support parallel processing?
Yes. Many batch functions accept an n_jobs parameter, where -1 uses all available CPU cores.
Can datamol read files from cloud storage?
Datamol supports cloud paths via fsspec, and S3 and GCS dependencies are included in 0.13.0. Remote authorization was not tested in the source.
How do I install datamol?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is datamol free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is datamol safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to datamol?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
