OpenStructure
|
Public Member Functions | |
__init__ (self, ent, contact_d=12.0) | |
view (self) | |
contact_d (self) | |
chain_names (self) | |
interacting_chains (self) | |
GetChain (self, chain_name) | |
GetSequence (self, chain_name) | |
GetPos (self, chain_name) | |
PairDist (self, chain_name_one, chain_name_two) | |
GetMinPos (self, chain_name) | |
GetMaxPos (self, chain_name) | |
PotentialInteraction (self, chain_name_one, chain_name_two) | |
Data Fields | |
chain_names | |
contact_d | |
Protected Attributes | |
_view | |
_contact_d | |
_chain_names | |
_interacting_chains | |
_sequence | |
_pos | |
_pair_dist | |
_min_pos | |
_max_pos | |
Helper object for QS-score computation Holds structural information and getters for interacting chains, i.e. interfaces. Peptide residues are represented by their CB position (CA for GLY) and nucleotides by C3'. :param ent: Structure for QS score computation :type ent: :class:`ost.mol.EntityView`/:class:`ost.mol.EntityHandle` :param contact_d: Pairwise distance of residues to be considered as contacts :type contact_d: :class:`float`
Definition at line 8 of file qsscore.py.
__init__ | ( | self, | |
ent, | |||
contact_d = 12.0 |
|||
) |
Definition at line 20 of file qsscore.py.
chain_names | ( | self | ) |
Chain names in :attr:`~view` Names are sorted :type: :class:`list` of :class:`str`
Definition at line 59 of file qsscore.py.
contact_d | ( | self | ) |
Pairwise distance of residues to be considered as contacts Given at :class:`QSEntity` construction :type: :class:`float`
Definition at line 49 of file qsscore.py.
GetChain | ( | self, | |
chain_name | |||
) |
Get chain by name :param chain_name: Chain in :attr:`~view` :type chain_name: :class:`str`
Definition at line 84 of file qsscore.py.
GetMaxPos | ( | self, | |
chain_name | |||
) |
Get max x,y,z cooridnates for given chain Based on positions that are extracted with GetPos :param chain_name: Chain in :attr:`~view` :type chain_name: :class:`str`
Definition at line 154 of file qsscore.py.
GetMinPos | ( | self, | |
chain_name | |||
) |
Get min x,y,z cooridnates for given chain Based on positions that are extracted with GetPos :param chain_name: Chain in :attr:`~view` :type chain_name: :class:`str`
Definition at line 142 of file qsscore.py.
GetPos | ( | self, | |
chain_name | |||
) |
Get representative positions of chain That's CB positions for peptide residues (CA for GLY) and C3' for nucleotides. Returns positions as a numpy array of shape (n_residues, 3). :param chain_name: Chain in :attr:`~view` :type chain_name: :class:`str`
Definition at line 109 of file qsscore.py.
GetSequence | ( | self, | |
chain_name | |||
) |
Get sequence of chain Returns sequence of specified chain as raw :class:`str` :param chain_name: Chain in :attr:`~view` :type chain_name: :class:`str`
Definition at line 95 of file qsscore.py.
interacting_chains | ( | self | ) |
Pairs of chains in :attr:`~view` with at least one contact :type: :class:`list` of :class:`tuples`
Definition at line 71 of file qsscore.py.
PairDist | ( | self, | |
chain_name_one, | |||
chain_name_two | |||
) |
Get pairwise distances between two chains Returns distances as numpy array of shape (a, b). Where a is the number of residues of the chain that comes BEFORE the other in :attr:`~chain_names`
Definition at line 127 of file qsscore.py.
PotentialInteraction | ( | self, | |
chain_name_one, | |||
chain_name_two | |||
) |
Returns True if chains potentially interact Based on crude collision detection. There is no guarantee that they actually interact if True is returned. However, if False is returned, they don't interact for sure. :param chain_name_one: Chain in :attr:`~view` :type chain_name_one: class:`str` :param chain_name_two: Chain in :attr:`~view` :type chain_name_two: class:`str`
Definition at line 166 of file qsscore.py.
view | ( | self | ) |
Processed structure View that only contains representative atoms. That's CB for peptide residues (CA for GLY) and C3' for nucleotides. :type: :class:`ost.mol.EntityView`
Definition at line 38 of file qsscore.py.
|
protected |
Definition at line 27 of file qsscore.py.
|
protected |
Definition at line 24 of file qsscore.py.
|
protected |
Definition at line 28 of file qsscore.py.
|
protected |
Definition at line 35 of file qsscore.py.
|
protected |
Definition at line 34 of file qsscore.py.
|
protected |
Definition at line 31 of file qsscore.py.
|
protected |
Definition at line 30 of file qsscore.py.
|
protected |
Definition at line 29 of file qsscore.py.
|
protected |
Definition at line 23 of file qsscore.py.
chain_names |
Definition at line 78 of file qsscore.py.
contact_d |
Definition at line 80 of file qsscore.py.