|
|
|
|
|
DeleteAll(self)
blows out everything in the viewer |
source code
|
|
|
DeleteAllExcept(self,
excludes)
deletes everything except the items in the provided list of arguments |
source code
|
|
|
LoadFile(self,
filename,
name,
showOnly=False)
calls pymol's "load" command on the given filename; the loaded object... |
source code
|
|
|
ShowMol(self,
mol,
name=' molecule ' ,
showOnly=True,
highlightFeatures=[ ] ,
molB='
' ,
confId=-1,
zoom=True,
forcePDB=False,
showSticks=False)
special case for displaying a molecule or mol block |
source code
|
|
|
GetSelectedAtoms(self,
whichSelection=None)
returns the selected atoms |
source code
|
|
|
SelectAtoms(self,
itemId,
atomIndices,
selName=' selection ' )
selects a set of atoms |
source code
|
|
|
HighlightAtoms(self,
indices,
where,
extraHighlight=False)
highlights a set of atoms |
source code
|
|
|
SetDisplayStyle(self,
obj,
style='
' )
change the display style of the specified object |
source code
|
|
|
SelectProteinNeighborhood(self,
aroundObj,
inObj,
distance=5.0,
name=' neighborhood ' ,
showSurface=False)
selects the area of a protein around a specified object/selection name;... |
source code
|
|
|
AddPharmacophore(self,
locs,
colors,
label,
sphereRad=0.5)
adds a set of spheres |
source code
|
|
|
|
|
GetAtomCoords(self,
sels)
returns the coordinates of the selected atoms |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
DisplayHBonds(self,
objName,
molName,
proteinName,
molSelText=' (%(molName)s) ' ,
proteinSelText=' (%(proteinName)s and not het) ' )
toggles display of h bonds between the protein and a specified molecule |
source code
|
|
|
DisplayCollisions(self,
objName,
molName,
proteinName,
distCutoff=3.0,
color=' red ' ,
molSelText=' (%(molName)s) ' ,
proteinSelText=' (%(proteinName)s and not het) ' )
toggles display of collisions between the protein and a specified molecule |
source code
|
|
|
|