Places a small molecule in a binding site and scores how well it fits. Docking is the screening step: it sorts candidates quickly and suggests a binding pose. It is a tab of the Protein module, alongside Peptides.
Docking needs the engines installed once, from Settings → Set up add-ons → Docking engines, or from the button in the tab’s own warning. They go into a folder of their own and change nothing else. Everything else on the tab works without them.
Engines¶
| Engine | Notes |
|---|---|
| QuickVina 2.1 (default) | AutoDock Vina’s scoring function with a faster search |
| AutoDock Vina 1.1.2 | the original |
| QuickVina-W | for a box that covers the whole protein rather than one site |
All three use the same scoring function, so their scores are comparable.
1. Receptor¶
Pick a PDB file, or type a four-character PDB id to fetch one.
The structure is repaired before docking: missing side-chain atoms and missing loops inside a chain are rebuilt, and hydrogens are added at the pH you set. Missing residues at the very start or end of a chain are left off, because a modelled tail has nothing to hold it in place and can fall across the site.
Waters are removed unless you tick Keep waters. Keep them only when you know a particular water bridges the ligand to the protein, because any water left in the site occupies space the ligand would otherwise use.
2. Site¶
The box is the volume the engine searches. Three ways to set it:
A ligand already in the file — the usual choice. The box is drawn around a bound ligand already in the structure, plus the padding. The menu lists the candidates, largest first, with waters and common crystallisation additives filtered out.
Chosen residues — for a structure with nothing bound. Write them as
A:25, A:50.Centre and size I give — three coordinates and three lengths, in ångström.
Show the box reports what you have chosen, and the Box tickbox in the result draws it around the pose.
A box only a little larger than the ligand searches faster and more reliably. A box that covers the whole protein (“blind docking”) needs much more search effort, and QuickVina-W rather than the other two.
3. Ligands¶
Add as many as you like, each as SMILES or a structure file. Any format the rest of the app reads works here: SDF/MOL, MOL2, PDB, XYZ, CDXML, and QM inputs and outputs. They are docked one after another into the same site and ranked against each other. A ligand that cannot be read fails on its own line; the rest of the run still finishes.
A file that carries bond orders (SDF/MOL, MOL2, CDXML) is read as drawn. A file with coordinates only (XYZ, PDB, a QM output) has its bonds worked out from the geometry, which needs the hydrogens to be present — PDB in particular stores no bond orders at all, so without hydrogens a nitrile cannot be told from an amine. A drawing with no 3-D coordinates is given them before docking, and a CDXML page holding several structures contributes its largest.
Starting conformers¶
The engine rotates the bonds it is given and nothing else. Ring shapes, amide bonds and whether a substituent sits axial or equatorial are fixed by the starting structure and are never changed during the search. One starting structure therefore samples one set of ring conformations.
This is why the default is 8 starting conformers. Redocking indinavir into HIV protease (PDB 1HSG), where the answer is known:
| Starting conformers | Best score | Distance from the crystal pose |
|---|---|---|
| 1 | −10.3 | 4.3 Å — wrong pose |
| 8 | −11.9 | 1.0 Å — correct |
The score picks the right one out by itself: the best-scoring conformers are the ones whose rings happen to be right. Lower the number only for a rigid ligand, where there is nothing to vary.
Exhaustiveness is how hard the engine searches each conformer. Raising it costs time proportionally and helps a flexible ligand in a large box; it does not fix the ring problem above, which only more conformers fix.
Results¶
Poses from every starting conformer are pooled and ranked by score. The table lists them per ligand; click one to show it. The viewer draws the receptor, the pose, and the residues within 4.5 Å of it.
Cartoon, Surface and Sticks set how the receptor is drawn. Pose sets how the docked ligand is drawn on its own — sticks, ball and stick, space-filling, or line. Space-filling is the one to reach for when the question is whether the ligand fills the pocket or rattles around in it.
Contacts draws the residues within 4.5 Å in their own colour and labels them by name and number, so the pocket can be read off the picture. Box outlines the volume that was searched. Measure below the viewer gives distances, angles and dihedrals between any atoms you pick, ligand to protein included.
Save poses (SDF) writes the selected ligand’s poses with their scores. Every run also
writes scores.csv and one SDF per ligand into its results folder.
MD of a pose¶
Docking scores a pose against a rigid receptor. MD of the selected pose, under the results, runs a short simulation of that complex in water to see what the score cannot: whether the ligand stays where it was docked, which parts of it move, and how the pocket responds.
The system is built the same way as for Binding FEP: every hydrogen the ligand’s structure implies is added, the receptor is repaired and protonated at the pH set under Receptor, and the complex is solvated in TIP3P with 0.15 M salt. Ligand charges are the instant D4/BCC model by default; RESP (an HF/6-31G* calculation on the ligand, a few minutes) is an option. The water is first equilibrated for 100 ps with the protein and ligand held in place; then everything moves freely for the length you choose (2 ns by default).
| Result | What it tells you |
|---|---|
| Pose stable / shifted / not kept | the ligand’s heavy-atom RMSD from the docked pose, the median over the second half of the run: under 2 Å stable, 2–3 Å shifted, over 3 Å not kept |
| RMSD plot | the same number over time, with the 2 and 3 Å lines |
| Most mobile ligand atoms | which part of the ligand moves (per-atom fluctuation) |
| Pocket residues | per residue within 5 Å: side-chain and backbone fluctuation, how often it touches the ligand, how often it makes a polar (N/O–N/O) contact |
| Waters touching the ligand | how buried the ligand is |
| Viewer | the pocket, ligand and nearby waters through the run; press Play |
The viewer and the exported trajectory hold the same atoms: the pocket residues, the ligand, and the water molecules that sat within 6 Å of the pose when production started, followed for the whole run — so a water that leaves is visible leaving. Water is drawn as a molecule, by element. Measure under the viewer gives distances, angles and dihedrals in the frame on screen, as in every other viewer in the app: pause the animation, pick the atoms, read the value.
⭳ Trajectory downloads that subset as a multi-model PDB, one model per 10 ps, which opens in VMD, PyMOL or ChimeraX. ⭳ Last frame downloads the final frame of the whole system, water box and all, which is what you would restart a longer run from.
The RMSD is measured after superposing the pocket backbone, and it allows for the ligand’s own symmetry, so a ring that flips 180° is not counted as movement.
A pose that stays is consistent with the docking, not proof of it: a few nanoseconds cannot show slow rearrangements, and a wrong pose can be stable too. A pose that leaves in a short run, however, is a strong reason to doubt it. On a large protein the run takes a while: about 1.5 hours for 2 ns of a 210,000-atom complex on a Mac GPU, much less for a small protein.
Files: pose_md.json, pocket_residues.csv, pose_md_trajectory.pdb,
pose_md_last_frame.pdb and pose_md_viewer.pdb in a pose_md run folder.
What docking does not do¶
The protein is rigid. A site that has to open to admit the ligand will not open.
No water is treated explicitly, so a ligand that binds through a bridging water is scored without it.
Protonation is assigned once, at the pH you give, and does not respond to the site.
Scores from different receptors, or different boxes, should not be compared.