| Trees | Indices | Help |
|
|---|
|
|
The module that creates the actions and menus for the Pymol-like interface of BioLuminate.
Copyright Schrodinger, LLC. All rights reserved.
|
|||
| ResultsWindow | |||
|
MWidgetAction A QAction that performs a Maestro command |
|||
|
MAction A QAction that performs a Maestro command |
|||
|
PMLMenu The base menu class we subclass from |
|||
|
PMLContextMenu The base menu class we subclass from for context menus |
|||
|
RockData Stores information about the current workspace rocking state |
|||
|
LigandActionMixin Class that contains a method to restrict the asl to Ligands only |
|||
| ShowLines | |||
| ShowLigandLines | |||
| ShowTubes | |||
| ShowLigandTubes | |||
| ShowBAndS | |||
| ShowNonBonded | |||
| ShowNonBondedSpheres | |||
| ShowSpheres | |||
| ShowLigandSpheres | |||
| ShowCartoonOrRibbon | |||
| ShowCartoon | |||
| ShowRibbon | |||
| ShowLabel | |||
|
SurfaceRender Base class for actions that render a surface |
|||
| ShowSurface | |||
| ShowMesh | |||
|
ShowSubstructureMenu The Show->substructure submenus |
|||
|
ShowOrganicMenu The Show->Organic submenus |
|||
|
AsMenu The Show->As submenu |
|||
|
ShowMenu The Show menu |
|||
| Zoom | |||
| Orient | |||
| Center | |||
| Origin | |||
| Clean | |||
| Rename | |||
| DeleteWS | |||
| DeleteProject | |||
| Duplicate | |||
|
MakeProjectEntry Copies the atoms into a new project entry and includes it in the workspace |
|||
|
Ray Use PyMOL to make a ray-traced image |
|||
|
Extend Expand the selection to the atoms within X bonds of the ASL for this object |
|||
|
InvertCompleteSelection Invert or complete the selection within an object |
|||
| SelectWithinEntry | |||
| SelectWithinChain | |||
| SelectWithinResidue | |||
| SelectWithinMolecule | |||
| SelectWithinAny | |||
| SelectWithinCalpha | |||
|
Expand Expand the selection to the atoms around the ASL for this object |
|||
| Around | |||
|
EntrySubMenu A submenu that lists all enabled Entry objects |
|||
|
SelectionSubMenu A submenu that lists all enabled Entry objects |
|||
|
RestrictSelection Restrict the selection to a specific object |
|||
| RestrictToVisible | |||
| RestrictToPolymer | |||
| RestrictToOrganic | |||
| RestrictToSolvent | |||
| RestrictToInorganic | |||
|
RestrictSubMenu The modify-restrict submenu of the action menu |
|||
|
IncludeInSelection Include a specific object in the selection |
|||
| IncludeVisibleInSelection | |||
| ExcludeFromSelection | |||
| ExcludeVisibleFromSelection | |||
| ExcludePolymerFromSelection | |||
| ExcludeOrganicFromSelection | |||
| ExcludeSolventFromSelection | |||
| ExcludeInorganicFromSelection | |||
|
IncludeSubMenu The modify-include submenu of the action menu |
|||
|
ExcludeSubMenu The modify-exclude submenu of the action menu |
|||
|
AroundExpandSubMenu The modify-around submenu of the action menu |
|||
|
ExtendSubMenu The modify-extend submenu of the action menu |
|||
|
InvertSubMenu The modify-invert submenu of the action menu |
|||
|
CompleteSubMenu The modify-complete submenu of the action menu |
|||
|
ModifySubMenu The modify submenu of the action menu |
|||
|
PresetAction Base class for Preset Actions |
|||
| SimplePreset | |||
| BAndSPreset | |||
| BFactorPreset | |||
| TechnicalPreset | |||
| LigandPreset | |||
|
PrettyPubPreset Show the object as nice-looking cartoon ribbons |
|||
| DefaultPreset | |||
|
InterfaceMixin Determine the Protein-Protein interface atoms |
|||
| InterfacePreset | |||
| RegionInfo | |||
| AntibodyPreset | |||
|
LigandSitesSubMenu The Action-Preset-Ligand Sites submenu |
|||
|
PresetSubMenu The Preset submenu |
|||
| PolarContactsObject | |||
| PolarContactsWithSidechains | |||
| PolarContactsWithSolvent | |||
| PolarContactsWithoutSolvent | |||
| PolarContactsWithoutMainchain | |||
| PolarContactsWithoutIntraMainchain | |||
| PolarContactsOnlySidechain | |||
| PolarContactsOnlyMainchain | |||
| PolarContactsToEntry | |||
| PolarContactsToEntryWithoutSolvent | |||
| PolarContactsToAnyAtoms | |||
| PolarContactsToAnyNonSolvent | |||
|
FindPCSubMenu The Find Polar Contacts submenu |
|||
| RemovePC | |||
|
PolarContactsSubMenu The Polar Contacts submenu |
|||
|
GenerateSelection Select the atoms, then generate a selection object from them |
|||
| GenerateInterfaceSelection | |||
| GenerateLigandSelection | |||
| GenerateSurfResSelection | |||
|
GenSelectionSubMenu The Action Generate Selection submenu |
|||
|
GenerateSymmetryMates Generate all the symmetry mates and show those within X angstroms |
|||
| HideSymmetryMates | |||
|
GenSymMatesSubMenu The Action Generate Symmetry Mates submenu |
|||
|
GenerateSubMenu The Action Generate submenu |
|||
| AddHydrogens | |||
| RemoveHydrogens | |||
| RemoveWaters | |||
| DeleteAtoms | |||
|
HydrogenSubMenu The Action Hydrogen submenu |
|||
| CountAtoms | |||
| SumFormalCharge | |||
| SumPartialCharge | |||
| ComputeSurfaceArea | |||
|
SurfaceAreaSubMenu The Action Surface Area submenu |
|||
|
ComputeSubMenu The Action Compute submenu |
|||
| DeleteSelections | |||
|
ActionMenu The Action menu |
|||
| HideEverything | |||
| HideAtoms | |||
| HideNonBonded | |||
| HideRibbons | |||
| HideSurface | |||
| HideLabel | |||
| HideMainChain | |||
| HideSideChain | |||
| HideWaters | |||
| HideHydrogens | |||
| HideAllOthers | |||
| HidePolarHydrogens | |||
|
HideHydrogenSubMenu The Hide Hydrogen submenu |
|||
|
HideMenu The Hide menu |
|||
|
LabelAtom A QAction that performs labels atoms with the given label |
|||
|
LabelAtomByProp Labels all atoms by a custom atom property |
|||
| LabelAtomByVDW | |||
| LabelAtomByOccupancy | |||
| LabelAtomByNumType | |||
| LabelAtomByStereo | |||
| LabelAtomByEntryIndex | |||
| LabelAtomByMolIndex | |||
| LabelResidues | |||
| LabelChains | |||
|
LabelOtherSubMenu The Label Other Properties submenu |
|||
|
LabelAtomIdentSubMenu The Label Atom Identifiers submenu |
|||
|
LabelMenu The Label menu |
|||
|
ColorChooserPanel A window that lets the user choose a Maestro color. |
|||
| ColorRibbonMixin | |||
| CustomColor | |||
| ColorHydrogens | |||
| ColorCarbons | |||
| ColorHNOS | |||
| ColorObject | |||
| ColorRecentCarbons | |||
| ColorRecentHydrogens | |||
| ColorRecentObjects | |||
| ColorChains | |||
| ColorChainsByCarbon | |||
| ColorChainsByCalpha | |||
| ColorAtomsBySpectrum | |||
| ColorCarbonsBySpectrum | |||
| ColorCalphasBySpectrum | |||
| ColorAtomsByBFactor | |||
| ColorCalphasByBFactor | |||
| ColorChainbows | |||
|
ColorLabel A label that shows off the color each element will be colored if this menu item is chosen. |
|||
|
RecentColorSubMenu A submenu that shows the most recently chosen colors - these color choices are updated each time the menu shows to reflect the most recently chosen colors at the top. |
|||
|
RecentCarbonColorSubMenu A submenu that shows the most recently chosen carbon colors - these color choices are updated each time the menu shows to reflect the most recently chosen colors at the top. |
|||
|
RecentHydrogenColorSubMenu A submenu that shows the most recently chosen hydrogen colors - these color choices are updated each time the menu shows to reflect the most recently chosen colors at the top. |
|||
|
RecentObjectColorSubMenu A submenu that shows the most recently chosen object colors - these color choices are updated each time the menu shows to reflect the most recently chosen colors at the top. |
|||
|
ColorByElementSubMenu The Color by Element submenu |
|||
|
ColorChainSubMenu The ColorChainSubMenu menu |
|||
|
ColorSpectrumSubMenu The ColorSpectrumSubMenu menu |
|||
| CustomRecentColor | |||
| ColorBySubstructure | |||
|
ColorSubstructureSubMenu The ColorSubstructureSubMenu menu |
|||
| AutoCycleColor | |||
| AutoCycleCarbonColor | |||
| AutoColorObjects | |||
| AutoColorCarbons | |||
|
AutoColorSubMenu The Color menu |
|||
|
ColorMenu The Color menu |
|||
|
ToggleState A MAction that toggles the enabled/disabled state of an object |
|||
| DeleteAll | |||
| Reinitialize | |||
| Quit | |||
| Select | |||
| Disable | |||
| CreateEntry | |||
|
GeneralContextSubMenu The submenu that contains all the main actions used for most context menus |
|||
|
SubstructureContextSubMenu The GeneralContextSubMenu for a right-click that is on an atom |
|||
|
ObjectFreeContextSubMenu The GeneralContextSubMenu for a right-click that is not on an object |
|||
|
ToggleStateSubMenu The submenu that allows the user to enable/disable individual objects |
|||
|
SelectedAtomContextActionSubMenu The submenu that allows the user to enable/disable individual objects |
|||
|
SelectedAtomContextMenu The context menu for right-clicks on selected atoms |
|||
|
AtomContextMenu The context menu for right-clicks on non-selected atoms |
|||
|
SpaceContextMenu The context menu for right-clicks in space |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
| list or None |
|
||
| list |
|
||
| str |
|
||
| str |
|
||
| str |
|
||
| iterable |
|
||
| list |
|
||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
| str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| str or None |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| list |
|
||
| list |
|
||
|
|||
|
|||
|
|||
|
|||
| str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
|
|||
|
|||
| str |
|
||
|
|||
|
|||
| str |
|
||
| float or None |
|
||
| list |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
psp_antibody = Nonehash(x) |
|||
maestro = schrodinger.get_maestro()
|
|||
SIGNAL = QtCore.SIGNAL
|
|||
TRIGGERED = SIGNAL('triggered()')
|
|||
DISULFIDE = '(fillres /S0-S0/) AND atom.ptype CA,CB,SG'
|
|||
BACKBONE = 'backbone'
|
|||
SIDECHAIN = 'sidechain'
|
|||
POLYMER = '(backbone) or (sidechain)'
|
|||
SOLVENT = 'water'
|
|||
INORGANIC = 'not atom.ele H,C,N,O,F,P,S,Cl,Br,I'
|
|||
PROT_AND_DNA_SELE = "(res. ALA,CYS,CYX,ASP,GLU,PHE,GLY,HIS,HID
|
|||
PYMOL_IONS = 'atom.ele Ca, Hg, K, Na, Zn, Mg, Cl'
|
|||
SOLVENT_AND_IONS = '(water) OR '+ PYMOL_IONS
|
|||
WATER = 'water'
|
|||
RIBBON_STYLE = 'calphatube'hash(x) |
|||
THIN_TRACE = 'calphaline'
|
|||
CALPHA_SCHEME = 'calphaatom'
|
|||
CHAIN_SCHEME = 'chain'
|
|||
POSITION_SCHEME = 'residueposition'
|
|||
NONE = 'none'
|
|||
TUBE = 'tube'
|
|||
CARTOON = 'cartoon'hash(x) |
|||
ATOM_NONE = 'none'
|
|||
BOND_NONE = 'none'
|
|||
CPK = 'cpk'
|
|||
ATOM_WIRE = 'none'
|
|||
BOND_WIRE = 'wire'
|
|||
ATOM_BALLNSTICK = 'ballnstick'
|
|||
BOND_BALLNSTICK = 'ballnstick'
|
|||
MAESTRO_TO_STRUCT_STYLE = {ATOM_WIRE: structure.ATOM_NOSTYLE,
|
|||
MMCT_TO_MAESTRO_RIBBON_STYLE = {mm.MMCT_RIBBON_STYLE_CALINE: '
|
|||
MAESTRO_TO_MMCT_RIBBON_STYLE = dict([(val, key) for(key, val)
|
|||
DARK_BLUE = 'user2'
|
|||
BLUE = 'user27'
|
|||
CYAN = 'user4'
|
|||
SEAFOAM = 'userM'
|
|||
DARK_GREEN = 'user3'
|
|||
LIME = 'user19'
|
|||
DEEPTEAL = 'user59'
|
|||
HOTPINK = 'userN'
|
|||
YELLOWORANGE = 'userT'
|
|||
SLATE = 'blue14'
|
|||
YELLOW = 'user16'
|
|||
LIGHTBLUE = 'blue9'
|
|||
GREEN = 'green'
|
|||
RED = 'red'
|
|||
WHITE = 'white'
|
|||
ORANGE = 'orange'
|
|||
PINK = 'pink'
|
|||
MAGENTA = 'purple'
|
|||
DEEPRED = 'brown'
|
|||
OLIVE = 'olive'
|
|||
GREY = 'gray'
|
|||
ATOM_RAINBOW_COLORS = [BLUE, LIGHTBLUE, SEAFOAM, LIME, DARK_GR
|
|||
RIBBON_RAINBOW_COLORS = ['blue', 'lightblue', 'turquoise', 'sp
|
|||
PYMOL_COLOR_CYCLE = [GREEN, CYAN, MAGENTA, YELLOW, PINK, WHITE
|
|||
object_color_cycles = {}
|
|||
RT_COLOR_LABEL_START = '<span style="background-color:black;fo
|
|||
RT_COLOR_LABEL_END = '</span>'
|
|||
RT_TO_MAESTRO_COLORS = {}
|
|||
PARTIAL_CHARGE_4D = '1charge - b'
|
|||
SURFACE_AREA_CUTOFF = 10.
|
|||
PML_SURFACE = 'BL_Surface'
|
|||
PML_PRESET_SURFACE = 'BL_Preset_Surface'
|
|||
DAVE_DEBUG = os.environ.get('TOGGLE_DEBUG', 0)== 1
|
|||
results_window = Nonehash(x) |
|||
toggle_table = NoneThe parent Toggle Table widget |
|||
labeler = workspacelabeler.WorkspaceLabeler()
|
|||
rock_data = RockData(interval= 1, amount= 1, span= 25)
|
|||
mmshare_data = util.hunt('mmshare', dir= 'data')
|
|||
colorpath = os.path.join(mmshare_data, 'colors.res')
|
|||
colorfile = open(colorpath, 'r')
|
|||
color_dict = OrderedDict(sorted(color_dict.items(), key= _colo
|
|||
HYDROGEN_COLOR = 'hydrogen'
|
|||
CARBON_COLOR = 'carbon'
|
|||
OBJECT_COLOR = 'object'
|
|||
MAX_RECENT_COLORS = 12
|
|||
pref_dir = maestro.get_directory(maestro.PREFERENCES)
|
|||
color_path = os.path.join(pref_dir, 'bio_color_info.conf')
|
|||
custom_color_dicts = {}
|
|||
color_file = open(color_path, 'r')
|
|||
|
|||
Show and restart the progress bar on the Toggle Table if the TT is defined
|
Show the current progress on the progress bar on the Toggle Table if the TT is defined
|
Get the atoms in the workspace structure that match the given asl
|
Get the entries in the workspace structure are affected by the given asl
|
Return list of the the Visible workspace atoms
|
Return an ASL that represents the Visible workspace atoms
|
Joins 2 asls with the given joiner (default is AND)
|
Puts a modifier in front of asl - which it protects in ()'s to make sure the modifier applies to the whole asl
|
Get the surfaces associated with entry_id entry
|
Get the structures in the workspace referred to by a given toggle table entry
|
Display atoms and bonds with the given style, and turn off ribbons and surfaces
|
Display atoms and bonds with the given style, leaving ribbons as is
|
Display the specified atoms and bonds for a visible entry
|
Set atom display properties (without displaying the atoms) for invisible entries
|
Determine all visible and invisible entries that a toggle table object refers to.
|
Modify the ASL to include current entry id
|
Show ribbons
|
Display all ribons for a visible (i.e. toggled on) entry
|
Display all ribons for an invisible (i.e. toggled off) entry
|
Update the ribbon_bypos_styles dictionary, which stores ribbon display information for invisible entries
|
Update the ribbon_bypca_styles dictionary, which stores ribbon display information for invisible entries
|
Rotate the workspace back and forth smoothly by small degree increments over a span of degrees range. If called when rocking is currently occuring, will stop the rocking.
|
Tries to display the image file in the default image viewer
|
Ensure that filename ends with the proper extension
|
Create a surface
|
If the owner is invisible, hide the newly created surface
|
|
|
|
Find all the entries specified by the given owner or asl
|
Finds the x,y,z coordinates of the center of the atoms
|
Finds all polar contacts (hydrogen bonds) between asl1 and asl2.
|
|
Hide the atoms given by asl
|
Add entry ids to an ASL
|
Run the given Maestro command on the specified atoms
|
If the specified ASL is blank and owner is a selection, return the selection ASL. Otherwise, return the specified ASL.
|
Remove atoms from the owner.visible_atoms list
|
Hide ribbons
|
Hide ribbons from an invisible structure. Note that owner is a mandatory argument, but asl is optional. (The arguments are in this order to be consistent with hide_ribbons, where owner is not mandatory.)
|
Remove the specified atoms from a ToggleTableEntry ribbon styles dictionary
|
Remove the specified atoms from a ToggleTableEntry ribbon colors dictionary
Note: Unlike _filter_ribbon_styles, this function acts directly on the owner object and does not return anything |
Hide a surface
|
Given the toggle table owner, hide a surface.
|
Hide the labels
|
Hide atoms, ribbons and surfaces
Note: At least one argument must be provided. |
Create the Hide menu
|
Get a user-specified color from the list of known Maestro colors
|
Colors the specified atoms with the given color
|
Colors the specified atoms with the given RGB colors
|
Form an ASL that restricts the given ASL to those atoms of a specific element
|
Color H, C, N, O and S by colors
|
The user has selected a new (or re-selected an existing custom set) - add it to the list of custom sets (or move it to the end) so it ends up at the top of the menu
|
Maestro doesn't like blank chain names in ASL without quotes so add the quotes if necessary
|
Returns the atom B-factor
|
Divide atoms up into bins based on their B-factor (temperature factor). The groups are determined to span equal ranges of b-factor (some groups may therefore contain no atoms).
|
Color all the atoms (and sometimes the ribbons) as chainbows
|
|
Adds items common to many context menus
|
|
|||
PROT_AND_DNA_SELE
|
MAESTRO_TO_STRUCT_STYLE
|
MMCT_TO_MAESTRO_RIBBON_STYLE
|
MAESTRO_TO_MMCT_RIBBON_STYLE
|
ATOM_RAINBOW_COLORS
|
RIBBON_RAINBOW_COLORS
|
PYMOL_COLOR_CYCLE
|
RT_COLOR_LABEL_START
|
color_dict
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:13 2015 | http://epydoc.sourceforge.net |