Hello Jakob--
>
> I wish to use a few angle constraints to define the orientation
> between different monomers. I guess the bondAngle term is the better
> option. Do I need to write this potential myself or is it already
> coded in an example?
ok. It's also possible using the old XPLOR angle term- and probably
easier in this case. Attached is an example of how to do this using
model.pdb from eginput/gb1_rdc.
best regards--
Charles
-------------- next part --------------
import protocol
protocol.loadPDB('model.pdb',deleteUnknownAtoms=True)
import xplorPot
print xplorPot.XplorPot('ANGL').calcEnergy()
xplor.command('''
topo
presidue ang1
add angle 1CA 2CA 3CA
end
end
''')
#define the angle (CA 2) - (CA 4) - (CA 20) with equilibrium value of 120
degrees
xplor.command('''
patch ang1 refe=1=(resid 2) refe=2=(resid 4) refe=3=(resid 20) end
''')
print xplorPot.XplorPot('ANGL').calcEnergy()
xplor.command('''
param
ANGLE (resid 2 and name CA) (resid 4 and name CA) (resid 20 and name CA)
500.00 120
end
''')
print xplorPot.XplorPot('ANGL').calcEnergy()
-------------- next part --------------
--
Charles Schwieters email: Charles at Schwieters.org
www: http://schwieters.org/cds
phone: (301) 402-4914 PGP key: http://schwieters.org/cds/pgp.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL:
<http://dcb.cit.nih.gov/pipermail/xplor-nih/attachments/20130425/19f11c4d/attachment.sig>