|
OpenStructure
|
Inherited by LDDTPLIScorer, and SCRMSDScorer.
Data Fields | |
| model_ligands | |
| target_ligands | |
| state_decoding | |
| target | |
| model | |
Protected Member Functions | |
| _get_report (self, ligand_state, pair_states) | |
| _chain_mapper (self) | |
| _chem_mapping (self) | |
| _chem_group_alns (self) | |
| _ref_mdl_alns (self) | |
| _chain_mapping_mdl (self) | |
| _mdl_chains_without_chem_mapping (self) | |
| _compute_scores (self) | |
| _compute (self, symmetries, target_ligand, model_ligand) | |
| _score_dir (self) | |
| _copy_ligand (self, l, ent, ed, rename_ligand_chain) | |
| _cleanup_polymer_ent (self, ent, clib) | |
Scorer to compute various small molecule ligand (non polymer) scores.
:class:`LigandScorer` is an abstract base class dealing with all the setup,
data storage, enumerating ligand symmetries and target/model ligand
matching/assignment. But actual score computation is delegated to child
classes.
At the moment, two such classes are available:
* :class:`ost.mol.alg.ligand_scoring_lddtpli.LDDTPLIScorer`
that assesses the conservation of protein-ligand
contacts (LDDT-PLI);
* :class:`ost.mol.alg.ligand_scoring_scrmsd.SCRMSDScorer`
that computes a binding-site superposed, symmetry-corrected RMSD
(BiSyRMSD) and ligand pocket LDDT (LDDT-LP).
All versus all scores are available through the lazily computed
:attr:`score_matrix`. However, many things can go wrong... be it even
something as simple as two ligands not matching. Error states therefore
encode scoring issues. An Issue for a particular ligand is indicated by a
non-zero state in :attr:`model_ligand_states`/:attr:`target_ligand_states`.
This invalidates pairwise scores of such a ligand with all other ligands.
This and other issues in pairwise score computation are reported in
:attr:`state_matrix` which has the same size as :attr:`score_matrix`.
Only if the respective location is 0, a valid pairwise score can be
expected. The states and their meaning can be explored with code::
for state_code, (short_desc, desc) in scorer_obj.state_decoding.items():
print(state_code)
print(short_desc)
print(desc)
A common use case is to derive a one-to-one mapping between ligands in
the model and the target for which :class:`LigandScorer` provides an
automated :attr:`assignment` procedure.
By default, only exact matches between target and model ligands are
considered. This is a problem when the target only contains a subset
of the expected atoms (for instance if atoms are missing in an
experimental structure, which often happens in the PDB). With
`substructure_match=True`, complete model ligands can be scored against
partial target ligands. One problem with this approach is that it is
very easy to find good matches to small, irrelevant ligands like EDO, CO2
or GOL. The assignment algorithm therefore considers the coverage,
expressed as the fraction of atoms of the model ligand atoms covered in the
target. Higher coverage matches are prioritized, but a match with a better
score will be preferred if it falls within a window of `coverage_delta`
(by default 0.2) of a worse-scoring match. As a result, for instance,
with a delta of 0.2, a low-score match with coverage 0.96 would be
preferred over a high-score match with coverage 0.70.
Assumptions:
Unlike most of OpenStructure, this class does not assume that the ligands
(either for the model or the target) are part of the PDB component
dictionary. They may have arbitrary residue names. Residue names do not
have to match between the model and the target. Matching is based on
the calculation of isomorphisms which depend on the atom element name and
atom connectivity (bond order is ignored).
It is up to the caller to ensure that the connectivity of atoms is properly
set before passing any ligands to this class. Ligands with improper
connectivity will lead to bogus results.
This only applies to the ligand. The rest of the model and target
structures (protein, nucleic acids) must still follow the usual rules and
contain only residues from the compound library. Structures are cleaned up
according to constructor documentation. We advise to
use the :func:`ost.mol.alg.scoring_base.MMCIFPrep` and
:func:`ost.mol.alg.scoring_base.PDBPrep` for loading which already
clean hydrogens and, in the case of MMCIF, optionally extract ligands ready
to be used by the :class:`LigandScorer` based on "non-polymer" entity types.
In case of PDB file format, ligands must be loaded separately as SDF files.
Only polymers (protein and nucleic acids) of model and target are considered
for ligand binding sites. The
:class:`ost.mol.alg.chain_mapping.ChainMapper` is used to enumerate possible
mappings of these chains. In short: identical chains in the target are
grouped based on pairwise sequence identity
(see pep_seqid_thr/nuc_seqid_thr param). Each model chain is assigned to
one of these groups (see mdl_map_pep_seqid_thr/mdl_map_nuc_seqid_thr param).
To avoid spurious matches, only polymers of a certain length are considered
in this matching procedure (see min_pep_length/min_nuc_length param).
Shorter polymers are never mapped and do not contribute to scoring.
Here is an example of how to setup a scorer::
from ost.mol.alg.ligand_scoring_scrmsd import SCRMSDScorer
from ost.mol.alg.scoring_base import MMCIFPrep
from ost.mol.alg.scoring_base import PDBPrep
# Load data
# Structure model in PDB format, containing the receptor only
model = PDBPrep("path_to_model.pdb")
# Ligand model as SDF file
model_ligand = io.LoadEntity("path_to_ligand.sdf", format="sdf")
# Target loaded from mmCIF, containing the ligand
target, target_ligands = MMCIFPrep("path_to_target.cif",
extract_nonpoly=True)
# Setup scorer object and compute SCRMSD
model_ligands = [model_ligand.Select("ele != H")]
sc = SCRMSDScorer(model, target, model_ligands, target_ligands)
# Perform assignment and read respective scores
for lig_pair in sc.assignment:
trg_lig = sc.target_ligands[lig_pair[0]]
mdl_lig = sc.model_ligands[lig_pair[1]]
score = sc.score_matrix[lig_pair[0], lig_pair[1]]
print(f"Score for {trg_lig} and {mdl_lig}: {score}")
# check cleanup in model and target structure:
print("model cleanup:", sc.model_cleanup_log)
print("target cleanup:", sc.target_cleanup_log)
:param model: Model structure - a deep copy is available as :attr:`model`.
The model undergoes the following cleanup steps which are
dependent on :class:`ost.conop.CompoundLib` returned by
:func:`ost.conop.GetDefaultLib`: 1) removal
of hydrogens, 2) removal of residues for which there is no
entry in :class:`ost.conop.CompoundLib`, 3) removal of
residues that are not peptide linking or nucleotide linking
according to :class:`ost.conop.CompoundLib` 4) removal of
atoms that are not defined for respective residues in
:class:`ost.conop.CompoundLib`. Except step 1), every cleanup
is logged with :class:`ost.LogLevel` Warning and a report is
available as :attr:`model_cleanup_log`.
:type model: :class:`ost.mol.EntityHandle`/:class:`ost.mol.EntityView`
:param target: Target structure - same processing as *model*.
:type target: :class:`ost.mol.EntityHandle`/:class:`ost.mol.EntityView`
:param model_ligands: Model ligands, as a list of
:class:`ost.mol.ResidueHandle`/
:class:`ost.mol.ResidueView`/
:class:`ost.mol.EntityHandle`/
:class:`ost.mol.EntityView`. For
:class:`ost.mol.EntityHandle`/
:class:`ost.mol.EntityView`, each residue is
considered to be an individual ligand.
All ligands are copied into a separate
:class:`ost.mol.EntityHandle` available as
:attr:`model_ligand_ent` and the respective
list of ligands is available as :attr:`model_ligands`.
:type model_ligands: :class:`list`
:param target_ligands: Target ligands, same processing as model ligands.
:type target_ligands: :class:`list`
:param resnum_alignments: Whether alignments between chemically equivalent
chains in *model* and *target* can be computed
based on residue numbers. This can be assumed in
benchmarking setups such as CAMEO/CASP.
:type resnum_alignments: :class:`bool`
:param substructure_match: Set this to True to allow incomplete (i.e.
partially resolved) target ligands.
:type substructure_match: :class:`bool`
:param coverage_delta: the coverage delta for partial ligand assignment.
:type coverage_delta: :class:`float`
:param max_symmetries: If more than that many isomorphisms exist for
a target-ligand pair, it will be ignored and reported
as unassigned.
:type max_symmetries: :class:`int`
:param min_pep_length: Relevant parameter if short peptides are involved in
the polymer binding site. Minimum peptide length for
a chain to be considered in chain mapping.
The chain mapping algorithm first performs an all vs.
all pairwise sequence alignment to identify \"equal\"
chains within the target structure. We go for simple
sequence identity there. Short sequences can be
problematic as they may produce high sequence identity
alignments by pure chance.
:type min_pep_length: :class:`int`
:param min_nuc_length: Same for nucleotides
:type min_nuc_length: :class:`int`
:param pep_seqid_thr: Parameter that affects identification of identical
chains in target - see
:class:`ost.mol.alg.chain_mapping.ChainMapper`
:type pep_seqid_thr: :class:`float`
:param nuc_seqid_thr: Parameter that affects identification of identical
chains in target - see
:class:`ost.mol.alg.chain_mapping.ChainMapper`
:type nuc_seqid_thr: :class:`float`
:param mdl_map_pep_seqid_thr: Parameter that affects mapping of model chains
to target chains - see
:class:`ost.mol.alg.chain_mapping.ChainMapper`
:type mdl_map_pep_seqid_thr: :class:`float`
:param mdl_map_nuc_seqid_thr: Parameter that affects mapping of model chains
to target chains - see
:class:`ost.mol.alg.chain_mapping.ChainMapper`
:type mdl_map_nuc_seqid_thr: :class:`float`
:param seqres: Parameter that affects identification of identical chains in
target - see :class:`ost.mol.alg.chain_mapping.ChainMapper`
:type seqres: :class:`ost.seq.SequenceList`
:param trg_seqres_mapping: Parameter that affects identification of identical
chains in target - see
:class:`ost.mol.alg.chain_mapping.ChainMapper`
:type trg_seqres_mapping: :class:`dict`
Definition at line 51 of file ligand_scoring_base.py.
| __init__ | ( | self, | |
| model, | |||
| target, | |||
| model_ligands, | |||
| target_ligands, | |||
resnum_alignments = False, |
|||
substructure_match = False, |
|||
coverage_delta = 0.2, |
|||
max_symmetries = 1e5, |
|||
rename_ligand_chain = False, |
|||
min_pep_length = 6, |
|||
min_nuc_length = 4, |
|||
pep_seqid_thr = 95., |
|||
nuc_seqid_thr = 95., |
|||
mdl_map_pep_seqid_thr = 0., |
|||
mdl_map_nuc_seqid_thr = 0., |
|||
seqres = None, |
|||
trg_seqres_mapping = None |
|||
| ) |
Reimplemented in LDDTPLIScorer, and SCRMSDScorer.
Definition at line 247 of file ligand_scoring_base.py.
|
protected |
Chain mapper object for the given :attr:`target`. Can be used by child classes if needed, constructed with *resnum_alignments* flag :type: :class:`ost.mol.alg.chain_mapping.ChainMapper`
Definition at line 978 of file ligand_scoring_base.py.
|
protected |
Definition at line 1029 of file ligand_scoring_base.py.
|
protected |
Definition at line 1011 of file ligand_scoring_base.py.
|
protected |
Definition at line 1003 of file ligand_scoring_base.py.
|
protected |
In principle molck light but logs LigandScorer specific warnings Only to be applied to polymer entity 1) removes atoms with elements set to H or D (not logged as there is no effect on scoring) 2) removes residues with no entry in component dictionary 3) removes all residues that are not peptide_liking or nucleotide_linking according component dictionary 4) removes unknown atoms according to component dictionary 5) reruns processor
Definition at line 1283 of file ligand_scoring_base.py.
|
protected |
Compute score for specified ligand pair - defined by child class
Raises :class:`NotImplementedError` if not implemented by child class.
:param symmetries: Defines symmetries between *target_ligand* and
*model_ligand*. Return value of
:func:`ComputeSymmetries`
:type symmetries: :class:`list` of :class:`tuple` with two elements
each: 1) :class:`list` of atom indices in
*target_ligand* 2) :class:`list` of respective atom
indices in *model_ligand*
:param target_ligand: The target ligand
:type target_ligand: :class:`ost.mol.ResidueHandle` or
:class:`ost.mol.ResidueView`
:param model_ligand: The model ligand
:type model_ligand: :class:`ost.mol.ResidueHandle` or
:class:`ost.mol.ResidueView`
:returns: A :class:`tuple` with three elements: 1) a score
(:class:`float`) 2) state (:class:`int`).
3) auxiliary data for this ligand pair (:class:`dict`).
If state is 0, the score and auxiliary data will be
added to :attr:`~score_matrix` and :attr:`~aux_matrix` as well
as the respective value in :attr:`~coverage_matrix`.
Returned score must be valid in this case (not None/NaN).
Child specific non-zero states must be >= 10.
Reimplemented in LDDTPLIScorer, and SCRMSDScorer.
Definition at line 1194 of file ligand_scoring_base.py.
|
protected |
Compute score for every possible target-model ligand pair and store the result in internal matrices.
Definition at line 1045 of file ligand_scoring_base.py.
|
protected |
Copies ligand into entity and returns residue handle
Definition at line 1235 of file ligand_scoring_base.py.
|
protected |
Helper
Definition at line 764 of file ligand_scoring_base.py.
|
protected |
Definition at line 1038 of file ligand_scoring_base.py.
|
protected |
Definition at line 1019 of file ligand_scoring_base.py.
|
protected |
Return direction of score - defined by child class Relevant for ligand assignment. Must return a string in ['+', '-']. '+' for ascending scores, i.e. higher is better (lddt etc.) '-' for descending scores, i.e. lower is better (rmsd etc.)
Reimplemented in LDDTPLIScorer, and SCRMSDScorer.
Definition at line 1225 of file ligand_scoring_base.py.
| assignment | ( | self | ) |
Ligand assignment based on computed scores Implements a greedy algorithm to assign target and model ligands with each other. Starts from each valid ligand pair as indicated by a state of 0 in :attr:`state_matrix`. Each iteration first selects high coverage pairs. Given max_coverage defined as the highest coverage observed in the available pairs, all pairs with coverage in [max_coverage-*coverage_delta*, max_coverage] are selected. The best scoring pair among those is added to the assignment and the whole process is repeated until there are no ligands to assign anymore. :rtype: :class:`list` of :class:`tuple` (trg_lig_idx, mdl_lig_idx)
Definition at line 621 of file ligand_scoring_base.py.
| aux | ( | self | ) |
Get a dictionary of score details, keyed by model ligand Extract dict with something like: ``scorer.score[lig.GetChain().GetName()][lig.GetNumber()]``. The returned info dicts are based on :attr:`~assignment`. The content is documented in the respective child class. :rtype: :class:`dict`
Definition at line 697 of file ligand_scoring_base.py.
| aux_matrix | ( | self | ) |
Get the matrix of scorer specific auxiliary data. Target ligands are in rows, model ligands in columns. Auxiliary data consists of arbitrary data dicts which allow a child class to provide additional information for a scored ligand pair. empty dictionaries indicate that the child class simply didn't return anything or that no value could be computed (e.g. different ligands). In other words: values are only valid if respective location in the :attr:`~state_matrix` is 0. :rtype: :class:`~numpy.ndarray`
Definition at line 602 of file ligand_scoring_base.py.
| coverage_delta | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 514 of file ligand_scoring_base.py.
| coverage_matrix | ( | self | ) |
Get the matrix of model ligand atom coverage in the target. Target ligands are in rows, model ligands in columns. NaN values indicate that no value could be computed (i.e. different ligands). In other words: values are only valid if the respective location in :attr:`~state_matrix` is 0. If `substructure_match=False`, only full match isomorphisms are considered, and therefore only values of 1.0 can be observed. :rtype: :class:`~numpy.ndarray`
Definition at line 584 of file ligand_scoring_base.py.
| get_model_ligand_state_report | ( | self, | |
| mdl_lig_idx | |||
| ) |
Get summary of states observed with respect to all target ligands
Mainly for debug purposes
:param mdl_lig_idx: Index of model ligand for which report should be
generated
:type mdl_lig_idx: :class:`int`
Definition at line 752 of file ligand_scoring_base.py.
| get_target_ligand_state_report | ( | self, | |
| trg_lig_idx | |||
| ) |
Get summary of states observed with respect to all model ligands
Mainly for debug purposes
:param trg_lig_idx: Index of target ligand for which report should be
generated
:type trg_lig_idx: :class:`int`
Definition at line 740 of file ligand_scoring_base.py.
| guess_model_ligand_unassigned_reason | ( | self, | |
| mdl_lig_idx | |||
| ) |
Makes an educated guess why model ligand is not assigned
This either returns actual error states or custom states that are
derived from them. Currently, the following reasons are reported:
* `no_ligand`: there was no ligand in the target.
* `disconnected`: the ligand graph is disconnected.
* `identity`: the ligand was not found in the target (by graph or
subgraph isomorphism). Check your ligand connectivity.
* `no_iso`: no full isomorphic match could be found. Try enabling
`substructure_match=True` if the target ligand is incomplete.
* `symmetries`: too many symmetries were found (by graph isomorphisms).
Try to increase `max_symmetries`.
* `stoichiometry`: there was a possible assignment in the target, but
the model target was already assigned to a different model ligand.
This indicates different stoichiometries.
* `no_contact` (LDDT-PLI only): There were no LDDT contacts between
the binding site and the ligand, and LDDT-PLI is undefined.
* `target_binding_site` (SCRMSD only): a potential assignment was found
in the target, but there were no polymer residues in proximity of the
ligand in the target.
* `model_binding_site` (SCRMSD only): a potential assignment was
found in the target, but no binding site was found in the model.
Either the binding site was not modeled or the model ligand was
positioned too far in combination with `full_bs_search=False`.
:param mdl_lig_idx: Index of model ligand
:type mdl_lig_idx: :class:`int`
:returns: :class:`tuple` with two elements: 1) keyword 2) human readable
sentence describing the issue, (\"unknown\",\"unknown\") if
nothing obvious can be found.
:raises: :class:`RuntimeError` if specified model ligand is assigned
Definition at line 867 of file ligand_scoring_base.py.
| guess_target_ligand_unassigned_reason | ( | self, | |
| trg_lig_idx | |||
| ) |
Makes an educated guess why target ligand is not assigned
This either returns actual error states or custom states that are
derived from them. Currently, the following reasons are reported:
* `no_ligand`: there was no ligand in the model.
* `disconnected`: the ligand graph was disconnected.
* `identity`: the ligand was not found in the model (by graph
isomorphism). Check your ligand connectivity.
* `no_iso`: no full isomorphic match could be found. Try enabling
`substructure_match=True` if the target ligand is incomplete.
* `symmetries`: too many symmetries were found (by graph isomorphisms).
Try to increase `max_symmetries`.
* `stoichiometry`: there was a possible assignment in the model, but
the model ligand was already assigned to a different target ligand.
This indicates different stoichiometries.
* `no_contact` (LDDT-PLI only): There were no LDDT contacts between
the binding site and the ligand, and LDDT-PLI is undefined.
* `target_binding_site` (SCRMSD only): no polymer residues were in
proximity of the target ligand.
* `model_binding_site` (SCRMSD only): the binding site was not found
in the model. Either the binding site was not modeled or the model
ligand was positioned too far in combination with
`full_bs_search=False`.
:param trg_lig_idx: Index of target ligand
:type trg_lig_idx: :class:`int`
:returns: :class:`tuple` with two elements: 1) keyword 2) human readable
sentence describing the issue, (\"unknown\",\"unknown\") if
nothing obvious can be found.
:raises: :class:`RuntimeError` if specified target ligand is assigned
Definition at line 783 of file ligand_scoring_base.py.
| max_symmetries | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 520 of file ligand_scoring_base.py.
| mdl_map_nuc_seqid_thr | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 490 of file ligand_scoring_base.py.
| mdl_map_pep_seqid_thr | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 484 of file ligand_scoring_base.py.
| min_nuc_length | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 466 of file ligand_scoring_base.py.
| min_pep_length | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 460 of file ligand_scoring_base.py.
| model | ( | self | ) |
Model receptor structure Processed according to docs in :class:`LigandScorer` constructor
Definition at line 390 of file ligand_scoring_base.py.
| model_cleanup_log | ( | self | ) |
Reports residues/atoms that were removed in model during cleanup
Residues and atoms are described as :class:`str` in format
<chain_name>.<resnum>.<ins_code> (residue) and
<chain_name>.<resnum>.<ins_code>.<aname> (atom).
:class:`dict` with keys:
* 'cleaned_residues': another :class:`dict` with keys:
* 'no_clib': residues that have been removed because no entry could be
found in :class:`ost.conop.CompoundLib`
* 'not_linking': residues that have been removed because they're not
peptide or nucleotide linking according to
:class:`ost.conop.CompoundLib`
* 'cleaned_atoms': another :class:`dict` with keys:
* 'unknown_atoms': atoms that have been removed as they're not part
of their respective residue according to
:class:`ost.conop.CompoundLib`
Definition at line 406 of file ligand_scoring_base.py.
| model_ligand_states | ( | self | ) |
Encodes states of model ligands Non-zero state in any of the model ligands invalidates the full respective column in :attr:`~state_matrix`. :rtype: :class:`~numpy.ndarray`
Definition at line 542 of file ligand_scoring_base.py.
| model_ligands | ( | self | ) |
Residues representing model ligands :class:`list` of :class:`ost.mol.ResidueHandle`
Definition at line 438 of file ligand_scoring_base.py.
| nuc_seqid_thr | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 478 of file ligand_scoring_base.py.
| pep_seqid_thr | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 472 of file ligand_scoring_base.py.
| resnum_alignments | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 454 of file ligand_scoring_base.py.
| score | ( | self | ) |
Get a dictionary of score values, keyed by model ligand Extract score with something like: ``scorer.score[lig.GetChain().GetName()][lig.GetNumber()]``. The returned scores are based on :attr:`~assignment`. :rtype: :class:`dict`
Definition at line 675 of file ligand_scoring_base.py.
| score_matrix | ( | self | ) |
Get the matrix of scores. Target ligands are in rows, model ligands in columns. NaN values indicate that no value could be computed (i.e. different ligands). In other words: values are only valid if the respective location in :attr:`~state_matrix` is 0. :rtype: :class:`~numpy.ndarray`
Definition at line 568 of file ligand_scoring_base.py.
| seqres | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 496 of file ligand_scoring_base.py.
| state_matrix | ( | self | ) |
Encodes states of ligand pairs Ligand pairs can be matched and a valid score can be expected if respective location in this matrix is 0. Target ligands are in rows, model ligands in columns. States are encoded as integers <= 9. Larger numbers encode errors for child classes. Use something like ``self.state_decoding[3]`` to get a decscription. :rtype: :class:`~numpy.ndarray`
Definition at line 526 of file ligand_scoring_base.py.
| substructure_match | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 508 of file ligand_scoring_base.py.
| target | ( | self | ) |
Target receptor structure Processed according to docs in :class:`LigandScorer` constructor
Definition at line 398 of file ligand_scoring_base.py.
| target_cleanup_log | ( | self | ) |
Same for target
Definition at line 432 of file ligand_scoring_base.py.
| target_ligand_states | ( | self | ) |
Encodes states of target ligands Non-zero state in any of the target ligands invalidates the full respective row in :attr:`~state_matrix`. :rtype: :class:`~numpy.ndarray`
Definition at line 555 of file ligand_scoring_base.py.
| target_ligands | ( | self | ) |
Residues representing target ligands :class:`list` of :class:`ost.mol.ResidueHandle`
Definition at line 446 of file ligand_scoring_base.py.
| trg_seqres_mapping | ( | self | ) |
Given at :class:`LigandScorer` construction
Definition at line 502 of file ligand_scoring_base.py.
| unassigned_model_ligands | ( | self | ) |
Get indices of model ligands which are not assigned :rtype: :class:`list` of :class:`int`
Definition at line 731 of file ligand_scoring_base.py.
| unassigned_model_ligands_reasons | ( | self | ) |
Definition at line 952 of file ligand_scoring_base.py.
| unassigned_target_ligands | ( | self | ) |
Get indices of target ligands which are not assigned :rtype: :class:`list` of :class:`int`
Definition at line 721 of file ligand_scoring_base.py.
| unassigned_target_ligands_reasons | ( | self | ) |
Definition at line 965 of file ligand_scoring_base.py.
|
protected |
Definition at line 359 of file ligand_scoring_base.py.
|
protected |
Definition at line 361 of file ligand_scoring_base.py.
|
protected |
Definition at line 356 of file ligand_scoring_base.py.
|
protected |
Definition at line 1025 of file ligand_scoring_base.py.
|
protected |
Definition at line 1024 of file ligand_scoring_base.py.
|
protected |
Definition at line 327 of file ligand_scoring_base.py.
|
protected |
Definition at line 355 of file ligand_scoring_base.py.
|
protected |
Definition at line 328 of file ligand_scoring_base.py.
|
protected |
Definition at line 334 of file ligand_scoring_base.py.
|
protected |
Definition at line 333 of file ligand_scoring_base.py.
|
protected |
Definition at line 330 of file ligand_scoring_base.py.
|
protected |
Definition at line 329 of file ligand_scoring_base.py.
|
protected |
Definition at line 259 of file ligand_scoring_base.py.
|
protected |
Definition at line 280 of file ligand_scoring_base.py.
|
protected |
Definition at line 285 of file ligand_scoring_base.py.
|
protected |
Definition at line 350 of file ligand_scoring_base.py.
|
protected |
Definition at line 304 of file ligand_scoring_base.py.
|
protected |
Definition at line 332 of file ligand_scoring_base.py.
|
protected |
Definition at line 331 of file ligand_scoring_base.py.
|
protected |
Definition at line 325 of file ligand_scoring_base.py.
|
protected |
Definition at line 360 of file ligand_scoring_base.py.
|
protected |
Definition at line 354 of file ligand_scoring_base.py.
|
protected |
Definition at line 335 of file ligand_scoring_base.py.
|
protected |
Definition at line 349 of file ligand_scoring_base.py.
|
protected |
Definition at line 326 of file ligand_scoring_base.py.
|
protected |
Definition at line 266 of file ligand_scoring_base.py.
|
protected |
Definition at line 278 of file ligand_scoring_base.py.
|
protected |
Definition at line 284 of file ligand_scoring_base.py.
|
protected |
Definition at line 351 of file ligand_scoring_base.py.
|
protected |
Definition at line 289 of file ligand_scoring_base.py.
|
protected |
Definition at line 336 of file ligand_scoring_base.py.
| model |
Definition at line 1007 of file ligand_scoring_base.py.
| model_ligands |
Definition at line 320 of file ligand_scoring_base.py.
| state_decoding |
Definition at line 374 of file ligand_scoring_base.py.
| target |
Definition at line 989 of file ligand_scoring_base.py.
| target_ligands |
Definition at line 322 of file ligand_scoring_base.py.