Package schrodinger :: Package application :: Package bioluminate :: Module pml_menus :: Class LigandPreset
[hide private]
[frames] | no frames]

Class LigandPreset

PyQt4.QtGui.QAction --+        
                      |        
                MAction --+    
                          |    
             object --+   |    
                      |   |    
      LigandActionMixin --+    
                          |    
               PresetAction --+
                              |
                             LigandPreset

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Create a LigandPreset Action object
 
command(self)
Color chains as chainbows Reset ligand atoms and non-carbons to default colors Show the protein as ribbons Show residues within 5 A of ligand as lines Show ligand as sticks Show solvent within 5 A of Ligand as sticks (near solvent) Show polar contacts between (host & near solvent) and (ligand & near solvent) Show any nonbonded atoms within 5 A of Ligand Zoom in on any ligands

Inherited from PresetAction: finish, reset

Inherited from LigandActionMixin: makeLigandASL

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 

Create a LigandPreset Action object

Parameters:
  • ribbon_type (str) - The ribbon type to display. Default is calphatube.
  • surface_style (str or None) - One of the following values
    • None if no surface (default)
    • 'solid'
    • 'mesh'
    • 'dots'
  • surface_quality (int) - The quality of the displayed surface.
    • 1 is medium quality (default)
    • 2 is high quality
  • surface_transparancy (int) - transparancy % of the surface. Default is 0 (solid), max is 100.

    See parent class for addition keyword documentation

Overrides: object.__init__

command(self)

 

Color chains as chainbows Reset ligand atoms and non-carbons to default colors Show the protein as ribbons Show residues within 5 A of ligand as lines Show ligand as sticks Show solvent within 5 A of Ligand as sticks (near solvent) Show polar contacts between (host & near solvent) and (ligand & near solvent) Show any nonbonded atoms within 5 A of Ligand Zoom in on any ligands

Overrides: MAction.command