# Geometry and sampling

## Deposited endpoints

The registered case contains bovine trypsin and benzamidine (BEN). The initial and final GRO files belong to the same preparation. Each is matched against the deposited size, MD5 and independently recorded SHA-256 before parsing. The ordered residue number, residue name, atom name and atom serial must agree across the two coordinate sets. Both endpoints contain 35,056 atoms. The registered fit uses 223 protein Cα atoms and carries its rotation and translation onto the nine named ligand heavy atoms. Coordinates and distances use nm.

For residue *r*, compute the smallest periodic heavy-atom distance between any atom in *r* and any ligand heavy atom. The test is inclusive at 0.40 nm with a small numerical tolerance. Record the two identities that produced each minimum. A gained contact is outside the initial bound and inside the final bound. The closest ligand atom can change between states. For Ser195, the two minima involve different ligand carbons. The atom ruler lets the reader hold both atom IDs fixed. [Endpoint contact table and atom map](../examples/3ptb/report.html)

Minimum-image displacements use the orthorhombic box of the respective GRO frame. Box checks reject unsupported geometries. Protein alignment uses a proper, equal-weight least-squares rotation. A reference pocket fit uses the residues selected in the initial structure for both states. The fitted translations and rotations describe pose in a common protein frame. Internal ligand distances and periodic contacts use their original coordinate geometry.

## Contact and conformation tools

The residue ledger supplies all 223 distances on both sides of the cutoff. The sweep recalculates gains, losses and persistent contacts as the threshold changes. The distance map compares all 210 unique Cα pairs in the registered 21-residue reference pocket. Ligand geometry reports named-atom, centroid and symmetry-aware differences. The registered ligand graph permits four name mappings for its symmetry comparison. Covalent angle and torsion measurements require the matching TPR. A signed dihedral difference uses the shorter circular displacement and returns an undefined measurement for a degenerate plane.

Hydrogen-bond candidates use the verified topology to identify donor–hydrogen bonds. The viewer applies distance and donor–hydrogen–acceptor angle thresholds to oriented triples. Water paths compare two minimum-image distances through one named water oxygen between a ligand N/O and a protein N/O. Each endpoint screened 10,590 water oxygens. At 0.40 nm, seven qualifying atom paths passed through one water in each structure. The table exposes both legs so that one water is counted once even when several protein atoms qualify. A count of such paths measures geometric proximity.

## Validated series

The general GRO, XTC and TRR reader checks topology provenance, frame identity and ordering, box geometry, finite coordinates, selected atoms and consistent time information. Store frame windows as zero-based half-open ranges. At least three retained frames are required for the general time-series analysis. Contact occupancy is the contact-frame count over all retained frames. Time intervals, entries, exits and dwell summaries refer to observed saved frames. Cα RMSF is the population root-mean-square displacement about the mean fitted position. Each frame uses the protein fit before evaluating the ligand.

The six generated series have known motions and independently controllable sampling. The replica comparison additionally requires compatible atom selections, evidence kind, source identities, units and time grid. It reports each run’s numerator and denominator before aggregating variation. Its three supplied replicas have explicitly separate seeds.

## Recorded tutorial trajectory

The pinned ProLIF release supplies a matched PDB and XTC pair. The PDB and first frame agree in atom order and coordinate geometry. Every frame passes box, finite-coordinate, covalent-bond and periodic fragment checks. Measurements use 302 Cα atoms for the fit, 2,443 protein heavy atoms for residue contacts, and 43 named ligand heavy atoms. For each residue in each frame, the minimum is measured in the frame’s periodic box. The ligand follows the protein transformation for pose analysis.

Two source clock resets define three contiguous segments containing 84, 83 and 83 observations. RMSF, occupancy, principal components and contact-state clustering are estimated within those segments. Ligand PCA centers the ordered, protein-fitted ligand coordinates and reports explained variance and two projected scores. Contact-state representatives are actual saved frames selected by deterministic medoid clustering on Jaccard distances between 0.40 nm residue-contact sets. A cluster or PCA axis belongs to its own segment. The block and stride tools retain the source-frame indices and denominator of every displayed fraction. [Trajectory report](../examples/public-trajectory/report.html) · [ProLIF source case](../cases/prolif/source.json)

## Independent checks

The enzyme contact map covers every unordered Cα pair at least four sequence positions apart. Independent vector differences and MDAnalysis distance arrays check all 2,171,190 frame–pair measurements. The endpoint map bins the signed final-minus-initial differences in blocks of eight residues. In each reference contact curve, its own saved frame defines the pairs within 0.80 nm. A retained pair is within 1.20 times that pair’s reference distance. The TSV keeps the two denominators and per-frame numerators. [Download the distances and contact curves](../web/downloads/domain-contact-map.zip)

The adenylate kinase DIMS case uses 98 whole-molecule, nonperiodic frames. The PSF, two PDB structures and DCD pass source digest checks. Every reference atom must match the PSF name, residue and ordering. All 3,365 covalent bonds must remain within the registered continuity range in every frame. One fit of the 855 backbone atoms to frame zero supplies the transformation for CORE, LID and NMP. Distances to the independent closed and open references each receive a fresh backbone fit. The opening angle has its vertex at the CORE Cα centroid. Independent QCP calculations check all four per-frame RMSDs. Independent vector geometry checks the 98 angles and 98 LID–NMP distances. This biased path supports comparisons of observed geometry. [Original study](https://doi.org/10.1016/j.jmb.2009.09.009) · [Domain report](../examples/adk/report.html)

MDAnalysis recomputes all 446 nearest endpoint residue–ligand pairs. GROMACS checks the changing Ser195 contact with explicit atom selections. Separate implementations check the polar triples, ligand angles, torsions and water paths. On the public trajectory, MDAnalysis distance arrays check 75,500 distances, QCP checks 250 fitted ligand RMSDs and independent reductions check 906 occupancies, segment RMSF and the leading covariance spectrum. The records preserve the maxima and denominators. [Endpoint evidence](../web/downloads/3ptb-endpoints.zip) · [Trajectory evidence](../web/downloads/public-trajectory.zip)
