A reproducible workflow that assigns a tumour to its tissue of origin — breast, lung, or colorectal — from its somatic mutation profile alone (no imaging, no histology). 90.0% accuracy under 5-fold stratified cross-validation, on 2,098 TCGA patients.
This is Cancer of Unknown Primary (CUP). Treatment is largely selected by tissue of origin, so these cases are hard to manage and carry poor outcomes. The somatic mutation profile is one signal almost always available. MutaTrace frames tissue-of-origin as a supervised classification problem: mutation profile → tissue label.
Input is the TCGA PanCancer Atlas, pulled from the cBioPortal public API — de-identified whole-exome somatic mutation calls. No simulated data.
Every figure is produced by a numbered script in the repo from this one API — reproducible end-to-end with python scripts/01…08.
Each patient is encoded as a 187-dimensional feature vector from three independent signal sources, then classified with gradient-boosted trees (XGBoost).
Binary mutation status across the top 150 recurrently-mutated genes. Each tissue has a characteristic driver set — the strongest single signal.
Trinucleotide context of each SNV, summarised as the 96-channel substitution spectrum — encodes the mutational process (tobacco, APOBEC, ageing).
129 bp around each driver mutation embedded with DNABERT (768-d), reduced to 20 PCs — local sequence context beyond gene identity.
Stratified 5-fold CV on 2,098 patients. Somatic mutations alone place a tumour to tissue without clinical, imaging, or expression data.
Tissue-of-origin classification is a well-established problem with substantial prior work. MutaTrace makes no novelty claim — its value is a clean, interpretable, fully reproducible end-to-end build on public data, not a new method.
No leakage in the demo. Per-patient probabilities are out-of-fold — each patient scored by a model that never trained on them.
Curated drivers. TTN and MUC16 excluded — long genes that masquerade as drivers by mutation count.
Interpretable by construction. SHAP attributes each call to genes and signatures; GPT-4o writes the rationale.
Real patient tumours. TCGA PanCancer Atlas, de-identified and public — not simulated data.
Three tissues, not thirty-three. A proof of concept; the architecture is class-agnostic and extends to the full TCGA panel.
Mutations only. Adding copy-number, expression, and methylation — plus an independent hold-out cohort — is the path to clinical grade.