Protein Modeling Resources


Guide to Protein Modeling Tools

A really big thank you to other protein modeling students for making this video!

Renumbering PDB Files for Haddock 2.4

This script was originally created by Joao Rodriguez. Translation and webpage by Sebastian Branch. It is not perfect, you will still have to check it in a text editor! The next section will discuss common errors from Haddock 2.4 and how to resolve them.

Must be a .pdb file


Starting PDB is normally 1

Fixing Errors with Haddock 2.4

Ok, so after days of scrolling you've finally found the right PDB files with a good resolution! Congratulations! You put them into Haddock 2.4 for testing and... there's an error. What does this mean? What should I do? Why don't you like me Haddock?! Here are some tips to amend your relations with the Haddock Gods! Make sure to visit the Haddock 2.4 Best Practice Guides for better checking!

  1. Numbering Error
  2. This error can be caused because your PDB file either has multiple protein in it, or because it is not numbered properly. To fix the first issue, open the file in ChimeraX to see if you have more than one protein, then seperate them out into seperate PDB files in a text editor. For the second issue, put the file into the tool above and renumber it.

  3. Multiple Forms of the Same Residue Error
  4. PDB files can contain mulitple variations of one residue. Haddock is saying it doesn't know which variation to chose. Open the file up in a text editor and scroll down to the problematic residue. You will notice that some atoms of that residue have an extra character (normally "A" or "B") before the residue type that denote the different variations. Delete the extra variations and remove "A" to make that line look like the rest of them. (Make sure to make a backup before doing this!)

  5. Weird Ions Error
  6. Ions in PDB files should be annotated with their necessary charge, but sometimes they're not. The easiest, albeit not the greatest, solution to the problem is to remove the problematic ion in a text editor.

  7. HETATM Error
  8. Some PDB files incorrectly label their atoms. For example, some atoms are part of residues, others are sugars, and so on. In this case, NAG refers to a 2-N-acetyl-beta-D-glucopyranose, a Carbohydrate. But Haddock is reading this as if it were a residue and is confused. Here is the library of all supported modified residues. Open the PDB File in a text editor and CTRL (CMD) + F to find the issue (in this case, search for "NAG"). If the start of those lines begins with "ATOM", replace it with "HETATM" to indicate that those atoms are not residues. Make sure to preserve the structure of the document! TIP: select all problematic lines by SHIFT + CLCIKING them, copy and paste them into a new document, find and replace all instances of "ATOM" with "HETATM" (add or remove space to preserve structure), select all, copy again, go back to original document, and paste to overide the old lines.