rdkit-repr

Compute RDKit molecular descriptors and fingerprints from SMILES data.

124|25|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/jinzhezenggroup/computational-chemistry-agent-skills --skill rdkit-repr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rdkit-repr
Source: https://github.com/jinzhezenggroup/computational-chemistry-agent-skills/tree/main/molecular-representation/rdkit-repr
Command: npx skills add https://github.com/jinzhezenggroup/computational-chemistry-agent-skills --skill rdkit-repr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdkit, pandas, numpy, and includes scripts (resource) components.

What problem does it solve?

RDKit descriptor and fingerprint computations from SMILES datasets can be error-prone and time-consuming when done ad-hoc. This Skill provides a standardized CLI wrapper to compute RDKit descriptors and fingerprints, handle invalid SMILES, and output results for ML pipelines.

Core Features & Use Cases

  • Compute RDKit descriptors (Lipinski, physchem, topological, or all) and save as CSV.
  • Compute molecular fingerprints (morgan, rdkit, maccs, etc.) to .npy or .csv, with robust input validation.
  • List available descriptors and presets to quickly explore features for QSAR and ML experiments.
  • Use case: Given a dataset of SMILES, generate descriptor features and fingerprint vectors for model training.

Quick Start

Run uv run <skill_path>/scripts/rdkit_helper.py desc --smiles "CCO" --output data.desc.csv to produce a descriptor CSV.

Frequently Asked Questions about rdkit-repr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute RDKit molecular descriptors from SMILES data for ML workflows?

To compute RDKit molecular descriptors from SMILES data, run the provided CLI script on a CSV or SMI input file, specifying a descriptor preset such as Lipinski or physchem, to generate a CSV file of features for ML workflows.

What molecular fingerprint types can I generate from SMILES strings using RDKit?

You can generate multiple molecular fingerprint types from SMILES strings, including Morgan, RDKit, and MACCS fingerprints, saving the resulting feature vectors as .npy or .csv files for model training.

How are invalid SMILES entries handled during featurization for QSAR modeling?

During featurization for QSAR modeling, the tool performs input validation and logs errors for invalid SMILES entries, ensuring that bad data does not interrupt the descriptor and fingerprint computation process.

Can I calculate molecular descriptors for a single SMILES string or do I need a full dataset?

You can calculate molecular descriptors for a single SMILES string directly from the CLI without a full dataset, allowing you to quickly generate feature vectors for individual chemical structures.

Do I need pandas and numpy installed to compute RDKit fingerprints and descriptors?

Yes, you need pandas and numpy installed alongside rdkit, as these dependencies support the input data processing and the output of numerical fingerprint arrays for machine learning pipelines.

What is the best way to list available RDKit descriptors and presets for feature selection?

The best way to list available RDKit descriptors and presets for feature selection is to use the CLI's built-in listing function, which quickly displays the physchem, topological, and Lipinski options for QSAR experiments.