donor geometry testing functions
Imported modules
|
|
import base
from chimera import angle, sqdistance
from chimera.bondGeom import bondPositions
from chimera.idatm import typeInfo, geometry, planar, tetrahedral
from commonGeom import getPhiPlaneParams, testPhi, project, testTheta, sulphurCompensate
from hydpos import hydPositions
|
Functions
|
|
donGeneric
donThetaTau
donUpsilonTau
donWater
testUpsilonTauAcceptor
|
|
donGeneric
|
donGeneric (
donor,
donorHyds,
acceptor,
sp2Orp2,
sp3Orp2,
sp3Nrp2,
sp2Or2,
sp3Or2,
sp3Nr2,
genRp2,
genR2,
minHydAngle,
minBondedAngle,
)
|
|
donThetaTau
|
donThetaTau (
donor,
donorHyds,
acceptor,
sp2Orp2,
sp2Otheta,
sp3Orp2,
sp3Otheta,
sp3Ophi,
sp3Nrp2,
sp3Ntheta,
sp3Nupsilon,
genRp2,
genTheta,
isWater=0,
)
|
|
donUpsilonTau
|
donUpsilonTau (
donor,
donorHyds,
acceptor,
sp2Or2,
sp2OupsilonLow,
sp2OupsilonHigh,
sp2Otheta,
sp2Otau,
sp3Or2,
sp3OupsilonLow,
sp3OupsilonHigh,
sp3Otheta,
sp3Otau,
sp3Ophi,
sp3Nr2,
sp3NupsilonLow,
sp3NupsilonHigh,
sp3Ntheta,
sp3Ntau,
sp3NupsilonN,
genR2,
genUpsilonLow,
genUpsilonHigh,
genTheta,
tauSym,
)
|
|
donWater
|
donWater (
donor,
donorHyds,
acceptor,
sp2Orp2,
sp2Or2,
sp2Otheta,
sp3Orp2,
sp3Or2,
sp3Otheta,
sp3Ophi,
sp3Nrp2,
sp3Nr2,
sp3Ntheta,
sp3Nupsilon,
genRp2,
genR2,
genTheta,
)
|
|
testUpsilonTauAcceptor
|
testUpsilonTauAcceptor (
donor,
donorHyds,
acceptor,
r2,
upsilonLow,
upsilonHigh,
theta,
tau,
tauSym,
)
Exceptions
|
|
AssertionError, "Unexpected tau symmetry (%d," " should be %d) for donor %s" %(2 * len( bondedPos ), tauSym, donor.oslIdent() )
AssertionError, "upsilon tau donor (%s) not bonded to" " exactly one heavy atom" % donor.oslIdent()
|
|
|