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
npx -y skills add ma-compbio-lab/SkillFoundry --skill deepchem-molgraph-featurizationAssembled 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_idandsmilescolumns.
Outputs
- A JSON summary with graph dimensions for each molecule.
Requirements
slurm/envs/chemtools- DeepChem and RDKit in that prefix
Procedure
- 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. - Inspect node counts, edge counts, and feature dimensions.
- 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
torchortensorflow. - Invalid SMILES: correct the input row before featurization.
Provenance
- DeepChem documentation: https://deepchem.readthedocs.io/en/latest/
Related skills
rdkit-molecular-descriptors
What ships with it: 9 files
5.6 KB alongside SKILL.md, 2 of them executable
assets/
- README.md91 B
examples/
- molecules.tsv69 B
- README.md72 B
scripts/
- featurize_molecules.pyruns1.6 KB
tests/
- README.md111 B
- test_featurize_molecules.pyruns1.5 KB
- metadata.yaml1.1 KB
- README.md986 B
- refs.md83 B