Package schrodinger :: Package application :: Package msv :: Package io :: Module structure_model :: Class AbstractStructureModel
[hide private]
[frames] | no frames]

Class AbstractStructureModel

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
     PyQt4.QtCore.QObject --+
                            |
                           AbstractStructureModel
Known Subclasses:

Instance Methods [hide private]
 
structureModelChanged(...)
 
structureSelectionChanged(...)
 
__init__(self, parent=None)
x.__init__(...) initializes x; see help(type(x)) for signature
dict (sequence, list)
getResidueColors(self, sequences)
Returns a dictionary mapping sequences to rgb code arrays.
list of schrodinger.applicaiton.msv.alignment.Alignment
getAlignment(self)
Returns an alignment of sequences exported from the structure model and converted for use in the msv.
 
setResidueSelection(self, selection_info)
Sets selection in workspace using specified selection info

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __new__

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

Class Variables [hide private]

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getResidueColors(self, sequences)

 

Returns a dictionary mapping sequences to rgb code arrays.

The rgb code arrays specify the color of the residues in the corresponding sequence on the structure model

Parameters:
  • sequences - An iterable of schrodinger.applicaiton.msv.sequence.ProteinSequence
Returns: dict (sequence, list)
A mapping of sequences to rgb code arrays

setResidueSelection(self, selection_info)

 

Sets selection in workspace using specified selection info

Parameters:
  • selection_info (dict) - A dictionary mapping sequences to selected residues