Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/datamol

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install datamol in Claude Code

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

A

No 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 →

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.

datamol Install

Add to stack

Loading.