Skip to content

Five redocking controls, and the two that failed

dock shipped with one validation case: sorafenib back into VEGFR-2 (PDB 4ASD) at 0.78 Å. One case, chosen because it worked, is not a validation — it is an anecdote. This page runs five, on purpose including targets where redocking is known to be harder, and reports what broke.

Run on 2026-11-29 with dock 0.8.0 plus the three fixes this page produced, on an AMD Ryzen 5 PRO 4650U (6 cores, 12 threads, 30 GB). Vina 1.2.5, exhaustiveness 16, seed 42, 12 threads, 9 poses, box from the crystal ligand with 5 Å padding — the dock validate defaults. Every number below is measured here unless a source is given.

  • Three of the five targets could not be run at all before this page. Two crashed in receptor preparation on a single incomplete residue; one was refused because the SMILES the PDB itself publishes for the ligand has an explicit hydrogen in it. None of the three failures was a docking result: they were defects in dock, found only by running something other than the case it was built on.
  • After the fixes, four of five redocks pass: 0.42 Å (3PTB), 0.60 Å (1STP), 1.41 Å (3ERT), 0.68 Å (4ASD). All four put a correct pose at rank 1 or 2.
  • The fifth fails at 7.76 Å, and the failure is instructive. Thrombin with NAPAP (1DWD) docked from the deposited neutral SMILES puts its top-scoring pose outside the S1 pocket. Protonating the benzamidine — one character of SMILES, [NH2+] — moves it to 1.68 Å with the published binding mode. The neutral run scored better (−10.28 vs −10.04 kcal/mol) while being wrong.
  • So the thing to check first, when a redock fails, is the ligand’s charge state, not the search settings. dock docks the ligand exactly as the SMILES describes it; the warning in the tool docs now has a measured case behind it.
  • The 4ASD figure moved from 0.78 Å to 0.68 Å with nothing changed but the thread count (6 → 12). That is Vina splitting its seeded RNG across threads, which is why dock records the thread count alongside the seed.
PDB Target Ligand Heavy atoms Rotatable RMSD, pose 1 Best pose Top score Time
3PTB Trypsin benzamidine (BEN) 9 1 0.42 Å 0.40 Å (rank 2) −6.01 9 s
1STP Streptavidin biotin (BTN) 16 5 0.60 Å 0.60 Å (rank 1) −7.43 13 s
3ERT Estrogen receptor α 4-hydroxytamoxifen (OHT) 29 9 1.41 Å 1.35 Å (rank 2) −9.71 28 s
4ASD VEGFR-2 sorafenib (BAX) 32 5 0.68 Å 0.68 Å (rank 1) −11.38 30 s
1DWD Thrombin NAPAP (MID) 37 9 7.76 Å ✗ 1.72 Å (rank 2) −10.28 70 s
1DWD Thrombin, ligand protonated NAPAP, amidinium 37 9 1.68 Å 1.68 Å (rank 1) −10.04 95 s

Scores are Vina’s, in kcal/mol. They are not binding free energies and the column is not ordered by anything meaningful — a bigger ligand scores lower, which is most of what that column shows.

What broke, and what it says about the tool

Section titled “What broke, and what it says about the tool”

A single incomplete residue killed the whole structure

Section titled “A single incomplete residue killed the whole structure”

3ERT and 1DWD both ended in a Python traceback whose last line was a bare RuntimeError — no reason, no residue, nothing to act on. The reason was in receptor.log, which pdb2pqr writes and nobody reads:

Too few atoms present to reconstruct or cap residue PRO A 552 in structure! … Heavy atoms missing from PRO A 552: C O CB CG CD OXT CA

One residue, at the end of a chain, with only its nitrogen modelled. This is ordinary in deposited structures — the last residue often has partial density — and pdb2pqr’s own advice is to go and complete the backbone with an external program. For a rigid docking receptor that is the wrong trade: a residue with no backbone contributes nothing to the pocket, and the user is being asked to run a loop modeller to delete an atom.

dock now drops amino-acid residues that are missing N, CA or C before protonation, says so on stderr, and records it in results.json under receptor.repairs:

dock: warning: dropped 1 residue(s) with incomplete backbone before protonation: A/PRO552

Recording it is the part that matters. A receptor silently repaired is a receptor nobody can reproduce. And when pdb2pqr fails for some other reason, the error now carries its CRITICAL lines and the path to the log instead of a traceback.

