molfeat

Convert SMILES or RDKit molecules into numerical feature vectors for machine learning.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the heavy lifting required to convert chemical structures into numeric features, so you can focus on modeling instead of featurization plumbing.

Core Features & Use Cases

  • Molecular featurization at scale: Convert SMILES strings or RDKit molecules into fixed-length vectors for classical ML and deep learning.
  • Unified catalog of featurizers: Use 100+ calculators including fingerprints (ECFP/MACCS/MAP4), 2D/3D descriptors (RDKit, Mordred), pharmacophore, and shape features.
  • Batched, scikit-learn compatible pipelines: Wrap calculators with parallelized transformers for dataset-wide transformations and pipeline integration.
  • Pretrained molecular embeddings: Generate embeddings from pretrained models like ChemBERTa/ChemGPT and graph-based GNNs for downstream QSAR, ranking, and similarity tasks.
  • Practical workflows: Common use cases include QSAR/QSPR property prediction, virtual screening, similarity search, clustering/chemical space analysis, and training/evaluating ML models.

Quick Start

Featurize a list of SMILES into an ECFP representation using molfeat’s MoleculeTransformer for parallel batch processing.

Frequently Asked Questions about molfeat

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

FAQPage Schema
How do I convert SMILES strings into molecular fingerprints for QSAR modeling?

Converting SMILES strings into molecular fingerprints for QSAR modeling is done by using molfeat's MoleculeTransformer, which transforms chemical structures into fixed-length numerical vectors. It applies scikit-learn compatible batch featurization to support parallel processing across large molecular datasets.

Can I use pretrained molecular embeddings like ChemBERTa for virtual screening?

Yes, you can generate pretrained molecular embeddings like ChemBERTa for virtual screening. The Skill supports extracting embeddings from pretrained models like ChemGPT and graph-based GNNs, providing numerical feature vectors for downstream similarity searching, ranking, and QSAR tasks.

What is the best way to batch featurize large molecular datasets with scikit-learn?

The best way to batch featurize large molecular datasets with scikit-learn is using molfeat's parallelized transformers. These transformers wrap 100+ calculators, including ECFP and Mordred descriptors, enabling dataset-wide transformations that integrate directly into existing scikit-learn pipelines.

Does this molecular featurization approach support 2D and 3D chemical descriptors?

Yes, this molecular featurization approach supports both 2D and 3D chemical descriptors. The unified catalog includes RDKit and Mordred descriptors alongside pharmacophore and shape features, allowing you to convert RDKit molecules into diverse numerical feature vectors for chemical space analysis.

Why do I need to handle errors when converting SMILES to numerical feature vectors?

You need to handle errors when converting SMILES to numerical feature vectors because invalid molecular structures can disrupt batch featurization. The Skill includes built-in error handling and caching to manage invalid inputs gracefully, ensuring machine learning pipelines remain robust across large datasets.