Medical Research Skills for Claude Code, Codex, Cursor & Copilot
58 open-source skills for the full medical research lifecycle. Built by physicians, tested on real publications.
TxGNN drug repurposing reports for 749 medicines listed on the PBS Schedule (Australia), with evidence levels L1–L5 from clinical trials and literature.
HealthPython · ShellGitHub @yao-careOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
AuTxGNN — Drug repurposing prediction and evidence validation platform for TGA-approved medicines in Australia. Developed by 藥提醒科技有限公司 (yao.care)
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗本專案由 藥提醒科技有限公司(yao.care)開發與維運。 AuTxGNN 站台:https://autxgnn.yao.care/|產品總覽:https://www.yao.care/medical/txgnn/
Drug repurposing predictions for medicines on the Australian PBS Schedule using the TxGNN model.
| Item | Count |
|---|---|
| Drug Reports | 749 |
| Total Predictions | 12,729,263 |
| Unique Drugs | 815 |
| Unique Indications | 17,081 |
| DDI Data | 160,235 |
| FHIR Resources | 749 MK / 3,414 CUD |
| Evidence Level | Report Count | Description |
|---|---|---|
| L1 | 10 | Multiple Phase 3 RCTs |
| L2 | 31 | Single RCT or multiple Phase 2 |
| L3 | 21 | Observational studies |
| L4 | 45 | Preclinical / mechanistic studies |
| L5 | 484 | Computational prediction only |
| N/A | 158 | Known uses only (no new prediction) |
| Source | Predictions |
|---|---|
| KG | 11,035,103 |
| KG + DL | 1,399,463 |
| DL | 294,697 |
| Confidence | Predictions |
|---|---|
| very_high | 69,426 |
| high | 1,349,432 |
| medium | 11,083,462 |
| low | 226,943 |
| Method | Speed | Accuracy | Requirements |
|---|---|---|---|
| Knowledge Graph | Fast (seconds) | Lower | No special requirements |
| Deep Learning | Slow (hours) | Higher | Conda + PyTorch + DGL |
uv run python scripts/run_kg_prediction.py
| Metric | Value |
|---|---|
| PBS Schedule Total Drugs | 1,393 |
| Repurposing Candidates | 12,434,566 |
conda activate txgnn
PYTHONPATH=src python -m autxgnn.predict.txgnn_model
| Metric | Value |
|---|---|
| Total DL Predictions | 1,590,643 |
| Unique Drugs | 815 |
| Unique Indications | 17,081 |
The TxGNN score represents the model's confidence in a drug-disease pair, ranging from 0 to 1.
| Threshold | Meaning |
|---|---|
| >= 0.9 | Very high confidence |
| >= 0.7 | High confidence |
| >= 0.5 | Moderate confidence |
| Threshold | Meaning |
|---|---|
| ≥ 0.9999 | Extremely high confidence, model's most confident predictions |
| ≥ 0.99 | Very high confidence, worth prioritizing for validation |
| ≥ 0.9 | High confidence |
| ≥ 0.5 | Moderate confidence (sigmoid decision boundary) |
| Level | Definition | Clinical Significance |
|---|---|---|
| L1 | Phase 3 RCT or systematic review | Can support clinical use |
| L2 | Phase 2 RCT | Can consider for use |
| L3 | Phase 1 or observational study | Requires further evaluation |
| L4 | Case report or preclinical research | Not recommended yet |
| L5 | Computational prediction only, no clinical evidence | Requires further research |
flowchart TD
A["TxGNN Prediction Results"] --> B
subgraph B["Step 1: DrugBundle Collector"]
B1["Drug-level: PBS, DDI, DrugBank"]
B2["Indication-level: ClinicalTrials, PubMed, ICTRP"]
end
B --> |"drug_bundle.json"| C
subgraph C["Step 2: Evidence Pack Generator"]
C1["Programmatic data transfer (100%)"]
C2["+ LLM Analysis (L1-L5)"]
end
C --> |"drug_evidence_pack.json/md"| D
subgraph D["Step 3: Notes Writer"]
D1["drug_pharmacist_notes.md"]
D2["drug_sponsor_notes.md"]
end
| File | Download |
|---|---|
| PBS Data | PBS Schedule (public API) |
| node.csv | Harvard Dataverse |
| kg.csv | Harvard Dataverse |
| edges.csv | Harvard Dataverse |
| model_ckpt.zip | Google Drive |
uv sync
uv run python scripts/process_fda_data.py
uv run python scripts/prepare_external_data.py
uv run python scripts/run_kg_prediction.py
conda create -n txgnn python=3.11 -y
conda activate txgnn
pip install torch==2.2.2 torchvision==0.17.2
pip install dgl==1.1.3
pip install git+https://github.com/mims-harvard/TxGNN.git
pip install pandas tqdm pyyaml pydantic ogb
conda activate txgnn
PYTHONPATH=src python -m autxgnn.predict.txgnn_model
| Category | Data | Source | Note |
|---|---|---|---|
| Drug Data | PBS Schedule | PBS public API | Australia |
| Knowledge Graph | TxGNN KG | Harvard Dataverse | 17,080 diseases, 7,957 drugs |
| Drug Database | DrugBank | DrugBank | Drug ingredient mapping |
| Drug Interactions | DDInter | DDInter | DDI pairs |
| Drug Interactions | Guide to PHARMACOLOGY | IUPHAR/BPS | Approved-drug target data (not interactions) |
| Clinical Trials | ClinicalTrials.gov | CT.gov API v2 | Clinical trials registry |
| Clinical Trials | WHO ICTRP | ICTRP API | International clinical trials platform |
| Literature | PubMed | NCBI E-utilities | Medical literature search |
| Name Mapping | RxNorm | RxNav API | Drug name standardization bridge |
| Name Mapping |
| File | Download | Note |
|---|---|---|
| Pretrained Model | Google Drive | model_ckpt.zip |
| node.csv | Harvard Dataverse | Node Data |
| kg.csv | Harvard Dataverse | Knowledge Graph Data |
| edges.csv | Harvard Dataverse | Edge Data (DL) |
AuTxGNN/
├── README.md
├── CLAUDE.md
├── pyproject.toml
│
├── config/
│ └── fields.yaml
│
├── data/
│ ├── kg.csv
│ ├── node.csv
│ ├── edges.csv
│ ├── raw/
│ ├── external/
│ ├── processed/
│ │ ├── drug_mapping.csv
│ │ ├── repurposing_candidates.csv
│ │ ├── txgnn_dl_predictions.csv.gz
│ │ └── integration_stats.json
│ ├── bundles/
│ └── collected/
│
├── src/autxgnn/
│ ├── data/
│ │ └── loader.py
│ ├── mapping/
│ │ ├── normalizer.py
│ │ ├── drugbank_mapper.py
│ │ └── disease_mapper.py
│ ├── predict/
│ │ ├── repurposing.py
│ │ └── txgnn_model.py
│ ├── collectors/
│ └── paths.py
│
├── scripts/
│ ├── process_fda_data.py
│ ├── prepare_external_data.py
│ ├── run_kg_prediction.py
│ └── integrate_predictions.py
│
├── docs/
│ ├── _drugs/
│ ├── fhir/
│ │ ├── MedicationKnowledge/
│ │ └── ClinicalUseDefinition/
│ └── smart/
│
├── model_ckpt/
└── tests/
Legend: 🔵 Project development | 🟢 Local data | 🟡 TxGNN data | 🟠 Validation pipeline
flowchart TD
FDA["PBS Data"] --> proc["process_fda_data.py"]
TxGNN["TxGNN Data"] --> prep["prepare_external_data.py"]
proc --> json["au_fda_drugs.json"]
prep --> ext["data/external/"]
json --> norm["normalizer.py"]
ext --> norm
norm --> drug_map["drug_mapping.csv"]
drug_map --> ind_map["indication_mapping.csv"]
ind_map --> KG["Knowledge Graph"]
ind_map --> DL["Deep Learning"]
KG --> kg_out["repurposing_candidates.csv"]
DL --> dl_out["txgnn_dl_predictions.csv"]
If you use this dataset or software, please cite:
@software{autxgnn2026,
author = {Yao.Care},
title = {AuTxGNN: Drug Repurposing Validation Reports for Australia TGA Drugs},
year = 2026,
publisher = {GitHub},
url = {https://github.com/yao-care/AuTxGNN}
}
Also cite the original TxGNN paper:
@article{huang2023txgnn,
title={A foundation model for clinician-centered drug repurposing},
author={Huang, Kexin and Chandak, Payal and Wang, Qianwen and Haber, Shreyas and Zitnik, Marinka},
journal={Nature Medicine},
year={2024},
doi={10.1038/s41591-024-03233-x}
}
git 只放程式碼與網站頁面;許可證原始資料、證據包、藥師報告原稿、預測結果放在本 repo 的 Release。
git clone https://github.com/yao-care/autxgnn.git && cd autxgnn
uv sync # Python 相依套件
bash scripts/restore_data.sh # 取最新的 data-* Release,還原 data/(含校驗)
bash scripts/restore_data.sh --with-kg # 另加共用知識圖譜與預測模型(只有重跑預測才需要)
需要 GitHub CLI(gh auth login)與 uv。
事實層、checker、許可證狀態計算等放在 tools/txgnn/.claude/,是母 repo yao-care/txgnn 的 .claude/ 複本(版本見 tools/txgnn/VERSION)。
規則要改請改母 repo,再用 python3 .claude/sync_site_tools.py AuTxGNN 同步過來,不要直接改這裡的複本。
在本 repo 單獨使用時,先組工作目錄:
WS=$(bash scripts/txgnn_ws.sh)
cd "$WS"
python3 .claude/dump_license_facts_20261021.py AuTxGNN # 依證據包算市場狀態(checker 要用)
python3 .claude/checker_trend.py --no-append AuTxGNN # 全部藥物頁 checker,必須「非 0 0」
.github/workflows/license-refresh.yml 每週一 UTC 03:17 自動執行,也可以在 Actions 頁手動觸發(可選只試跑):
data/(scripts/restore_data.sh)scripts/license_adapter.py),檢查筆數與格式main 並觸發部署;更新後的 data/ 另存成新的 data-YYYYMMDD Release以下情況一律不推、自動開 issue(label license-refresh):下載失敗或格式改變、狀態變動超過兩成、
改到的藥物頁超過 min(200, 5%)、checker/gate/h1 沒過、有人工查核紀錄的頁會被改到。全程不使用 AI。
| PubChem |
| PUG-REST API |
| Chemical substance synonym lookup |
| Name Mapping | ChEMBL | ChEMBL API | Bioactivity database mapping |
| Standards | FHIR R4 | HL7 FHIR | MedicationKnowledge, ClinicalUseDefinition |
| Standards | SMART on FHIR | SMART Health IT | EHR integration, OAuth 2.0 + PKCE |