Charge export from Leap is rounded off

From: jeff dyason <>
Date: Mon 27 May 2002 10:06:36 +1000

        When I export a pdb file from Leap with the option "set default
pdbwritecharges on" the partial charges for each atom are output into
the pdb file in place of the structure factor for each atom. However,
the format for this field only allows 2 decimal places, where in most
cases the partial charge has 4 decimal places, leading to rounding
errors when the charge of each residue or in fact the whole protein is
summed for an external program. e.g. using the pdb file trx.pdb as
supplied in the tutorials gave a total charge of -4.0000 in Leap, but
when saved to a pdb file with the charges as outlined above the total
comes to -4.38.
        Can this be fixed by simply digging through the Leap source code,
finding the pdb export code and changing the format statement for the
partial charge from 2 decimal places to 4 ? Or is there something else
to consider ?

Thanks Jeff.
Jeff Dyason e-mail:
Centre for Biomolecular Science and Drug Discovery
Griffith University (Gold Coast Campus)
PMB 50 Gold Coast Mail Centre Tel: +61 7 5552 7028
Queensland 9726 Australia Fax: +61 7 5552 8098
Received on Sun May 26 2002 - 17:06:36 PDT
Custom Search