Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
f6c110be
Unverified
Commit
f6c110be
authored
1 year ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: SCHWED-5954 document unassigned ligand reporting
parent
6c3fccbd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
actions/ost-compare-ligand-structures
+5
-3
5 additions, 3 deletions
actions/ost-compare-ligand-structures
modules/doc/actions.rst
+6
-1
6 additions, 1 deletion
modules/doc/actions.rst
modules/mol/alg/pymod/ligand_scoring.py
+3
-4
3 additions, 4 deletions
modules/mol/alg/pymod/ligand_scoring.py
with
14 additions
and
8 deletions
actions/ost-compare-ligand-structures
+
5
−
3
View file @
f6c110be
...
@@ -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",
...
...
This diff is collapsed.
Click to expand it.
modules/doc/actions.rst
+
6
−
1
View file @
f6c110be
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
modules/mol/alg/pymod/ligand_scoring.py
+
3
−
4
View file @
f6c110be
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment