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
051c8e5d
Commit
051c8e5d
authored
2 years ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
docu updates
parent
935bc608
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
actions/ost-compare-structures
+4
-4
4 additions, 4 deletions
actions/ost-compare-structures
modules/doc/actions.rst
+8
-7
8 additions, 7 deletions
modules/doc/actions.rst
modules/mol/alg/pymod/qsscore.py
+1
-1
1 addition, 1 deletion
modules/mol/alg/pymod/qsscore.py
with
13 additions
and
12 deletions
actions/ost-compare-structures
+
4
−
4
View file @
051c8e5d
...
...
@@ -5,13 +5,13 @@ Example: ost compare-structures -m model.pdb -r reference.cif
Loads the structures and performs basic cleanup:
* Assign elements according to the PDB
compound d
ictionary
* Assign elements according to the PDB
Chemical Component D
ictionary
* Map nonstandard residues to their parent residues as defined by the PDB
compound d
ictionary, e.g. phospho-serine => serine
Chemical Component D
ictionary, e.g. phospho-serine => serine
* Remove hydrogens
* Remove OXT atoms
* Remove unknown atoms, i.e. atoms that are not expected according to the PDB
compound d
ictionary
Chemical Component D
ictionary
* Select for peptide/nucleotide residues
The cleaned structures are optionally dumped using -d/--dump-structures
...
...
@@ -51,7 +51,7 @@ enabling -rna/--residue-number-alignment is recommended.
Each score is opt-in and can be enabled with optional arguments.
Example to compute lo
c
al and per-residue lDDT values as well as QS-score:
Example to compute
g
lo
b
al and per-residue lDDT values as well as QS-score:
ost compare-structures -m model.pdb -r reference.cif --lddt --local-lddt \
--qs-score
...
...
This diff is collapsed.
Click to expand it.
modules/doc/actions.rst
+
8
−
7
View file @
051c8e5d
...
...
@@ -19,7 +19,8 @@ Comparing two structures
--------------------------------------------------------------------------------
You can compare two structures from the command line with the
``ost compare-structures`` action.
``ost compare-structures`` action. This can be considered a command line
interface to :class:`ost.mol.alg.scoring.Scorer`
.. warning::
...
...
@@ -47,16 +48,16 @@ Details on the usage (output of ``ost compare-structures --help``):
Example: ost compare-structures -m model.pdb -r reference.cif
Loads the structures and performs basic cleanup:
* Assign elements according to the PDB
compound d
ictionary
* Assign elements according to the PDB
Chemical Component D
ictionary
* Map nonstandard residues to their parent residues as defined by the PDB
compound d
ictionary, e.g. phospho-serine => serine
Chemical Component D
ictionary, e.g. phospho-serine => serine
* Remove hydrogens
* Remove OXT atoms
* Remove unknown atoms, i.e. atoms that are not expected according to the PDB
compound d
ictionary
Chemical Component D
ictionary
* Select for peptide/nucleotide residues
The cleaned structures are optionally dumped using -d/--dump-structures
Output is written in JSON format (default: out.json). In case of no additional
...
...
@@ -94,7 +95,7 @@ Details on the usage (output of ``ost compare-structures --help``):
Each score is opt-in and can be enabled with optional arguments.
Example to compute lo
c
al and per-residue lDDT values as well as QS-score:
Example to compute
g
lo
b
al and per-residue lDDT values as well as QS-score:
ost compare-structures -m model.pdb -r reference.cif --lddt --local-lddt --qs-score
...
...
This diff is collapsed.
Click to expand it.
modules/mol/alg/pymod/qsscore.py
+
1
−
1
View file @
051c8e5d
...
...
@@ -246,7 +246,7 @@ class QSScorer:
chain_mapper = ChainMapper(ent_1)
mapping_result = chain_mapper.GetlDDTMapping(ent_2)
qs_scorer = QSScorer.FromMappingResult(mapping_result)
score_result = qs_scorer.
GetQS
Score(mapping_result.mapping)
score_result = qs_scorer.Score(mapping_result.mapping)
print(
"
score:
"
, score_result.QS_global)
QS-score computation in :func:`QSScorer.Score` implements caching.
...
...
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