Skip to content
Snippets Groups Projects
Unverified Commit f6c110be authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: SCHWED-5954 document unassigned ligand reporting

parent 6c3fccbd
Branches
Tags
No related merge requests found
...@@ -48,7 +48,8 @@ options, this is a dictionary with three keys: ...@@ -48,7 +48,8 @@ options, this is a dictionary with three keys:
Each score is opt-in and, be enabled with optional arguments and is added Each score is opt-in and, be enabled with optional arguments and is added
to the output. Keys correspond to the values in "model_ligands" above. to the output. Keys correspond to the values in "model_ligands" above.
Only assigned (mapped) ligands are reported. Unassigned ligands are reported with a message in "unassigned_model_ligands"
and "unassigned_reference_ligands".
""" """
import argparse import argparse
...@@ -199,8 +200,9 @@ def _ParseArgs(): ...@@ -199,8 +200,9 @@ def _ParseArgs():
dest="unassigned", dest="unassigned",
default=False, default=False,
action="store_true", action="store_true",
help=("Report unassigned ligands in the output together with assigned " help=("Report unassigned model ligands in the output together with "
"ligands.")) "assigned ligands, with a null score, and reason for not being "
"assigned."))
parser.add_argument( parser.add_argument(
"--lddt-pli", "--lddt-pli",
......
...@@ -353,7 +353,8 @@ Details on the usage (output of ``ost compare-ligand-structures --help``): ...@@ -353,7 +353,8 @@ Details on the usage (output of ``ost compare-ligand-structures --help``):
Each score is opt-in and, be enabled with optional arguments and is added Each score is opt-in and, be enabled with optional arguments and is added
to the output. Keys correspond to the values in "model_ligands" above. to the output. Keys correspond to the values in "model_ligands" above.
Only assigned (mapped) ligands are reported. Unassigned ligands are reported with a message in
"unassigned_model_ligands" and "unassigned_reference_ligands".
options: options:
-h, --help show this help message and exit -h, --help show this help message and exit
...@@ -406,6 +407,10 @@ Details on the usage (output of ``ost compare-ligand-structures --help``): ...@@ -406,6 +407,10 @@ Details on the usage (output of ``ost compare-ligand-structures --help``):
if global-chain-mapping flag is set. if global-chain-mapping flag is set.
-ra, --rmsd-assignment -ra, --rmsd-assignment
Use RMSD for ligand assignment. Use RMSD for ligand assignment.
-u, --unassigned Report unassigned model ligands in the output
together with assigned ligands, with a null score,
and reason for not being assigned.
--lddt-pli Compute lDDT-PLI score and store as key "lddt-pli". --lddt-pli Compute lDDT-PLI score and store as key "lddt-pli".
--rmsd Compute RMSD score and store as key "rmsd". --rmsd Compute RMSD score and store as key "rmsd".
--radius RADIUS Inclusion radius for the binding site. Any residue --radius RADIUS Inclusion radius for the binding site. Any residue
......
...@@ -229,10 +229,9 @@ class LigandScorer: ...@@ -229,10 +229,9 @@ class LigandScorer:
the optimum. A heuristic is used otherwise. the optimum. A heuristic is used otherwise.
:type n_max_naive: :class:`int` :type n_max_naive: :class:`int`
:param unassigned: If True, unassigned model ligands are reported in :param unassigned: If True, unassigned model ligands are reported in
the output together with assigned ligands, with the the output together with assigned ligands, with a score
a score of None, and reason for not being assigned of None, and reason for not being assigned in the
in the \*_details matrix. \*_details matrix. Defaults to False.
Defaults to False.
:type unassigned: :class:`bool` :type unassigned: :class:`bool`
""" """
def __init__(self, model, target, model_ligands=None, target_ligands=None, def __init__(self, model, target, model_ligands=None, target_ligands=None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment