Getting error message while dealing with

So I was following doing the tutorial for docking the multi-chain complexes. I followed all the steps in the tutorial. However, when I use the command I get the following error message:
traceback (most recent call last):
File “/home/archi/temp/pdb-tools/pdbtools/”, line 157, in
File “/home/archi/temp/pdb-tools/pdbtools/”, line 136, in main
for lineno, line in enumerate(new_pdb):
File “/home/archi/temp/pdb-tools/pdbtools/”, line 121, in select_chain
if line[21] not in chain_set:
IndexError: string index out of range

Could you please suggest how to deal with this problem?

Thank you

Could be a python version problem.

You could try instead to use our new PDB-tools web server:

Or install locally our PDB-tools from:


Thank you for the response. I’ll try to use the PDB-tools web server for the protein preparation.

Also I’m not sure if it is due to a Python version problem as the other python files of pdb-tools are working properly.