torsionDBTools |
index |
Module for extracting torsion angle information from a structure database.
Additional functionality is provided to estimate probability density using the
histogram approach.
When using this module, please cite:
Bermejo, G.A., Clore, G.M., and Schwieters, C.D. (2012). Smooth statistical
torsion angle potential derived from a large conformational database via
adaptive kernel density estimation improves the quality of NMR protein
structures. Protein Sci. 21, 1824-1836.
Classes | ||||||||||||||||||
|
Functions | ||
|
Data | ||
nucleic_resnames = ['GUA', 'ADE', 'CYT', 'THY', 'URI'] protein_resnames = ['ALA', 'GLY', 'SER', 'THR', 'VAL', 'ASN', 'ASP', 'HIS', 'ILE', 'LEU', 'PHE', 'TRP', 'TYR', 'GLU', 'GLN', 'MET', 'ARG', 'LYS', 'PRO', 'CYS'] resname = 'URI' torsion_info = {'ADE': {'alpha': (('(name O3\' and bondedto (segid "%s" and resid %d and name P))', '(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')'), (-180.0, 180.0)), 'beta': (('(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')'), (-180.0, 180.0)), 'chi': (('(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and (((resn ADE or resn...ame N9) or ((resn CYT or resn URI) and name N1)))', '(segid "%s" and resid %d and (((resn ADE or resn...ame C4) or ((resn CYT or resn URI) and name C2)))'), (-180.0, 180.0)), 'delta': (('(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name O3\')'), (-180.0, 180.0)), 'epsilon': (('(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name O3\')', '(name P and bondedto (segid "%s" and resid %d and name O3\'))'), (-180.0, 180.0)), 'eta': (('(name C4\' and bondedto (name C3\' and bondedto (n... bondedto (segid "%s" and resid %d and name P))))', '(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name C4\')', '(name P and bondedto (name O3\' and bondedto (nam...ondedto (segid "%s" and resid %d and name C4\'))))'), (-180.0, 180.0)), 'gamma': (('(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')'), (-180.0, 180.0)), 'nu0': (('(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')'), (-180.0, 180.0)), 'nu1': (('(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')', '(segid "%s" and resid %d and name C3\')'), (-180.0, 180.0)), 'nu2': (('(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name C4\')'), (-180.0, 180.0)), ...}, 'ALA': {'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'ARG': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)'), (-180.0, 180.0)), 'chi3': (('(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)', '(segid "%s" and resid %d and name ne)'), (-180.0, 180.0)), 'chi4': (('(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)', '(segid "%s" and resid %d and name ne)', '(segid "%s" and resid %d and name cz)'), (-180.0, 180.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'ASN': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name od1)'), (-180.0, 180.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'ASP': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name od1)'), (-90.0, 90.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'CYS': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name sg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name sg)', '(name sg and bondedto (segid "%s" and resid %d and name sg))'), (-180.0, 180.0)), 'chi3': (('(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name sg)', '(name sg and bondedto (segid "%s" and resid %d and name sg))', '(name cb and bondedto (name sg and bondedto (segid "%s" and resid %d and name sg)))'), (-180.0, 180.0)), 'chi4': (('(segid "%s" and resid %d and name sg)', '(name sg and bondedto (segid "%s" and resid %d and name sg))', '(name cb and bondedto (name sg and bondedto (segid "%s" and resid %d and name sg)))', '(name ca and bondedto (name cb and bondedto (nam...bondedto (segid "%s" and resid %d and name sg))))'), (-180.0, 180.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'CYT': {'alpha': (('(name O3\' and bondedto (segid "%s" and resid %d and name P))', '(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')'), (-180.0, 180.0)), 'beta': (('(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')'), (-180.0, 180.0)), 'chi': (('(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and (((resn ADE or resn...ame N9) or ((resn CYT or resn URI) and name N1)))', '(segid "%s" and resid %d and (((resn ADE or resn...ame C4) or ((resn CYT or resn URI) and name C2)))'), (-180.0, 180.0)), 'delta': (('(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name O3\')'), (-180.0, 180.0)), 'epsilon': (('(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name O3\')', '(name P and bondedto (segid "%s" and resid %d and name O3\'))'), (-180.0, 180.0)), 'eta': (('(name C4\' and bondedto (name C3\' and bondedto (n... bondedto (segid "%s" and resid %d and name P))))', '(segid "%s" and resid %d and name P)', '(segid "%s" and resid %d and name C4\')', '(name P and bondedto (name O3\' and bondedto (nam...ondedto (segid "%s" and resid %d and name C4\'))))'), (-180.0, 180.0)), 'gamma': (('(segid "%s" and resid %d and name O5\')', '(segid "%s" and resid %d and name C5\')', '(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name C3\')'), (-180.0, 180.0)), 'nu0': (('(segid "%s" and resid %d and name C4\')', '(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')'), (-180.0, 180.0)), 'nu1': (('(segid "%s" and resid %d and name O4\')', '(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')', '(segid "%s" and resid %d and name C3\')'), (-180.0, 180.0)), 'nu2': (('(segid "%s" and resid %d and name C1\')', '(segid "%s" and resid %d and name C2\')', '(segid "%s" and resid %d and name C3\')', '(segid "%s" and resid %d and name C4\')'), (-180.0, 180.0)), ...}, 'GLN': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)'), (-180.0, 180.0)), 'chi3': (('(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)', '(segid "%s" and resid %d and name oe1)'), (-180.0, 180.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'GLU': {'chi1': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)'), (-180.0, 180.0)), 'chi2': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)'), (-180.0, 180.0)), 'chi3': (('(segid "%s" and resid %d and name cb)', '(segid "%s" and resid %d and name cg)', '(segid "%s" and resid %d and name cd)', '(segid "%s" and resid %d and name oe1)'), (-90.0, 90.0)), 'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, 'GLY': {'omega': (('(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))', '(name ca and bondedto (name n and bondedto (segid "%s" and resid %d and name c)))'), (-180.0, 180.0)), 'phi': (('(name c and bondedto (segid "%s" and resid %d and name n))', '(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)'), (-180.0, 180.0)), 'psi': (('(segid "%s" and resid %d and name n)', '(segid "%s" and resid %d and name ca)', '(segid "%s" and resid %d and name c)', '(name n and bondedto (segid "%s" and resid %d and name c))'), (-180.0, 180.0))}, ...} |