Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pytdc

Skill by davila7

Teaches the assistant to use PyTDC, the Therapeutics Data Commons package, to load drug discovery datasets, data splits, benchmark groups and molecular oracles. Aimed at researchers doing therapeutic machine learning and pharmacological prediction.

  • Score 94
  • 35k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pytdc

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/pytdc ~/.claude/skills/pytdc

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pytdc in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

PyTDC is a Python package for the Therapeutics Data Commons platform, which provides AI-ready datasets and benchmarks for drug discovery and development. The source groups its datasets into single-instance prediction (molecular and protein properties), multi-instance prediction (drug-target and drug-drug interactions), and generation (molecule generation and retrosynthesis). Each task comes with standardized evaluation metrics and data splits.

The skill shows the assistant how to load a dataset with a task class such as ADME, Tox, DTI or MolGen, then call get_split with methods such as scaffold, random or cold splits. It also covers the ADMET benchmark group, which includes 22 datasets and a five-seed evaluation protocol, and molecular oracles for scoring generated molecules. It is intended for researchers and engineers working on therapeutic machine learning and pharmacological prediction.

Written from the project's SKILL.md and checked against it.

What it can do

  • Single-instance datasetsLoads ADME and toxicity datasets such as Caco2_Wang and hERG, plus HTS and QM data.
  • Multi-instance datasetsLoads drug-target (DTI) and drug-drug interaction (DDI) datasets.
  • Generation datasetsLoads MolGen, RetroSyn and PairMolGen datasets for generation tasks.
  • Data splitsCreates random, scaffold, cold drug, cold target and temporal splits.
  • Benchmark groupsRuns the ADMET benchmark group with the five-seed evaluation protocol.
  • Evaluation metricsScores predictions with metrics such as ROC-AUC, RMSE, MAE and Spearman.
  • Molecular oraclesScores SMILES strings with oracle functions such as GSK3B and DRD2.
  • Molecule conversionConverts molecules between formats such as SMILES, SELFIES and PyG.
  • Dataset lookupLists available dataset names for a task with retrieve_dataset_names.
  • Database queriesConverts PubChem CIDs to SMILES and UniProt IDs to amino acid sequences.

What you need

  • Python with pip or uv to install PyTDC
  • Core packages numpy, pandas, tqdm, seaborn, scikit_learn and fuzzywuzzy, installed automatically

Try asking

  • Load the Caco2_Wang ADME dataset with a scaffold split.
  • Set up the ADMET benchmark group and evaluate my predictions with five seeds.
  • Score these SMILES strings with the GSK3B oracle.

Good to know

  • Model training is left to the user. PyTDC provides data, splits and evaluation.
  • The ADMET benchmark group expects evaluation across five seeds.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/pytdc/SKILL.md, cli-tool/components/skills/scientific/pytdc/scripts/benchmark_evaluation.py, cli-tool/components/skills/scientific/pytdc/scripts/load_and_split_data.py, cli-tool/components/skills/scientific/pytdc/scripts/molecular_generation.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/datasets.md9 KB
  • references/oracles.md10 KB
  • references/utilities.md16 KB
  • scripts/benchmark_evaluation.py9 KB
Show all 7 files
  • scripts/load_and_split_data.py6 KB
  • scripts/molecular_generation.py11 KB

Alternatives to pytdc

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

pytdc: common questions

What kinds of datasets does PyTDC cover?

The source lists ADME, toxicity, HTS, QM, drug-target and drug-drug interaction, and generation datasets. They are grouped into single-instance, multi-instance and generation tasks.

Does PyTDC train models for me?

No. The source says the user implements model training, while PyTDC supplies the datasets, splits and evaluation metrics.

Which split methods are available?

The source lists random, scaffold, cold_drug, cold_target, cold_drug_target and temporal splits.

How do I install pytdc?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pytdc free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pytdc 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 pytdc?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

Add to stack

Loading.