Top-level API#
The top-level package provides convenience imports for the most common TMol
objects and workflows. Their full documentation lives in the owning packages,
such as tmol.io, tmol.pose, and tmol.score.
Core objects#
|
The canonical ordering class describes the integer ordering of residue types and for atoms within those residue types for the collection of available residue types defined by a PatchedChemicalDatabase. |
|
Move map for Cartesian-space minimization. |
|
Score coordinate and geometric constraints attached to a pose stack. |
|
Immutable batched coordinate constraints and their tensor storage. |
|
Kinds of directed connections represented in a fold forest. |
|
The fold forest will define the fold trees for the poses in a PoseStack. |
|
Topology and traversal tensors required by a pose kinematics module. |
|
Hierarchical internal-coordinate degrees of freedom for a pose stack. |
|
A class to aggregate the properties for a collection of residue types. |
|
Immutable chemical and scoring parameter container used by tmol. |
|
Batch of molecular systems with shared residue-type definitions. |
|
Weighted collection of energy terms rendered for a pose topology. |
|
Stable indices for energy terms in score-function weight tensors. |
Structure and chemistry#
|
Create a numpy array holding the atom records needed to write a PDB file from a PoseStack. |
|
The canonical form is intended to represent a stable, serializable intermediate format for a structure so that it can be created today and then be read in years from now and be used to construct a PoseStack in tmol. |
|
Create a canonical form from either the contents of a PDB file as one long string or a list of individual lines from the file or by providing the name/path of a PDB file |
|
The canonical form is intended to represent a stable, serializable intermediate format for a structure so that it can be created today and then be read in years from now and be used to construct a PoseStack in tmol. |
|
Construct the CanonicalOrdering object that will be used for the subset of residue types that are used by OpenFold; this will be stable so that the entries in "coords" tensor member of the canonical form dictionary will be interpretable indefinitely and thus a canonical form dictionary can be serialized to disk and read again after an arbitrary amount of time |
|
Construct the CanonicalOrdering object that will be used for the subset of residue types that are used by RoseTTAFold2; this will be stable so that the entries in "coords" tensor member of the canonical form dictionary will be interpretable indefinitely and thus a canonical form dictionary can be serialized to disk and read again after an arbitrary amount of time |
|
Create a CanonicalOrdering object from the default set of residue types |
|
Create a PackedBlockTypes object from the default set of residue types |
|
Build a PoseStack from sequences with ideal geometry and extended backbone torsions. |
|
Return the three-letter amino acid code given its one-letter code, or None if not a valid one-letter code. |
|
Construct the PackedBlockTypes (PBT) object that will be used for the subset of residue types that are used by OpenFold. |
|
Construct the PackedBlockTypes (PBT) object that will be used for the subset of residue types that are used by RoseTTAFold2. |
|
Build a pose stack from tensors in canonical atom ordering. |
|
Build a PoseStack from the output generated by openfold |
|
Construct a PoseStack given the contents of a PDB file or the name of a PDB file, using the full set of residue types contained in tmol's chemical.yaml file. |
|
Build a PoseStack from the output generated by RoseTTAFold2 |
|
Convert a |
|
Return one interactive viewer for several labeled AtomArray selections. |
|
Return HTML that switches one 3Dmol viewer among labeled structures. |
|
Return the one-letter amino acid code given its three letter code, or None if not a valid three-letter code |
|
Create a draggable py3Dmol viewer for a molecular structure. |
|
Write a PDB-formatted file to disk given an input PoseStack. |
Scoring and optimization#
|
Return a ScoreFunction implementing the beta_nov2016_cart score function of Rosetta3. |
|
Build a differentiable kinematic scoring network for a pose stack. |
|
Add coordinate constraints for every declared polymer main-chain atom. |
|
Relax poses through repeated side-chain packing and minimization. |
|
Measure named torsions. |
|
Names of the torsions defined on a block's type, in database order. |
|
Run minimization on a PoseStack in Cartesian coordinate space. |
|
Run minimization on a PoseStack in internal DOF space. |
|
Run minimization on any sfxn module (Cartesian or KinForest). |
|
Set named torsions, returning a new PoseStack. |
C++ and CUDA integration#
TMol: GPU-accelerated molecular modeling with PyTorch.