This is the high-level Python interface for msys, intended for use by
chemists.
|
Handle
|
|
Bond
Represents a bond in a System
|
|
Atom
Represents an atom (or pseudoparticle) in a chemical system
|
|
Residue
Represents a residue (group of Atoms) in a System
|
|
Chain
Represents a chain (of Residues) in a System
|
|
Ct
Represents a list of Chains in a System
|
|
PropertyMap
|
|
Param
A `Param` instance is a reference to a row in a `ParamTable`.
|
|
ParamTable
The `ParamTable` class is a 2d table, whose rows are indexed by
``id`` and whose columns are properties; see the discussion of
properties in the Overview.
|
|
Term
A `Term` is a handle for an entry in a `TermTable`.
|
|
TermTable
Each TermTable is intended to describe a specific type of
interaction, e.g.
|
|
System
The `System` class holds all structure and forcefield data
for a single chemical system.
|
|
AnnotatedSystem
System that has been annotated with additional chemical information
|
|
SmartsPattern
A class representing a compiled SMARTS pattern
|
|
IndexedFileLoader
Supports random access to multi-structure files
|
|
Graph
Represents the chemical topology of a System
|
|
InChI
InChI holds an the result of an inchi invocation for a structure
|
|
SpatialHash
SpatialHash provides an interface for efficient spatial queries on
particle positions.
|
|
HydrogenBondFinder
Find candidate hydrogen bonds.
|
|
__add_properties(cls,
*names) |
|
|
|
deserialize_system(data,
suffix=' .dms ' )
helper function for System pickle support |
|
|
|
CreateSystem()
Create a new, empty System |
|
|
|
_convert_ids(hs,
klass=<class 'schrodinger.application.desmond.packages.msys.Atom'>) |
|
|
|
CreateParamTable()
Create a new, empty ParamTable |
|
|
|
LoadDMS(path=None,
structure_only=False,
buffer=None)
Load the DMS file at the given path and return a System containing
it. |
|
|
|
LoadMAE(path=None,
ignore_unrecognized=False,
buffer=None,
structure_only=False)
load the MAE file at the given path and return a System containing
it. |
|
|
|
LoadPDB(path)
Load a PDB file at the given path and return a System. |
|
|
|
LoadPrmTop(path,
structure_only=False)
Load an Amber7 prmtop file at the given path and return a System. |
|
|
|
LoadMol2(path,
multiple=False)
Load a mol2 file at the given path. |
|
|
|
LoadXYZ(path)
Load an xyz file at the given path. |
|
|
|
Load(path,
structure_only=False,
without_tables=None)
Infer the file type of path and load the file. |
|
|
|
|
|
LoadMany(path,
structure_only=False,
error_writer=sys.stdout)
Iterate over structures in a file, if the file type supports
iteration. |
|
|
|
Save(mol,
path,
append=False,
structure_only=False)
Save the given system to path, using a file format guessed from the
path name. |
|
|
|
FormatSDF(mol)
Return System in sdf format |
|
|
|
ParseSDF(text)
Iterate over blocks in sdf format text. |
|
|
|
ReadPDBCoordinates(mol,
path)
Read coordinates and box from the given pdb file into the given
System. |
|
|
|
ReadCrdCoordinates(mol,
path)
Read coordinates from the given Amber crd file into the given System. |
|
|
|
SaveDMS(system,
path,
structure_only=False,
unbuffered=False)
Export the System to a DMS file at the given path. |
|
|
|
SerializeMAE(system,
with_forcefield=True)
Return the MAE form of the System as a string. |
|
|
|
SaveMAE(system,
path,
with_forcefield=True,
append=False)
Export the System (or list of systems) to an MAE file at the given
path. |
|
|
|
SavePDB(system,
path,
append=False)
Export the System to a PDB file at the given path. |
|
|
|
SaveMol2(system,
path,
append=False)
Export the System to a mol2 file at the given path. |
|
|
|
FromSmilesString(smiles,
forbid_stereo=True)
Construct a System from a smiles string. |
|
|
|
TableSchemas()
available schemas for System.addTableFromSchema |
|
|
|
NonbondedSchemas()
available nonbonded schemas for System.addNonbondedFromSchema |
|
|
|
GetSSSR(atoms,
all_relevant=False)
Get smallest set of smallest rings (SSSR) for a system fragment. |
|
|
|
GetRingSystems(atoms)
Get ring systems for the given atoms |
|
|
|
|
|
FindDistinctFragments(system)
Return fragids of representative fragments. |
|
|
|
ComputeTopologicalIds(system)
Compute and return the topological ids for the atoms or system |
|
|
|
CalcDistance(a,
b)
Distance between atoms or positions a and b |
|
|
|
CalcAngle(a,
b,
c)
Angle in radians of atoms or positions a-b-c. |
|
|
|
CalcDihedral(a,
b,
c,
d)
Dihedral angle in radians of atoms or positions a-b-c-d |
|
|
|
ApplyDihedralGeometry(a,
b,
c,
r,
theta,
phi)
Return the position of atom d with cd length r, bcd angle theta, and
abcd dihedral phi, all in radians. |
|
|
|
CalcPlanarity(pos_or_atoms)
Planarity of positions or atoms |
|
|
|
LineIntersectsTriangle(r,
s,
a,
b,
c)
True if line segment rs intersects triangle abc |
|
|
|
CloneSystem(atoms)
Call System.clone(atoms) using the System from the first atom. |
|
|