# PTP1B Allosteric Discovery — AI Research Reproduction & 3D Molecular Laboratory

A structural comparison of three PTP1B crystal structures (5K9W, 5K9V, 1T49), with independent verification, a provenance record, and a walkable offline laboratory built from the results. The research package stands on its own; the 3D laboratory is a presentation of it.

## Result in brief

- **Two loop positions.** After a rigid fit on 267 Cα atoms (residues 2–280 excluding 176–187), the 176–187 loop window differs by 3.14 Å Cα RMSD between 5K9V and 5K9W and by 2.98 Å between 1T49 and 5K9W, but only 0.33 Å between 1T49 and 5K9V. Asp181 Cα moves 5.58 Å between 5K9V and 5K9W. Including the loop in the fit changes these by 0.1 Å or less.
- **α7 cannot be compared.** It has coordinates only in 5K9W. Its absence from the other two entries is missing data, not an observed movement.
- **The inhibitor site.** Ligand 892 in 1T49 has 12 residues within 4.0 Å (on α3 and α6), sits 20.8 Å from Cys215 Sγ, and coincides with the position of Trp291 and neighbouring α7 residues in 5K9W.
- **A confound.** Both open loops lie at crystal-lattice contacts; the closed 5K9W loop does not. Apo 1SUG is closed. Ligand state and crystal environment cannot be separated with these entries.
- **The Tetra-1 prediction claim was not reproduced.** No prediction files accompany the case study and no structure-prediction backend was available. The crystal reference distances it cites (12.3 Å, 8.3 Å) are reproduced as Asp181 Cα–Cys215 Cα distances (12.32 Å for 1T49, 8.30 Å for 1SUG).

`hypotheses.md` separates experimental observation, computed measurement, published mechanism and new hypothesis. `limitations.md` lists what is unresolved.

## Layout

| Path | Contents |
|---|---|
| `research_question.md`, `research_plan.md`, `feasibility_report.md` | Question, measurement plan (as staged), feasibility |
| `literature_review.md`, `references.md`, `provenance/references.json`, `provenance/pubmed_records.json` | Literature and how each source was used |
| `data/raw/` | Original mmCIF and legacy PDB files; hashes in `provenance/retrieval.json` |
| `structure_metadata.json`, `structure_mapping.csv`, `source_verification.md` | Entry records, residue mapping, checksums |
| `analysis/` | Executable scripts (`structure_alignment.py`, `allosteric_pockets.py`, `contact_analysis.py`, `review_followup.py`, `make_figures.py`, `write_reports.py`, `build_notebook.py`) |
| `results/`, `processed/` | Result tables and superposed coordinates |
| `figures/` | Nine figures, captions and `figure_manifest.json` (source-table hashes) |
| `research_notebook.ipynb` | Executed notebook |
| `verification_tests.py`, `verification_results.json`, `verification_report.md` | Independent verification |
| `hypotheses.md`, `limitations.md` | Evidence categories and limits |
| `provenance/` | Run log, timeline, review record, retrieval records |
| `research_timeline.md` | Timeline built from recorded events |
| `scene/` | Blender scripts, `.blend`, GLB, Three.js sources, HTML build script, offline laboratory, tests, validation report |
| `independent/`, `sources/`, `provenance/*_replay.json`, `provenance/presentation_edits.json`, `scene/asset_audit.json` | Written outside the main research session by the local technician / verification process. Kept as found. |

## Re-running

From this directory, with Python 3.12, NumPy, SciPy, pandas, Biopython and Matplotlib (`environment.json`):

```
python analysis/structure_alignment.py
python analysis/allosteric_pockets.py
python analysis/contact_analysis.py
python analysis/review_followup.py
python analysis/make_figures.py
python verification_tests.py --rerun
python analysis/write_reports.py
python analysis/build_notebook.py
python scene/build_html.py
```

`review_followup.py` and `contact_analysis.py` use `sources/case/1SUG.cif` when present. The Blender room is rebuilt by running `scene/blender/build_lab.py` then `scene/blender/export_lab.py` inside Blender with `OUT_DIR` set to `scene/`.

## Status against the success criteria

| Criterion | Status |
|---|---|
| Authentic experimental structures retrieved and documented | Met |
| Structural comparisons by executable methods | Met |
| At least one substantive result independently checked | Met (RMSD reproduced to 1e-7 Å by a separate parser and algorithm; ligand neighbourhood and buried surface recomputed) |
| Claims separated from hypotheses | Met (`hypotheses.md`, `verification_report.md`) |
| Research process preserved with provenance | Met (`provenance/`, `research_timeline.md`, failed attempts included) |
| Exportable reproducible package | Use the native Open Science session package for the full conversation, activity, artifacts and review. The ZIP carries the standalone research files. |
| Functional interactive 3D laboratory | The separate browser test rendered the Blender room and opened all seven stations offline. See `provenance/offline_browser_validation.json`. |
| 3D presentation reflects the supported findings | Content is read from the result files at build time; statements carry the same caveats as the reports |
| Open Science Reviewer | The platform schedules its formal Reviewer after the research turn. The Open Science Review panel records its outcome. The in-turn critique below used Fable 5.2. |
| Structure-prediction experiment | **Skipped** (no backend) |
