This module uses the real lock from DK-O, the trypsin pocket (3PTB), at the basic level. The score is AutoDock Vina's scoring function recomputed in your browser; the runs in the notebook come from 100 Vina runs actually carried out in this project.
DK-T · Docking: finding a pose

How do we find the right pose, and how do we know we found it?

Docking does two jobs at once: it searches for how a ligand could sit in a protein pocket, and it gives every attempt a score. Both can go wrong. In this lab you will first place benzamidine in the trypsin pocket by hand, then hand it over to a search, and then use 100 real Vina runs from this project to measure when the search finds the right pose. We know the answer: the crystal structure. The question is whether the program can find it again.

Discoveries: 0 / 5
Experimental bridge

Positive control: a sample with a known answer

Before an assay moves on to unknown samples, a standard with a known answer is run: if the method cannot find it, its results for the unknowns cannot be trusted either. The positive control of docking is redocking. In the crystal structure, where and how the ligand sits has been measured; the ligand is taken out of the structure, given to the program, and we check whether the program can find the same pose again. The usual success criterion is to be closer than 2 Å to the crystal pose.

The standard in this lab is 3PTB: bovine trypsin with benzamidine seated in its pocket (1.70 Å). How tightly benzamidine binds trypsin has also been measured. The values below are independent measurements in ChEMBL.

Measured Ki (six measurements, five papers)
18.4-39 µM
Corresponding ΔG = RT ln Ki (25 °C)
−6.46 to −6.02 kcal/mol
Crystal structure
3PTB, 1.70 Å, R 0.182

In ChEMBL, two papers (1994 and a 2000 paper citing it) list 31 nM for the same pair: about 600 to 1,300 times lower than the other six measurements (ChEMBL flags the 2000 record as a potential duplicate). These two records are marked separately in the plot and were left out of the range; this page does not test which one is right. A difference of three orders of magnitude may suggest a unit mix-up (nM versus µM); only the original paper can show this. Calling a record an outlier is a decision too.

Sources: ChEMBL 34, benzamidine CHEMBL20936 with bovine trypsin CHEMBL3769; documents CHEMBL1135884 (20 µM), CHEMBL1150979 (35 µM), CHEMBL1135460 (18.4 µM, two records), CHEMBL1131451 (39 µM), CHEMBL4725290 (32 µM); 31 nM: CHEMBL1127404, CHEMBL1133610 (potential duplicate). Structure: Marquart et al. 1983, Acta Crystallogr B 39:480. The Ki values on this page are taken from ChEMBL and are provided under the Creative Commons Attribution-ShareAlike 3.0 Unported license (CC BY-SA 3.0); source: Zdrazil B et al. The ChEMBL Database in 2023. Nucleic Acids Res 2024;52(D1):D1180-D1192.

1 · Workshop

Placing the pose by hand: what does the score reward, and what does it punish?

The positively charged amidine end of benzamidine faces the negative carboxylate of Asp189 at the bottom of the pocket; the flat ring squeezes between the two walls of the pocket (residues 190-192 and 214-216), like a key entering a slot; the amidine nitrogens form hydrogen bonds with Asp189, Ser190 and Gly219. The drawing below is a section through the pocket that passes through the ligand's center: the filled region is the protein surface, and the space in between is the pocket itself. The color of the surface shows the nearest atom: sand for carbon, blue for nitrogen, light red for oxygen; the dark red patch is the carboxylate of Asp189. Drag benzamidine with the mouse or your finger, and rotate it with the sliders. For every pose the page computes the Vina score in three dimensions with all pocket atoms, not only those in the drawn plane, and splits it into five terms: two attraction terms (gauss), repulsion (when atoms overlap), hydrophobic contact and hydrogen bonding. In a tight contact the atom spheres overlap a little; even in the crystal pose some pairs overlap by up to 0.5 Å, and the repulsion term is not zero there either. The drawing therefore marks only clashes deeper than 0.5 Å with red lines; the thicker the line, the deeper the clash. Blue dashed lines are hydrogen bonds.

Section
Position (relative to the crystal pose, Å) and orientation

"Go to local minimum" moves and turns the ligand from where it is to the nearest pose that lowers the score; in three dimensions, with six degrees of freedom.

