Access of mmct atoms properties pythonically.
|
__init__(self,
ct,
index)
Create an instance from the Structure object and the atom index. |
|
|
|
|
|
__eq__(self,
that)
Compare on mmct handle and index. |
|
|
|
__ne__(self,
other)
Check for inequality based on mmct handle and index. |
|
|
|
|
|
|
|
addBond(self,
atom2,
bond_order)
Add a bond between the current atom and atom2. |
|
|
|
deleteBond(self,
atom2)
Delete the bond between the current atom and atom2. |
|
|
|
retype(self)
Reassign the MacroModel atom type based on the bond orders and formal
charge. |
|
|
|
getResidue(self)
Return a _Residue object for the residue that this atom is part of. |
|
|
|
getMolecule(self)
Return a _Molecule object for the molecule that this atom is part of. |
|
|
|
getChain(self)
Return a _Chain object for the molecule that this atom is part of. |
|
|
|
_getBondTotal(self)
Get total number of bonds to this atom. |
|
|
|
_getAtomBondContainer(self) |
|
|
|
|
|
|
|
|
|
_setGrowName(self,
value) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getColorRGB(self)
Return the RGB color of this atom as a tuple (R,G.B). |
|
|
|
setColorRGB(self,
red,
green,
blue)
Set the RGB color of this atom as a tuple (R,G.B). |
|
|
|
setColorRGBString(self,
rgb_string)
Set the atom color as RGB using a string in the form #FFFFFF or
FFFFFF |
|
|
|
getColorRGBString(self)
Get the atom color as an RGB string in the form #FFFFFF |
|
|
|
|
|
_setAtomChain(self,
chain) |
|
|
|
|
|
_getAtomNameWarning(self) |
|
|
|
_setAtomNameWarning(self,
name) |
|
|
|
|
|
|
|
|
str or NoneType
|
_getCtEntryId(self)
Return the entry id from the structure's property dictionary |
|
|
|
|
|
_setAtomElement(self,
element) |
|
|
|
_getAtomPartialCharge(self) |
|
|
|
_setAtomPartialCharge(self,
pcharge) |
|
|
|
_getAtomSolvationCharge(self) |
|
|
|
_setAtomSolvationCharge(self,
scharge) |
|
|
|
_getAtomFormalCharge(self) |
|
|
|
_setAtomFormalCharge(self,
fcharge) |
|
|
|
|
|
_setAtomIsotope(self,
mass_number) |
|
|
|
_getAtomSecondaryStructure(self) |
|
|
|
_setAtomSecondaryStructure(self,
secondary_struct) |
|
|
|
_getAtomTemperatureFactor(self) |
|
|
|
_setAtomTemperatureFactor(self,
tfactor) |
|
|
|
|
|
|
|
|
|
|
|
_getAtomMoleculeNumber(self) |
|
|
|
|
|
_getAtomNumberByMolecule(self) |
|
|
|
|
|
_getAtomNumberByEntry(self) |
|
|
|
|
|
|
|
_setAtomicNumber(self,
value) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_setAtomStyle(self,
style) |
|
|
|
|
|
|
|
|
|
_setAtomVisible(self,
visible) |
|
|
|
_getAtomLabelFormat(self) |
|
|
|
_setAtomLabelFormat(self,
fmt) |
|
|
|
|
|
_setAtomLabelColor(self,
col) |
|
|
|
_getAtomLabelUserText(self) |
|
|
|
_setAtomLabelUserText(self,
utext) |
|
|
|
|
|
_index = property(__int__, doc= "The atom index. I{Read only.}")
|
|
index = property(__int__, doc= "The atom index. I{Read only.}")
|
|
bond_total = property(_getBondTotal, doc= "Number of bonds to ...
|
|
bond = property(_getAtomBondContainer, doc= "List of bonds to ...
|
|
bonded_atoms = property(_getBondedAtoms, doc= "Iterator for at...
|
|
atomic_weight = property(_getAtomicWeight, doc= ...
|
|
growname = property(_getGrowName, _setGrowName, doc= "Maestro ...
|
|
pdbname = property(_getPdbname, _setPdbname, doc= "PDB atom na...
|
|
pdbres = property(_getPdbres, _setPdbres, doc= "PDB residue na...
|
|
pdbcode = property(_getPdbCode, doc= "One-letter PDB residue c...
|
|
resnum = property(_getResnum, _setResnum, doc= "PDB residue nu...
|
|
inscode = property(_getInscode, _setInscode, doc= "PDB residue...
|
|
atom_type = property(_getAtomType, _setAtomType, doc= "MacroMo...
|
|
atom_type_name = property(_getAtomTypeName, doc= "MacroModel a...
|
|
color = property(_getAtomColor, _setAtomColor, doc= "Atom colo...
|
|
chain = property(_getAtomChain, _setAtomChain, doc= "Atom chai...
|
|
atom_name = property(_getAtomNameWarning, _setAtomNameWarning,...
|
|
name = property(_getAtomName, _setAtomName, doc= "Name of the ...
|
|
entry_id = property(_getAtomEntryID, doc= "Maestro entry ID")
|
|
element = property(_getAtomElement, _setAtomElement, doc= "Ele...
|
|
partial_charge = property(_getAtomPartialCharge, _setAtomParti...
|
|
solvation_charge = property(_getAtomSolvationCharge, _setAtomS...
|
|
formal_charge = property(_getAtomFormalCharge, _setAtomFormalC...
|
|
isotope = property(_getAtomIsotope, _setAtomIsotope, doc= "Mas...
|
|
secondary_structure = property(_getAtomSecondaryStructure, _se...
|
|
temperature_factor = property(_getAtomTemperatureFactor, _setA...
|
|
atomic_number = property(_getAtomicNumber, _setAtomicNumber, d...
|
|
x = property(_getX, _setX, doc= "X-coordinate of the atom.")
|
|
y = property(_getY, _setY, doc= "Y-coordinate of the atom.")
|
|
z = property(_getZ, _setZ, doc= "Z-coordinate of the atom.")
|
|
xyz = property(_getXYZ, _setXYZ, doc= "XYZ-coordinates of the ...
|
|
alt_xyz = property(_getAltXYZ, _setAltXYZ, doc= "Alternative X...
|
|
_doc = "Chirality of the atom. R, S, ANR, ANS, undef, or None."
|
|
chirality = property(_getAtomChirality, doc= _doc)
|
|
atom_style = property(_getAtomStyle, _setAtomStyle)
|
|
style = property(_getStyle, _setStyle)
|
|
visible = property(_getAtomVisible, _setAtomVisible)
|
|
label_format = property(_getAtomLabelFormat, _setAtomLabelFormat)
|
|
label_color = property(_getAtomLabelColor, _setAtomLabelColor)
|
|
label_user_text = property(_getAtomLabelUserText, _setAtomLabe...
|
|
property = property(_getAtomProperty, doc= "Dictionary-like co...
|