pytdc
Skill by K-Dense-AI
Provides PyTDC workflows for Therapeutics Data Commons, covering registry discovery, dataset access, task-aware splits, evaluator metrics, benchmark groups and bounded molecular-oracle scoring. Intended for users working with TDC therapeutic ML datasets or benchmarks.
Install pytdc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/pytdc ~/.claude/skills/pytdcRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/pytdc ~/.gemini/antigravity-cli/skills/pytdcAntigravity 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
This agent skill guides an AI assistant through the official PyTDC package (import tdc) for Therapeutics Data Commons. It covers discovering tasks, datasets, benchmarks and evaluators from package metadata, loading datasets, and applying splits such as random, scaffold, cold_split, combination and time. It also covers evaluator metrics and benchmark group evaluation.
The skill asks for a plan before any download. Loader constructors fetch missing data, so the workflow records the dataset, license, expected size, cache directory, split, metric and seed first, and runs bundled scripts only with an explicit --execute flag. It targets users working with TDC therapeutic ML datasets or benchmarks, and pins PyTDC 1.1.15 on CPython 3.11 with setuptools 80.9.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Registry discoveryLists datasets, benchmarks and evaluators from package metadata without downloading data.
- Dataset loadingLoads TDC datasets through loaders such as ADME, Tox, DDI, DTI and MolGen.
- Task-aware splitsApplies random, scaffold, cold_split, combination and time splits.
- Evaluator metricsComputes metrics such as MAE, ROC-AUC and PCC through the Evaluator class.
- Benchmark groupsLoads benchmark groups, evaluates predictions and aggregates multiple runs with evaluate_many.
- Oracle scoringUses bounded molecular oracles, with checkpoint or docking downloads gated by flags.
What you need
- uv
- CPython 3.11
- PyTDC 1.1.15 and setuptools 80.9.0
- Network access and disk space for dataset and benchmark downloads
- Service or docking dependencies for optional oracles
Try asking
- List TDC ADME datasets without downloading anything
- Plan a scaffold split for Caco2_Wang with seed 42
- Evaluate my predictions with the ROC-AUC metric in PyTDC
Good to know
- Dataset and task licenses vary and must be checked per dataset before download or commercial use.
- Loader constructors download data, so the user must approve scope first.
- PyTDC 1.1.15 has no universal cache quota, eviction policy or dataset-wide checksum manifest.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/pytdc/SKILL.md, skills/pytdc/scripts/_common.py, skills/pytdc/scripts/benchmark_evaluation.py, skills/pytdc/scripts/cache_audit.py, skills/pytdc/scripts/discover_metadata.py, skills/pytdc/scripts/load_and_split_data.py, skills/pytdc/scripts/molecular_generation.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md14 KB -
references/datasets.md10 KB -
references/oracles.md10 KB -
references/sources.md14 KB -
references/utilities.md14 KB
Show all 11 files
-
scripts/_common.py7 KB -
scripts/benchmark_evaluation.py13 KB -
scripts/cache_audit.py4 KB -
scripts/discover_metadata.py5 KB -
scripts/load_and_split_data.py14 KB -
scripts/molecular_generation.py14 KB
Alternatives to pytdc
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
pytdc: common questions
Does this skill download datasets automatically?
No. Discovery reads package metadata only, and loader constructors download data only after the scope is approved. The bundled scripts require --execute to run.
Which Python and PyTDC versions does it target?
It targets CPython 3.11 and PyTDC 1.1.15, with setuptools 80.9.0 pinned for the legacy pkg_resources import.
Are TDC datasets free for commercial use?
The PyTDC code is MIT, but dataset licenses vary from Creative Commons to non-commercial or unspecified. Check each dataset page before commercial use.
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.
