Package AutoDockTools :: Module autoanalyzeCommands :: Class ADShowBindingSite
[hide private]
[frames] | no frames]

Class ADShowBindingSite

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
              Pmv.mvCommand.MVCommand --+
                                        |
                                       ADShowBindingSite

This class is used to display docked ligand and surrounding atoms in macromolecule
    
Package : AutoDockTools
    
Module  : autoanalyzeCommands
    
Class   : ADShowBindingSite
    
Command : ADanalyze_showBindingSite 
    
Synopsis:

        None<-ADanalyze_showBindingSite
    
Required Arguments:

        docking: autodock result to display
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  update_managed_sets(self, event=None)
  onRemoveObjectFromViewer(self, obj)
  getSSResidues(self, mol)
  setupUndoBefore(self, docking)
This method builds the self.undoCmds string.
  updateCpk(self)
  restoreCpk(self, **kw)
  guiCallback(self)
called each time the 'Show Interactions' button is pressed
  __call__(self, docking_filename, **kw)
None<-ADanalyze_showBindingSite
  revert(self, event=None, **kw)
  close(self, event=None, **kw)
  save(self, filename=None, event=None)
  updatePercentCutoff(self, event=None)
  toggleUpdate(self, event=None)
  buildDisplayForm(self, event=None)
  updateSphereDisplay(self, event=None)
  openOtherMM(self, event=None)
  printInfo(self, event=None)
  print_macro_residue_contacts(self, event=None)
  print_ligand_residue_contacts(self, event=None)
  print_hydrogen_bonds(self, event=None)
  updateMsms(self)
  updateHBonds(self)
  updateCCCpk(self, event=None)
  showHideSecondaryStructure(self)
  updateSecondaryStructure(self)
  updateMM(self, event=None)
  reset(self)
  buildLigandDisplay(self)
  adjustMsms(self)
  buildCloseAtoms(self)
  buildHbondDisplay(self)
  build(self, percentCutoff=1.)
  updatePiCation(self, event=None)
  updatePiPi(self, event=None)
  updateResLabels(self, event=None)
  doit(self, docking_filename, **kw)
virtual method.

Inherited from Pmv.mvCommand.MVCommand: __init__, strArg

Inherited from Pmv.mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

update_managed_sets(self, event=None)

source code 
None

onRemoveObjectFromViewer(self, obj)

source code 
None

getSSResidues(self, mol)

source code 
None

setupUndoBefore(self, docking)

source code 
This method builds the self.undoCmds string. This method should have the same signature than the __call__. When this string is executed it should undo the actions of this command. This string will be appended to the undoCmdStack list if the command is successfuly carried out. This method handles only commands with the negateKw. Other commands have to overwrite it.
Overrides: ViewerFramework.VFCommand.Command.setupUndoBefore
(inherited documentation)

updateCpk(self)

source code 
None

restoreCpk(self, **kw)

source code 
None

guiCallback(self)

source code 
called each time the 'Show Interactions' button is pressed
Overrides: Pmv.mvCommand.MVCommand.guiCallback

__call__(self, docking_filename, **kw)
(Call operator)

source code 

None<-ADanalyze_showBindingSite

docking:
Overrides: ViewerFramework.VFCommand.Command.__call__

revert(self, event=None, **kw)

source code 
None

close(self, event=None, **kw)

source code 
None

save(self, filename=None, event=None)

source code 
None

updatePercentCutoff(self, event=None)

source code 
None

toggleUpdate(self, event=None)

source code 
None

buildDisplayForm(self, event=None)

source code 
None

updateSphereDisplay(self, event=None)

source code 
None

openOtherMM(self, event=None)

source code 
None

printInfo(self, event=None)

source code 
None

print_macro_residue_contacts(self, event=None)

source code 
None

print_ligand_residue_contacts(self, event=None)

source code 
None

print_hydrogen_bonds(self, event=None)

source code 
None

updateMsms(self)

source code 
None

updateHBonds(self)

source code 
None

updateCCCpk(self, event=None)

source code 
None

showHideSecondaryStructure(self)

source code 
None

updateSecondaryStructure(self)

source code 
None

updateMM(self, event=None)

source code 
None

reset(self)

source code 
None

buildLigandDisplay(self)

source code 
None

adjustMsms(self)

source code 
None

buildCloseAtoms(self)

source code 
None

buildHbondDisplay(self)

source code 
None

build(self, percentCutoff=1.)

source code 
None

updatePiCation(self, event=None)

source code 
None

updatePiPi(self, event=None)

source code 
None

updateResLabels(self, event=None)

source code 
None

doit(self, docking_filename, **kw)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)