ADL: Fresh Autodock install ligand input error

David M. Carter david.carter3 at
Fri May 2 07:22:10 PDT 2008

Hi All,


I thought I might speed up my docking experiments by installing Autodock on
the fastest machine that our lab just acquired.  It's running Ubuntu 8.0 and
I installed MGLTools 1.5.1 along with Autodock4 and Autogrid4.  After
acquiring the libraries that weren't preinstalled on the machine ADT opened
smoothly with no errors.  However, when I try to input a ligand, I get the
following error in the Python Shell (See below).  After this error I can't
prepare the ligand as is required for the docking experiments.  Can anyone
interpret this and help me solve this issue so that I might proceed?  It
worked fine on the slower computer which ran MGL tools 1.4.6.  I thought
that may have been the problem so I uninstalled MGLTools 1.5.1 and installed
1.4.6, but this didn't resolve the issue.


Many Thanks,


David Carter


IDLE 1.1.2      ==== No Subprocess ====

>>> adding gasteiger charges to peptide

ERROR *********************************************

Traceback (most recent call last):

  File "/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/ViewerFramework/",
line 714, in tryto

    result = apply( command, args, kw )

y", line 754, in doit

    initLPO4(mol, cleanup=cleanup)

y", line 286, in initLPO4

    root=root, outputfilename=outputfilename, cleanup=cleanup)

"/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/AutoDockTools/MoleculePreparatio", line 920, in __init__


"/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/AutoDockTools/MoleculePreparatio", line 676, in __init__


"/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/AutoDockTools/MoleculePreparatio", line 128, in __init__

    self.addCharges(mol, charges_to_add)

"/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/AutoDockTools/MoleculePreparatio", line 216, in addCharges


line 80, in addCharges


  File "/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/PyBabel/",
line 136, in assignHybridization


  File "/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/PyBabel/",
line 262, in valence_two

    angle1 = bond_angle(k.coords, a.coords, l.coords)

  File "/home/coulton/MGLTools-1.4.6/MGLToolsPckgs/PyBabel/", line
46, in bond_angle

    cos_theta = ( (a[0] - b[0]) * (c[0] - b[0]) +

ZeroDivisionError: float division

More information about the autodock mailing list