Vina score (kcal/mol)
Distance to the crystal pose, RMSD
Shortest distance between amidine N and Asp189 O
Clashing atom pairs (deeper than 0.5 Å)

"Depth" moves the ligand perpendicular to the drawing plane; the section moves with the ligand. "Turn" rotates it in the drawing plane. Shortcuts: Q turns 5° counterclockwise, E 5° clockwise (15° with Shift); after clicking the drawing, the arrow keys move the ligand.

Push the ligand into a wall: after a shift of only a few Å the score rises above +100 kcal/mol. Even so, the penalty for a single clash is surprisingly small. Vina's repulsion term is a quadratic penalty: if two atom surfaces overlap by 1 Å, the penalty is 0.84 kcal/mol. The Lennard-Jones repulsion of the force fields used in molecular dynamics is inversely proportional to the twelfth power of distance, and as the same clash gets deeper it becomes hundreds of times stiffer. The plot below puts the two curves side by side for a single carbon-carbon pair; the red dashed line is the deepest clash in your pose (the closest contact if there is no clash). The practical consequence of the soft repulsion is this: the search algorithm can try intermediate poses that pass through a wall at a small cost and find the good pose on the other side. In a simulation with a force field the same step makes the energy explode; this is why the minimization in MD-EQ comes before the simulation.

Score: the AutoDock Vina scoring function (Trott and Olson 2010, J Comput Chem 31:455), recomputed on this page with the Vina 1.2 default weights: five terms that depend on the surface distance between atom pairs, an 8 Å cut-off, final score = interaction / (1 + 0.0585 · rotatable bonds). This calculation was compared with Vina 1.2.7 itself in 300 poses with this project's receptor: −5.809 against −5.806 in the crystal pose; in the 105 poses with a negative score the median difference is 0.011 and the largest 0.15 kcal/mol. The ligand is kept rigid (its single rotatable bond at the crystal angle). The Vina score has no electrostatic term; the attraction between the amidine and Asp189 appears only through the hydrogen bond term. Repulsion comparison: AMBER CT-CT Lennard-Jones parameters (Rmin 3.816 Å, ε 0.1094 kcal/mol; Cornell et al. 1995, J Am Chem Soc 117:5179), from σ 0.339967 nm and ε 0.45773 kJ/mol in the GROMACS amber99sb file; the Vina curve uses the same five terms for two hydrophobic carbons, C-C radius sum 3.8 Å.

Open

Can you find the right pose by hand?

Place benzamidine closer than 2 Å to the crystal pose, with a good score.

Start from a pose more than 3 Å from the crystal ("Random" or the sliders); then, by dragging or with the sliders, without the "Crystal pose" button, bring the RMSD below 2 Å and the score below −5 kcal/mol.
Open

What does the score do when you push into a wall?

Bury the ligand in the pocket wall and see where the score goes.

Build a clash deep enough to push the score above +20 kcal/mol; compare the penalty for the deepest pair with Lennard-Jones.
Open

What does a flipped benzamidine lose?

In the same pocket, try a pose with the amidine facing outward.

With the "Flip" button or by yourself, build a pose whose center of mass is close to the crystal but whose amidine is far from Asp189.
2 · Bench

Handing it to a search: jump, improve, accept

Finding it by hand happens once; the program tries thousands of poses for every ligand. The search below applies Vina's idea on a small scale: it starts benzamidine at a random place in a 12 Å box around the pocket, changes the pose a little at every step (jump), slides it to the best nearby pose (improve), and accepts it if the new score is better or if chance allows. Choose the number of steps and the number of repeats; every repeat starts from a different random place. The number of repeats corresponds to exhaustiveness in Vina: Vina also runs that many independent searches and ranks the poses of all runs by score; the length of each run it chooses itself from the size and flexibility of the ligand. The map below is the section from the workshop (side or top), only seen from further away: the dashed line is the edge of the search box. While a repeat runs, the ligand traces its path in red; when it finishes, the best pose it found takes a color: green for the right pose, gold for in the pocket but flipped, gray for somewhere else. The small dots are the centers of the poses the search tried. The search is three-dimensional; poses more than 2 Å from the drawing plane are drawn faded and dashed, because they lie in front of or behind this section and not inside the protein.

Map
Steps per repeat
Number of repeats (exhaustiveness in Vina)

