This is a mapper class used by FEP Scholar GUI so that we don't need
to use Canvas MCS for matching molecule atoms.
|
__init__(self,
st1,
st2,
dist=0.4,
match1=None,
match2=None,
core_hop=False)
Class initializer, which takes two molecule structures that need to
be matched. |
|
|
|
createMap(self)
This function should be called when this class is initialized. |
|
|
tuple
|
getMatches(self)
This function returns tuple that contains lists of 'core' atom
indices for both structures. |
|
|
|
_remove_partial_ring_match(self)
This function takes the two structures and their atom mapping and
removes mapping of atoms that are in partial rings or in alicyclic
substructure |
|
|
|
_update_st2_props(self,
core_mol_orig,
remove_atoms)
Remove i_fep_mapping property from st2 structure of those atoms that
were matched to broken rings and alicyclic matching. |
|
|
|
_getMol1CoreAtomsMapping(self) |
|
|
|
_getMol2CoreAtomsMapping(self) |
|
|
list
|
_getMatches(self,
st,
order_by=None)
This function returns a list of 'core' atoms for a given structure. |
|
|
tuple
|
getMutations(self)
This function finds mutated atoms for two ligand structures. |
|
|
tuple
|
getHotAtoms(self)
This function returns lists of 'hot' atoms for two ligands. |
|
|
tuple
|
|
float
|
getCoreRmsd(self)
This function calculates RMSD for core atoms in two ligands. |
|
|
|
|
|
clear_atom_props(self,
st) |
|
|
|
get_dist(self,
xyz1,
xyz2) |
|
|
|
|
dict
|
get_coords_dict(self,
st)
This function creates so-called coordinates dictionary for each atom
in a structure. |
|
|
|
del_from_carat(self,
idx) |
|
|
|
set_match_atom(self,
atom,
matched_atom_index) |
|
|
|
match_by_cartesian_coordinates(self,
st_new) |
|
|
|
match_by_distance(self,
st_new,
distance) |
|
|
|
get_core_map(self,
st_new) |
|
|
|
remove_unconn_core_atoms(self,
st_new) |
|
|
|
match_core_hydrogens(self,
st_new) |
|
|
|
get_fep_mapping(self,
st) |
|
|
structure.Structure
|
_get_fep_mapping_from_matches(self,
st)
This function is called to set up mapping properties in a given
structure from matching core atom indices provided at class
initialization. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|