molfeat
Skill by davila7
Molfeat converts SMILES strings and RDKit molecules into numerical features for machine learning. It offers 100+ fingerprints, descriptors and pretrained embeddings for QSAR and molecular ML.
Install molfeat
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/molfeat ~/.claude/skills/molfeatRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/molfeat ~/.gemini/antigravity-cli/skills/molfeatAntigravity 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
Molfeat is a Python library for molecular featurization. It turns chemical structures, given as SMILES strings or RDKit molecules, into numerical representations for machine learning. The source says it unifies 100+ pre-trained embeddings and hand-crafted featurizers, including ECFP, MACCS, MAP4, RDKit 2D descriptors, Mordred and ChemBERTa.
Featurizers are organized into calculators for single molecules, scikit-learn compatible transformers for batch work with parallel processing, and pretrained transformers for deep learning models. The skill covers QSAR modeling, virtual screening, similarity searching and scikit-learn pipelines. It is aimed at people doing molecular machine learning and cheminformatics. Configurations can be saved to YAML for reproducibility, and the ModelStore can search available featurizers.
Written from the project's SKILL.md and checked against it.
What it can do
- Fingerprint featurizationConverts SMILES into fingerprints such as ECFP, MACCS, FCFP and MAP4 using FPCalculator.
- Descriptor calculationComputes RDKit 2D descriptors and Mordred descriptors for interpretable models.
- Pretrained embeddingsGenerates deep learning embeddings from models such as ChemBERTa-77M-MLM and GIN variants.
- Batch transformationFeaturizes molecular datasets in parallel with scikit-learn compatible transformers.
- Similarity searchingComputes fingerprint similarity to find structurally similar molecules.
- Pipeline integrationPlugs featurizers into scikit-learn pipelines for QSAR and virtual screening.
- Configuration savingSaves and reloads featurizer settings with YAML state files.
- Featurizer discoverySearches available featurizers and loads them through the ModelStore.
What you need
- Python
- uv pip install for the install commands shown
- Optional extras such as molfeat[transformer], molfeat[dgl] or molfeat[map4] for specific featurizers
Try asking
- Convert these SMILES strings to ECFP fingerprints with molfeat
- Compute RDKit 2D descriptors for my compound list
- Find the 10 molecules most similar to this query SMILES
Good to know
- Some featurizers need optional extras installed separately
- The first run of pretrained models is slow, per the source
- With ignore_errors=True, failed molecules return None
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/molfeat/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/api_reference.md11 KB -
references/available_featurizers.md10 KB -
references/examples.md17 KB
Alternatives to molfeat
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
molfeat: common questions
What is molfeat used for?
The source describes it for QSAR and QSPR models, virtual screening, similarity searching, chemical space analysis and deep learning on molecular data.
Which featurizers does molfeat include?
The source lists ECFP, MACCS, MAP4, RDKit 2D descriptors, Mordred, CATS, USR/USRCAT and pretrained models such as ChemBERTa and GIN.
Does molfeat work with scikit-learn?
Yes. The source says its transformers are scikit-learn compatible and can be used in Pipeline objects.
How do I install molfeat?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is molfeat free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is molfeat 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 molfeat?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
