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
e326453b
Unverified
Commit
e326453b
authored
9 months ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: describe heuristic
parent
f7317a5f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/conop/doc/connectivity.rst
+11
-6
11 additions, 6 deletions
modules/conop/doc/connectivity.rst
modules/conop/doc/functions.rst
+6
-3
6 additions, 3 deletions
modules/conop/doc/functions.rst
with
17 additions
and
9 deletions
modules/conop/doc/connectivity.rst
+
11
−
6
View file @
e326453b
...
...
@@ -40,14 +40,19 @@ Processors
The exact behaviour for a processor is implementation-specific. So far, two
classes implement the processor interface: A heuristic and a rule-based
processor. The processors mainly differ in the source of their connectivity
information. The `HeuristicProcessor` uses a hard-coded heuristic connectivity
information.
The `HeuristicProcessor` uses a hard-coded heuristic connectivity
table for the 20 standard amino acids as well as nucleotides. For other
compounds such as ligands the `HeuristicProcessor` runs a distance-based
connectivity algorithm that connects two atoms if they are closer than a certain
threshold. The `RuleBasedProcessor` uses the
:doc:`compound library <compoundlib>`, a connectivity library containing all
molecular components present in the PDB files on PDB.org. The library can easily
be extended with custom connectivity information, if required.
connectivity algorithm that connects two atoms if they belong to the same or
two consecutive residues, and are within a
:func:`reasonable distance <ost.conop.IsBondFeasible>` of each other.
The `RuleBasedProcessor` uses the :doc:`compound library <compoundlib>`,
a connectivity library containing all molecular components present in the
PDB files on PDB.org. The library can easily be extended with custom
connectivity information, if required.
.. class:: Processor
...
...
This diff is collapsed.
Click to expand it.
modules/conop/doc/functions.rst
+
6
−
3
View file @
e326453b
...
...
@@ -33,9 +33,12 @@ Conop Functions
.. function:: IsBondFeasible(atom_a, atom_b)
:return: True, if *atom_a* and *atom_b* are within a reasonable distance for a
bond to be present. Depends on :attr:`~ost.mol.AtomHandle.radius` of
atoms and heuristic formulas.
:return: True, if *atom_a* and *atom_b* are within a reasonable distance for
a bond to be present, namely if the distance between the two atoms
is between 0.0625 and 0.375 times the square of the sum of the
:attr:`van der Waals radii <ost.mol.AtomHandle.radius>` of the two
atom.
:rtype: :class:`bool`
:param atom_a: Atom to be checked.
:type atom_a: :class:`~ost.mol.AtomHandle`
...
...
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