3PTB failed differently: the redock ran, then the RMSD step refused the ligand with

--smiles does not match the deposited ligand atom for atom (No matching found)

The SMILES came from the RCSB entry for benzamidine itself: [H]/N=C(\c1ccccc1)/N. That explicit [H] is there to pin the amidine geometry, and it makes the template ten atoms against the crystal ligand’s nine, so the atom-for-atom match fails. The obvious copy-paste — from the page describing the very ligand being redocked — was the one input that could not work.

The fix strips hydrogens from the template before matching, including the ones RDKit keeps because they define double-bond stereochemistry (plain RemoveHs keeps exactly these, which is why the first attempt at this fix did nothing). Both sides of the comparison now go through the same stripping; the pose and the reference have to agree on atom count, and the pose is built from the same SMILES, so it carried the same stray hydrogen.

With those fixed, 1DWD runs and fails honestly. The top-scoring pose is 7.76 Å from the crystal pose, and the near-native pose is right behind it at rank 2, 1.72 Å. Sampling found the answer; scoring ranked it second.

The reason is in the contacts. NAPAP’s benzamidine sits in the S1 pocket as a cation, paired with Asp189. Docked from the deposited SMILES — a neutral amidine — that interaction does not exist to be found, and the top pose instead drifts to Arg97, Glu192 and Cys220, outside S1:

pose 1 contacts (non-vdW)
neutral amidine Arg97 (HB), Gly216 (HB), Glu192, Cys220, Leu99, Trp215
amidinium Asp189 (cationic, 2.92 Å), Asp189 (HB), Gly216 (HB acceptor), Tyr60, Leu99, Trp215

The amidinium run reproduces the published binding mode: the salt bridge to Asp189 in S1, the antiparallel hydrogen bond to Gly216, and the piperidide and naphthalenesulfonyl groups against Tyr60 and Trp215 and Leu99 (Banner & Hadváry 1991, J. Biol. Chem. 266:20085, the structure paper for 1DWD). It also scores 0.24 kcal/mol worse than the wrong answer did. Taking the better number would have meant taking the wrong pose.

Trypsin with plain benzamidine (3PTB) does not care: 0.42 Å neutral, 0.36 Å protonated. With one rotatable bond and a pocket that fits nothing else, there is nowhere else to go. The charge state starts to matter when the ligand is big enough to have alternatives.

The same caveats as the original 4ASD control, and they are not small:

  • The box is placed on the crystal ligand. Every run here was told where to look. A blind run, with the box on a predicted pocket, is a different and much harder test that this page does not attempt.
  • Redocking is self-consistent by construction. The receptor is the conformation that ligand induced. Cross-docking — the ligand into a structure solved with something else bound — is the test that matters for prospective work, and four of the five here would likely be worse.
  • Five targets is still small, and they are all well-behaved soluble proteins with no cofactor in the pocket, no metal coordination, no structural water that has to stay. dock removes waters by construction, which rules out targets where a bridging water is part of the site.
  • One failure in five says nothing about a hit rate. The panel was picked to include hard cases, not sampled from anything.

What it does establish is narrower and worth having: the pipeline reproduces crystallographic poses across four unrelated protein families and ligand sizes from 9 to 37 heavy atoms, it now survives the ordinary defects of deposited structures, and its one failure has a diagnosable cause that the report’s own contact list points at.

Structures come from RCSB; ligand SMILES from the RCSB chemical-component API, except the two protonated variants, which are those SMILES with the amidine written as [NH2+].

curl -sSLO https://files.rcsb.org/download/1DWD.cif
# as deposited: fails at 7.76 A
dock validate --structure 1DWD.cif --ligand-code MID \
--smiles '[H]/N=C(/c1ccc(cc1)C[C@H](C(=O)N2CCCCC2)NC(=O)CNS(=O)(=O)c3ccc4ccccc4c3)\N' \
--out 1dwd
# amidine protonated: 1.68 A, and the Asp189 salt bridge appears
dock validate --structure 1DWD.cif --ligand-code MID \
--smiles 'NC(=[NH2+])c1ccc(C[C@@H](NC(=O)CNS(=O)(=O)c2ccc3ccccc3c2)C(=O)N2CCCCC2)cc1' \
--out 1dwd-cation

Each output directory holds a manifest.json with the exact commands, the pinned tool versions and a replay.sh that repeats the run without going through dock at all.