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
ab68e3e1
Commit
ab68e3e1
authored
7 months ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
compare-structures: add rigid scores specific chain mapping in json output
parent
828c0c5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
actions/ost-compare-structures
+5
-1
5 additions, 1 deletion
actions/ost-compare-structures
modules/doc/actions.rst
+3
-1
3 additions, 1 deletion
modules/doc/actions.rst
with
8 additions
and
2 deletions
actions/ost-compare-structures
+
5
−
1
View file @
ab68e3e1
...
...
@@ -454,7 +454,10 @@ def _ParseArgs():
"8.0] given these positions and transformation, \"oligo_gdtha\": "
"same with thresholds [0.5, 1.0, 2.0, 4.0], \"rmsd\": RMSD given "
"these positions and transformation, \"transform\": the used 4x4 "
"transformation matrix that superposes model onto reference."))
"transformation matrix that superposes model onto reference, "
"\"rigid_chain_mapping\": equivalent of \"chain_mapping\" which "
"is used for rigid scores (optimized for RMSD instead of "
"QS-score/lDDT)."))
parser.add_argument(
"--patch-scores",
...
...
@@ -895,6 +898,7 @@ def _Process(model, reference, args, model_format, reference_format):
out["rmsd"] = _RoundOrNone(scorer.rmsd)
data = scorer.rigid_transform.data
out["transform"] = [data[i:i + 4] for i in range(0, len(data), 4)]
out["rigid_chain_mapping"] = scorer.rigid_mapping.GetFlatMapping()
if args.patch_scores:
out["model_interface_residues"] = \
...
...
This diff is collapsed.
Click to expand it.
modules/doc/actions.rst
+
3
−
1
View file @
ab68e3e1
...
...
@@ -348,7 +348,9 @@ Details on the usage (output of ``ost compare-structures --help``):
thresholds [0.5, 1.0, 2.0, 4.0], "rmsd": RMSD given
these positions and transformation, "transform": the
used 4x4 transformation matrix that superposes model
onto reference.
onto reference, "rigid_chain_mapping": equivalent of
"chain_mapping" which is used for rigid scores
(optimized for RMSD instead of QS-score/lDDT).
--patch-scores Local interface quality score used in CASP15. Scores
each model residue that is considered in the interface
(CB pos within 8A of any CB pos from another chain (CA
...
...
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