This is the high-level Python interface for msys, intended for use by
chemists.
|
__add_properties(cls,
*names) |
|
|
|
CreateSystem()
Create a new, empty System |
|
|
|
_find_ids(atoms,
klass=Atom)
return the SystemPtr and IdList for the given set of atoms. |
|
|
|
CloneSystem(atoms)
create a new system from the given list of atoms, which must all be
from the same System and have different ids. |
|
|
|
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. |
|
|
|
LoadSDF(path=None,
buffer=None)
Load an sdf file from either path or buffer |
|
|
|
ScanSDF(path=None,
buffer=None)
Iterate over SDF entries using the Molecule interface. |
|
|
|
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.stderr)
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. |
|
|
|
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. |
|
|
|
SaveSDF(system,
path_or_file,
append=False)
Export the system to the given path or file. |
|
|
|
FromSmilesString(smiles)
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. |
|
|
|
|
|
|
|
AddHydrogens(system_or_atoms) |
|
|
|
GuessHydrogenPositions(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 |
|
|