deepchem

Convert chemical structures into DeepChem datasets and train ML models for property prediction.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill deepchem-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepchem
Source: https://github.com/shushuzn/Rairos/tree/main/skills/deepchem
Command: npx skills add https://github.com/shushuzn/Rairos --skill deepchem-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

DeepChem helps you turn molecular structures and sequences into machine-learning datasets, then train models to predict chemical or biological properties without building every preprocessing step from scratch.

Core Features & Use Cases

  • Molecular data loading: Ingest SMILES, SDF structures, and FASTA sequences via purpose-built loaders.
  • Featurization for every approach: Generate fingerprint, descriptor, graph, and sequence representations (e.g., ECFP/RDKit descriptors, graph features for GNNs, and transformer-ready raw inputs).
  • Leakage-aware dataset splitting: Use scaffold-based splitting to reduce data leakage in drug discovery-style experiments.
  • Model training and evaluation: Train classical ML baselines and DeepChem neural models, then evaluate with standard classification/regression metrics.
  • Transfer learning with pretrained models: Fine-tune ChemBERTa, GROVER, and MolFormer on small datasets with task-appropriate featurization.
  • Benchmark workflows (MoleculeNet): Run standardized experiments across common property prediction datasets (e.g., Tox21, BBBP, Delaney).

Quick Start

Train a graph neural network for molecular property prediction using the MoleculeNet Tox21 dataset and a GCN model by running: python scripts/graph_neural_network.py --dataset tox21 --model gcn

Frequently Asked Questions about deepchem

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

FAQPage Schema
How do I train a graph neural network for molecule property prediction?

Molecule property prediction with DeepChem involves converting SMILES or SDF structures into datasets, applying graph featurizers, and training GNN models using standard MoleculeNet benchmark datasets.

What is scaffold splitting and why is it needed for molecular benchmarks?

Scaffold splitting is a leakage-aware dataset partitioning method that separates molecules by their structural backbones. It reduces data leakage in drug discovery experiments by ensuring chemically similar molecules stay in the same dataset split.

How do I predict ADMET or toxicity properties from SMILES strings?

Predicting ADMET and toxicity properties from SMILES requires using DeepChem loaders to ingest structures, applying featurizers like ECFP or graph representations, and training neural models on MoleculeNet datasets.

Can I use transfer learning with pretrained models like ChemBERTa on small molecular datasets?

Yes, you can apply transfer learning on small molecular datasets by fine-tuning HuggingFace-pretrained pipelines like ChemBERTa and GROVER. These models use task-appropriate featurization to improve property prediction accuracy with limited data.

What molecular featurization methods are available for converting chemical structures into machine learning inputs?

Available molecular featurization methods include ECFP and RDKit descriptors for fingerprints, graph features for graph neural networks, and transformer-ready raw inputs for sequence-based models. These convert SMILES, SDF, and FASTA formats into ML-ready representations.

Do I need to manually preprocess data to run MoleculeNet benchmark experiments?

No, you do not need to manually preprocess data for MoleculeNet benchmark experiments. DeepChem provides purpose-built loaders that automatically ingest chemical structures and apply scaffold-aware splitting for standardized property prediction workflows.