Found closer than 2 Å to the crystal
Best score / its RMSD
Where the results are
TrialStepsRepeatsCloser than 2 ÅBest-scoring poseTime

Teaching model: Monte Carlo and local improvement for a rigid benzamidine; it is not the same as Vina's algorithm. To keep the search fast, an energy grid with 0.375 Å spacing for every atom type is computed in the browser when the page opens (Vina also uses a grid during the search); the score and RMSD of the poses found are exact. The RMSD is symmetry-corrected: flipping the ring or the amidine onto itself counts as the same pose.

Open

When is a search long enough?

Compare a short search with a long one.

With at least 4 repeats, try a setting where at most half of the repeats find the pocket, and a setting where at least nine in ten find it.
3 · Notebook

100 real Vina runs: search depth and its cost

In this project, with the same receptor and ligand, a search was run that did not know the pocket in advance: the box covered the whole protein (50.7 × 45.5 × 55.9 Å). Vina's search depth (exhaustiveness) was set to 1, 2, 4, 8 and 16, each with 20 different seeds; the protocol was written and frozen before the runs. Choose how you define success: does only the top-ranked pose count, or is one of the first few poses enough?

Success criterion

Cheapest setting that meets this
On the map: exhaustiveness
exhaustivenessSuccessFirst pose scoreTime (s)

Reading notes. Most of the failed first poses were in the pocket but flipped: the ring at the bottom of the pocket, the amidine outside (amidine carbon 7.6-9.2 Å from Asp189 CG; 4.0 Å in the right poses, 3.9 Å in the crystal pose); their scores were −4.99 to −4.45, while the right poses scored around −6.1. The rest were 11-26 Å away from the pocket. The times belong to this project's cloud machine (2 cores); compare them only within the grid. In this project's 24 September trial, when the 20 Å box covering the pocket was shifted by 9 Å, 5 of 5 runs succeeded; shifted by 14 Å, 0 did: once the pocket is outside the box, the search cannot find it.

Open

Which setting is enough by your criterion?

Change the criterion and the success you want; does the cheapest setting change?

Change the success criterion, the threshold or the success you want at least once.
4 · Back to the protein

What does redocking prove, and what does it not?

Passing the positive control shows that the method can find this ligand in this pocket. It says nothing about other ligands, another protein structure, or whether the score reflects binding strength.

QuestionIn this project
Does Vina find the crystal pose again?Yes: in the whole-protein box, in 20 of 20 runs with exhaustiveness 8 and 16 (first pose, 2 Å).
Does the crystal pose get the best score?Almost: the crystal pose scores −5.81; −5.93 after Vina's local optimization (0.24 Å shift); the best poses found score −6.12.
Does the score give the measured binding?This page does not test that. ΔG computed from Ki is −6.46 to −6.02 kcal/mol; the crystal pose scores −5.81. Numbers that come out close for a single ligand are not a validation; the relation between score and affinity is in DK-U.
Does it also find it with another trypsin structure (apo or with another ligand)?In DK-O: cross-docking with 20 seeds each into four other bovine structures (2PTN without ligand, 1TNH with another ligand, 2PTC with its inhibitor removed, and trypsinogen 1TGN). In the three mature trypsins the first pose is closer than 2 Å to the 3PTB pose in 20 of 20 runs; in trypsinogen 0/20 (the first poses lie just above the threshold, 2.49-2.65 Å).
Do the water, protonation and box decisions change the result?Box: on this page (notebook, reading notes). Water and protonation: in DK-O, the waters, Asp189 and His57 protonation, zero-occupancy atoms, the Ile16 terminus, ligand protonation and two file errors were combined and tested in 198 distinct preparations and 1,080 runs.
5 · Test yourself

Seven questions

Next steps: DK-O · The real lock: which detail of the lock does the result depend on? (preparation decisions, water and protonation, cross-docking) and DK-U · What does the score rank? (score versus measured binding).

Model and data: the receptor was prepared from 3PTB in this project's 24 September trial (all crystal waters and Ca²⁺ removed; Meeko 0.8.0). Ligand: crystal benzamidinium. The score and the search are computed in the browser; the runs in the notebook were carried out with AutoDock Vina 1.2.7 on this project's cloud machine on 30 September 2026 (DKTGRID, protocol frozen before the runs).

Terms in this module

The definition of each term and the other modules where it appears are in the glossary.