Computational verification pipeline for GTCF-Onc
Project description
GTCF-Onc Computational Verification
Computational verification pipeline for the two oncology witness theorems in "Geometry–Topology Coequal Framework in Oncology (GTCF-Onc): Locating Structural-Blindness and Topological-Sensitivity Gaps in Cancer Structural Biology" (Rajesh Kumar, independent researcher).
This repository implements Section 7 ("Required Computational Verification") of that paper: it computes the geometric functor G and topological functor T for the two witness pairs and tests whether they exhibit Structural Blindness (Theorem 1) and Topological Sensitivity (Theorem 2).
| Theorem | Witness pair | Claim |
|---|---|---|
| 1 — Structural Blindness | KRAS GDP-bound (4OBE) vs KRAS GTP-γS-bound (5VQ6) | G differs (switch I/II rearrangement); T predicted equal |
| 2 — Topological Sensitivity | Telomeric G-quadruplex antiparallel basket (143D) vs parallel propeller (1KF1) | G equal (coarse compactness); T differs (loop connectivity) |
Status of this repository, honestly stated
This repo was built inside a sandboxed agent environment whose network
egress is restricted to a small allow-list of code-hosting domains
(github.com, pypi.org, npmjs.com, etc.) and does not include
files.rcsb.org. That was verified directly: a request to
files.rcsb.org from that sandbox returns HTTP 403 Forbidden.
As a result:
- The full pipeline code is complete, tested, and correct — see
tests/test_pipeline.py(7/7 passing) and the two smoke-test runs described inRESULTS.md. - One real, partial fragment of PDB entry 4OBE (header, full sequence,
full secondary-structure records for both chains, and chain-A backbone
atoms for residues 1–32) was retrieved through a web-fetch tool and is
committed at
data/4OBE/4OBE_partial.pdb. It is real crystallographic data, not synthetic — but it is one nucleotide state only, and it stops mid-structure (before switch II), so it cannot by itself establish or refute Theorem 1. - No coordinate data for 5VQ6, 143D, or 1KF1 was retrievable in that sandboxed session.
- Theorem 1 and Theorem 2 therefore remain conditional, exactly as stated in the paper — this repository does not claim otherwise.
How to complete the verification (takes ~1 minute with normal internet)
pip install -r requirements.txt
python src/fetch_structures.py # downloads 4OBE, 5VQ6, 143D, 1KF1 from RCSB
python src/verify_theorem1.py # full real-data run once files are present
python src/verify_theorem2.py # full real-data run once files are present
Each verify_theorem*.py script auto-detects whether the full structure
files are present under data/<PDB_ID>/<PDB_ID>.pdb. If they are, it runs
the real Section 7 computation (Kabsch RMSD + Vietoris–Rips persistence
diagrams + bottleneck distance) and prints ESTABLISHED / NOT SUPPORTED for
that theorem. If they are not, it falls back to reporting what can
honestly be said from the partial real data plus a clearly-labeled
synthetic smoke test that only demonstrates the code is working correctly
— never presented as evidence for the paper's claims.
Repository layout
data/ PDB coordinate files (only 4OBE_partial.pdb is committed;
run fetch_structures.py to populate the rest)
src/
pdb_utils.py minimal PDB ATOM-record parser
geometry.py G functor: Kabsch RMSD, radius of gyration, diameter, bend angle
topology.py T functor: Vietoris-Rips persistence diagrams, bottleneck distance
fetch_structures.py downloads the four witness structures from RCSB PDB
verify_theorem1.py Structural Blindness verification (KRAS)
verify_theorem2.py Topological Sensitivity verification (G-quadruplex)
tests/
test_pipeline.py unit tests against synthetic ground truth (no network needed)
RESULTS.md exact output of every script run so far, with dates
requirements.txt
LICENSE
Citation
If you use this code, please cite the paper it accompanies:
Kumar, R. Geometry–Topology Coequal Framework in Oncology (GTCF-Onc): Locating Structural-Blindness and Topological-Sensitivity Gaps in Cancer Structural Biology. Preprint, 2026.
License
MIT (see LICENSE). PDB data retrieved via fetch_structures.py is
subject to RCSB PDB's own data usage policies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gtcf_oncology_verification_rj-0.1.2.tar.gz.
File metadata
- Download URL: gtcf_oncology_verification_rj-0.1.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
532d2ae7111041aebdf675e0171b1df82ad88b88a2459209a2c2db14e6c5ad12
|
|
| MD5 |
6b76c206ca1db63414e48cf77c97e5a0
|
|
| BLAKE2b-256 |
98f93acc1359657416cf2e4839f13b3ac355a561fce83de2d128cb4d81083d72
|
Provenance
The following attestation bundles were made for gtcf_oncology_verification_rj-0.1.2.tar.gz:
Publisher:
python-app.yml on rajeshlika79-a11y/gtcf-oncology-verification1
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gtcf_oncology_verification_rj-0.1.2.tar.gz -
Subject digest:
532d2ae7111041aebdf675e0171b1df82ad88b88a2459209a2c2db14e6c5ad12 - Sigstore transparency entry: 2187361073
- Sigstore integration time:
-
Permalink:
rajeshlika79-a11y/gtcf-oncology-verification1@53fb017e5fcd0450fa4099b36ff443c44b0498e0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rajeshlika79-a11y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-app.yml@53fb017e5fcd0450fa4099b36ff443c44b0498e0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gtcf_oncology_verification_rj-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gtcf_oncology_verification_rj-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f814847209d39a59bf5e4747eb006c22b60704d0f79e38beee94655efd5c9b6
|
|
| MD5 |
dbf8b2839cf7d58513e7c0ea2d0823de
|
|
| BLAKE2b-256 |
9ef5b234f0cd8b6ca8ddac29b3d461a5a0de3ef584bced618c018abb9bfd2d60
|
Provenance
The following attestation bundles were made for gtcf_oncology_verification_rj-0.1.2-py3-none-any.whl:
Publisher:
python-app.yml on rajeshlika79-a11y/gtcf-oncology-verification1
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gtcf_oncology_verification_rj-0.1.2-py3-none-any.whl -
Subject digest:
8f814847209d39a59bf5e4747eb006c22b60704d0f79e38beee94655efd5c9b6 - Sigstore transparency entry: 2187361093
- Sigstore integration time:
-
Permalink:
rajeshlika79-a11y/gtcf-oncology-verification1@53fb017e5fcd0450fa4099b36ff443c44b0498e0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rajeshlika79-a11y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-app.yml@53fb017e5fcd0450fa4099b36ff443c44b0498e0 -
Trigger Event:
push
-
Statement type: