agentsclimarketplace

Deepchem molgraph featurization

Skill ma-compbio-lab/SkillFoundry/skills/computational-chemistry-and-molecular-simulation/deepchem-molgraph-featurization

Use this skill to featurize SMILES strings into DeepChem molecular graph objects. Prefer it for local graph-based preprocessing before molecular machine-learning experiments.From its SKILL.md

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill deepchem-molgraph-featurization

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • runs commandsInstructs the agent to run 1 command, including `slurm/envs/chemtools/bin/python skills/computational-chemistry-and-molecular-simulation/deepchem-molgraph-featurization/scripts/featurize_molecules.py --input skills/computational-chemistry-and-molecu`.

SKILL.md

1.8 KB, 366 tokens by cl100k_base, as published. Nobody here has run it

Purpose

Create deterministic DeepChem molecular graph features from a small SMILES table using the repo-managed chemtools prefix.

When to use

  • You need a lightweight DeepChem starter without training a model.
  • You want to inspect graph sizes and node-feature dimensions before modeling.

When not to use

  • You need trained DeepChem models requiring TensorFlow or PyTorch.
  • You need dataset download or benchmark automation.

Inputs

  • A TSV file with molecule_id and smiles columns.

Outputs

  • A JSON summary with graph dimensions for each molecule.

Requirements

  • slurm/envs/chemtools
  • DeepChem and RDKit in that prefix

Procedure

  1. Run slurm/envs/chemtools/bin/python skills/computational-chemistry-and-molecular-simulation/deepchem-molgraph-featurization/scripts/featurize_molecules.py --input skills/computational-chemistry-and-molecular-simulation/deepchem-molgraph-featurization/examples/molecules.tsv --out scratch/deepchem/featurization.json.
  2. Inspect node counts, edge counts, and feature dimensions.
  3. Use the feature summary as a preflight step before larger molecular ML runs.

Validation

  • The script exits successfully.
  • Each molecule yields graph metadata.
  • Node and edge counts are positive for valid molecules.

Failure modes and fixes

  • Missing optional ML backends: this skill only requires the featurizer path, not torch or tensorflow.
  • Invalid SMILES: correct the input row before featurization.

Provenance

Related skills

  • rdkit-molecular-descriptors

What ships with it: 9 files

5.6 KB alongside SKILL.md, 2 of them executable

assets/

examples/

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.