OpenStructure
|
Public Member Functions | |
__init__ (self, target, model, chem_groups, chem_mapping, mdl_chains_without_chem_mapping, mapping, alns, opt_score=None) | |
target (self) | |
model (self) | |
chem_groups (self) | |
chem_mapping (self) | |
mdl_chains_without_chem_mapping (self) | |
mapping (self) | |
alns (self) | |
opt_score (self) | |
GetFlatMapping (self, mdl_as_key=False) | |
JSONSummary (self) | |
Data Fields | |
chem_groups | |
mapping | |
Protected Attributes | |
_target | |
_model | |
_chem_groups | |
_chem_mapping | |
_mdl_chains_without_chem_mapping | |
_mapping | |
_alns | |
_opt_score | |
Result object for the chain mapping functions in :class:`ChainMapper` Constructor is directly called within the functions, no need to construct such objects yourself.
Definition at line 33 of file chain_mapping.py.
__init__ | ( | self, | |
target, | |||
model, | |||
chem_groups, | |||
chem_mapping, | |||
mdl_chains_without_chem_mapping, | |||
mapping, | |||
alns, | |||
opt_score = None |
|||
) |
Definition at line 39 of file chain_mapping.py.
alns | ( | self | ) |
Alignments of mapped chains in :attr:`~target` and :attr:`~model` Each alignment is accessible with ``alns[(t_chain,m_chain)]``. First sequence is the sequence of :attr:`target` chain, second sequence the one from :attr:`~model`. :type: :class:`dict` with key: :class:`tuple` of :class:`str`, value: :class:`ost.seq.AlignmentHandle`
Definition at line 111 of file chain_mapping.py.
chem_groups | ( | self | ) |
Groups of chemically equivalent chains in :attr:`~target` Same as :attr:`ChainMapper.chem_group` :class:`list` of :class:`list` of :class:`str` (chain names)
Definition at line 70 of file chain_mapping.py.
chem_mapping | ( | self | ) |
Assigns chains in :attr:`~model` to :attr:`~chem_groups`. :class:`list` of :class:`list` of :class:`str` (chain names)
Definition at line 80 of file chain_mapping.py.
GetFlatMapping | ( | self, | |
mdl_as_key = False |
|||
) |
Returns flat mapping as :class:`dict` for all mapable chains :param mdl_as_key: Default is target chain name as key and model chain name as value. This can be reversed with this flag. :returns: :class:`dict` with :class:`str` as key/value that describe one-to-one mapping
Definition at line 135 of file chain_mapping.py.
JSONSummary | ( | self | ) |
Returns JSON serializable summary of results
Definition at line 154 of file chain_mapping.py.
mapping | ( | self | ) |
Mapping of :attr:`~model` chains onto :attr:`~target` Exact same shape as :attr:`~chem_groups` but containing the names of the mapped chains in :attr:`~model`. May contain None for :attr:`~target` chains that are not covered. No guarantee that all chains in :attr:`~model` are mapped. :class:`list` of :class:`list` of :class:`str` (chain names)
Definition at line 98 of file chain_mapping.py.
mdl_chains_without_chem_mapping | ( | self | ) |
Model chains that cannot be mapped to :attr:`chem_groups` Depends on parameterization of :class:`ChainMapper` :class:`list` of class:`str` (chain names)
Definition at line 88 of file chain_mapping.py.
model | ( | self | ) |
Model structure that gets mapped onto :attr:`~target` Underwent same processing as :attr:`ChainMapper.target`, i.e. only contains peptide/nucleotide chains of sufficient size. :type: :class:`ost.mol.EntityView`
Definition at line 59 of file chain_mapping.py.
opt_score | ( | self | ) |
Placeholder property without any guarantee of being set Different scores get optimized in the various chain mapping algorithms. Some of them may set their final optimal score in that property. Consult the documentation of the respective chain mapping algorithm for more information. Won't be in the return dict of :func:`JSONSummary`.
Definition at line 124 of file chain_mapping.py.
target | ( | self | ) |
Target/reference structure, i.e. :attr:`ChainMapper.target` :type: :class:`ost.mol.EntityView`
Definition at line 51 of file chain_mapping.py.
|
protected |
Definition at line 47 of file chain_mapping.py.
|
protected |
Definition at line 43 of file chain_mapping.py.
|
protected |
Definition at line 44 of file chain_mapping.py.
|
protected |
Definition at line 46 of file chain_mapping.py.
|
protected |
Definition at line 45 of file chain_mapping.py.
|
protected |
Definition at line 42 of file chain_mapping.py.
|
protected |
Definition at line 48 of file chain_mapping.py.
|
protected |
Definition at line 41 of file chain_mapping.py.
chem_groups |
Definition at line 144 of file chain_mapping.py.
mapping |
Definition at line 145 of file chain_mapping.py.