Guides / Docking and structure-based design

protein-preparationpdbqtreceptor-structureautodock-vina

Preparing a protein structure for docking, step by step

Pick a ligand-bound structure, remove waters and extra chains, repair missing pocket atoms, add hydrogens at a chosen pH and convert the protein to PDBQT.

Updated 5 min read

Preparing a protein for docking means turning a raw structure file into a single, clean receptor with every pocket atom present, hydrogens placed and protonation states decided. The steps are to choose the right structure, strip what does not belong, repair what is missing, add hydrogens and convert to the PDBQT format that AutoDock Vina reads. Each step is a modelling decision, and the quality of every later docking result depends on them.

Choose the structure before anything else

The first decision is which structure to use, and it matters more than any later step. Prefer an experimental structure in which a ligand similar to yours is bound. Pockets adapt to their ligands, and a structure solved with a related compound shows the pocket in a shape your compound can use. The protein page for a target in Protein Targets links to UniProt, where the cross-references list the available experimental structures and the AlphaFold model.

Check four things in a candidate structure. Resolution, with lower numbers better. Completeness in the pocket, since missing loops near the site are a serious problem. The ligand, since a covalent ligand or a peptide can leave the pocket in an unusual shape. And the biological unit, since some binding sites sit at the interface of two chains and a single chain would be missing half the pocket.

Predicted structures from AlphaFold are useful when no experimental structure exists, with two cautions. Side chains in the pocket may be placed in an apo-like arrangement, and loops with low confidence may be positioned arbitrarily. The guide on AlphaFold structures in drug discovery explains how to read the confidence scores before trusting a pocket.

Strip what the docking program should not see

A deposited structure contains more than the protein. Remove bulk water molecules. Remove buffer components, cryoprotectants and detergents, which appear with three-letter codes such as GOL, EDO or SO4. Remove the crystallised ligand if you intend to dock into its site, but save its coordinates first. They define the box centre and they are the reference for redocking.

Decide about extra chains. If the deposited file holds two copies of the protein that are an artefact of crystal packing, keep one. If the site is formed by two chains together, keep both. Decide about cofactors and metals. A heme, a flavin or a catalytic zinc is part of the receptor if your ligand binds next to it, and it should stay.

Resolve alternate conformations. Some residues are deposited with two side-chain positions, labelled A and B. Keep one, normally the one with higher occupancy. Leaving both creates a residue with duplicated atoms that confuses the typing step. Questions about which waters to retain are treated separately in the guide on water and protonation in docking.

Repair missing atoms and check the sequence

Crystallographers leave out atoms they cannot see. Flexible surface loops and the tips of lysine or glutamate side chains are the usual victims. Far from the pocket this does no harm. In the pocket it does, because an absent side chain leaves a hole that Vina will happily fill with your ligand.

List residues with missing atoms and compare them to the pocket boundary. Rebuild pocket side chains with a modelling tool, or pick another structure where they are resolved. Check for engineered mutations introduced to aid crystallisation, which the deposition record describes. A mutation in the pocket means you are docking into a protein that is not quite the one in the cell.

Add hydrogens and decide protonation states

Deposited structures rarely contain hydrogens. The preparation tool adds them, and in doing so it decides the protonation state of every ionisable residue. Most tools default to a standard pH of 7.4, with aspartate and glutamate deprotonated, lysine and arginine protonated, and histidine in a neutral form with the hydrogen on one of the two ring nitrogens.

That default is wrong often enough to deserve a check. Aspartic proteases such as HIV protease have a catalytic pair of aspartates where one is usually protonated. Histidines in the pocket can carry the hydrogen on either nitrogen, and the choice decides which side can donate and which can accept. Where a known ligand is present, choose the state that makes sense of its observed hydrogen bonds.

Vina scores only heavy atoms but uses polar hydrogens to type donors. Non-polar hydrogens are merged into their carbons during PDBQT conversion. Getting polar hydrogens on the right atoms is therefore the whole point of this step.

Convert to PDBQT and run sanity checks

Tools such as Open Babel or the AutoDock preparation scripts write the PDBQT file. The output adds a partial charge and an AutoDock atom type to each atom. Vina ignores the charges, but it depends on the types.

Before docking anything new, run three checks. Open the file and confirm that the pocket residues are present and that nothing unexpected remains. Count the hydrogens on pocket histidines to confirm the state you intended. Then redock the crystallised ligand and compare the pose with the crystal coordinates, as described in the guide on redocking and validation. A heavy-atom RMSD under 2 Å is the usual sign that the receptor is ready.

A worked example with EGFR kinase

Take the EGFR kinase domain bound to erlotinib, PDB identifier 1M17. The file holds one protein chain, the ligand, waters and a few small additives. Keep the chain. Save the erlotinib coordinates as the reference. Remove waters and additives. Check that the glycine-rich loop above the ATP site is fully resolved, because a gap there would open false space. Add hydrogens, inspect the hinge region and the catalytic lysine, and write the PDBQT. Centre a box on the saved ligand coordinates, redock erlotinib and confirm that the quinazoline returns to the hinge. Only then dock a new compound. MolForge performs these runs in Advanced Modeling, but the choices above remain yours.

Key points

Questions people ask

Should I dock into an apo structure or a ligand-bound structure?
Prefer a ligand-bound structure whenever one exists. Binding sites change shape when a ligand is present, and a pocket seen in an apo structure may be partly collapsed. If only an apo or predicted structure is available, expect lower success and validate the setup against any known binder.
Do I remove all water molecules before docking?
Remove bulk water. Keep a water only when it is conserved across several structures of the same protein and bridges the ligand to the protein, and then treat it as part of the receptor. Keeping every crystallographic water blocks the pocket and makes the result depend on one crystal.
Why does AutoDock Vina need a PDBQT file instead of a PDB file?
PDBQT adds an AutoDock atom type to each atom, which Vina uses to decide which atoms are hydrophobic, donors or acceptors. It also carries partial charges, which Vina ignores. The conversion step is also where hydrogens are added and non-polar hydrogens are merged.
What do I do with missing residues or side chains in the PDB file?
Missing atoms far from the pocket can be left alone. Missing side chains or loops that line the pocket must be rebuilt, because Vina treats empty space as room for the ligand. Modelling tools can rebuild side chains, and a different structure of the same protein is often the safer fix.

Further reading

In practice: Advanced Modeling docks with AutoDock Vina. A score is an estimate in kcal/mol under the program's scoring function, not a measured affinity, and the guides say where the method stops.

← All guides