Package schrodinger :: Package application :: Package desmond :: Module cms :: Class Cms
[hide private]
[frames] | no frames]

Class Cms

structure.Structure --+
                      |
                     Cms

Instance Methods [hide private]
 
__init__(self, file=None, string=None)
Initialize cms object
 
__copy__(self)
Allows the structure to be copied by copy.copy
 
_synchronize_fsys_ct(self)
 
ffio_refresh(self)
'atom_index' starts from 1.
 
get_fullsys_ct_atom_index_range(self, comp_ct_index)
for a given component CT, return a map of that compontent CT in full_system CT
 
gid_refresh(self)
 
gid(self, atom_index)
`atom_index' is the index of the atom in the 'full_system' CT.
 
site(self, atom_index)
`atom_index' starts from 1.
 
model_system_type(self)
 
get_fragname(self)
 
select_atom(self, asl)
 
select_atom_comp(self, asl)
Returns a list of lists.
 
get_restrain(self)
 
_ct_set_restrain(self, ct, ct_restrain)
`ct_restrain' must be a list of `Restrain' objects.
 
set_restrain(self, restrain_list)
`restrain_list' must be a list.
 
clear_restrain(self)
Deletes all existing restraints.
 
get_atom_group(self)
 
set_atom_group(self, atom_group)
 
merge_atom_group(self, atom_group)
 
set_atom_group_from_asl(self, asl, group_name, group_index)
 
merge_atom_group_from_asl(self, asl, group_name, group_index)
 
delete_atom_group(self, group_name)
 
delete_all_atom_group(self, exception=[])
 
get_vdw(self)
Returns the Vdw parameters for all atoms.
 
get_constraint(self)
 
get_num_constraint(self)
 
get_degrees_of_freedom(self)
 
write(self, fname)
Write the structure to a file, overwriting any previous content.
 
write_to_string(self)

Inherited from structure.Structure: __eq__, __getstate__, __int__, __ne__, __repr__, __setstate__, addAtom, addAtoms, addBond, addBonds, adjust, append, applyStyle, areBound, closeBlockIfNecessary, copy, deleteAtoms, deleteBond, extend, extract, findResidue, find_rings, getBond, getChainAtoms, getMoleculeAtoms, getMovingAtoms, getResidueAtoms, getXYZ, inRing, isEquivalent, measure, merge, putToM2ioFile, retype, setXYZ, update, writeToString

Static Methods [hide private]

Inherited from structure.Structure: read

Class Variables [hide private]
  ATOMGROUP_PREFIX = "i_ffio_grp_"
  MODEL_SYSTEM_TYPE = ["standard model system", "model system fo...
  META_ASL = {"heavy_atom": "not atom.elem H", "solute": "atom.s...

Inherited from structure.Structure: atom, atom_total, bond, chain, formal_charge, manage_handle, manual_update, mol_total, molecule, property, residue, ring, title, total_weight

Inherited from structure.Structure (private): _doc, _proxy

Method Details [hide private]

__init__(self, file=None, string=None)
(Constructor)

 

Initialize cms object

Overrides: structure.Structure.__init__

__copy__(self)

 

Allows the structure to be copied by copy.copy

Overrides: structure.Structure.__copy__

select_atom_comp(self, asl)

 

Returns a list of lists. Each list element contains a list of atom indices of the corresponding component CT.

set_restrain(self, restrain_list)

 

`restrain_list' must be a list. Each element must be a list of `Restrain' objects.

get_vdw(self)

 

Returns the Vdw parameters for all atoms. The returned object is a list. Each element of the returned list is a Vdw object for the corresponding atom.

write(self, fname)

 

Write the structure to a file, overwriting any previous content. Format is determined from the file suffix if None is specified, otherwise an explicit value of maestro, sd, pdb, or smiles can be used.

Overrides: structure.Structure.write

Class Variable Details [hide private]

MODEL_SYSTEM_TYPE

Value:
["standard model system", "model system for mutation FEP", "model syst\
em for total free energy FEP",]

META_ASL

Value:
{"heavy_atom": "not atom.elem H", "solute": "atom.s_ffio_ct_type 'solu\
te'", "solvent": "atom.s_ffio_ct_type 'solvent'", "solute_heavy_atom":\
 "atom.s_ffio_ct_type 'solute'  and not atom.elem H", "solvent_heavy_a\
tom": "atom.s_ffio_ct_type 'solvent' and not atom.elem H",}