|
cleanup(topdir=None)
Cleanup function to be run atexit |
|
|
|
map_core_hydrogen(source_ct,
dest_ct,
core_map,
s_remaining_indices,
d_remaining_indices)
Mapping hydrogen atoms connected to the core. |
|
|
|
find_fragment_by_cond(bridge_atom,
cond) |
|
|
|
|
|
|
|
find_all_fragment_pairs(source_ct,
dest_ct,
attachment_points,
core_atom_indices) |
|
|
|
|
|
|
|
fragment_size_cond(frag1,
frag2,
threshold=10) |
|
|
|
heavy_atom_num_cond(frag1,
frag2,
threshold=7) |
|
|
|
|
|
find_fragment_MCS(data,
cond=<function heavy_atom_num_cond at 0x7f1a10d7b500>,
atomtype=11)
Finding MCS in fragment if the fragment pair satisfied specified
conditions. |
|
|
|
convert_rga_data(rga_data,
input_file)
Converting RGA internal data to AtomMappingData object |
|
|
|
convert_data(source_ct,
dest_ct,
source_core_atoms,
dest_core_atoms,
source_attachments,
dest_attachments)
source_ct: dest_ct: source_core_atoms: list of source core atoms
dest_core_atoms: list of dest core atoms source_attachments: list of
source attachment points dest_attachments: list of dest attachment
points |
|
|
|
get_atom_mapping_data(input_file,
atomtype=11) |
|
|
|
run_rga(input_file,
atomtype=11) |
|
|
|
unique_list(seq,
idfun=None)
A fast function to remove duplicate element from sequence by
preserving the order at the same time. |
|
|
|
get_atom_marking(data,
output_file) |
|
|
|
|
|
check_mapping(data,
n1,
n2) |
|
|
|
|
|
is_ring_open_or_closed(s_frag_indices,
d_frag_indices,
s2d_bridge_atom,
d2s_bridge_atom) |
|
|
|
write_fepsubst_to_file(data,
filename,
overwrite=True) |
|
|
|
reorder_atoms(data,
source_ct,
dest_ct) |
|
|
|
check1_subst_code(source_ct,
dest_ct)
take input cts and check single ring-atom/attachment subst_code,
return true if pass |
|
|
|
random_shuffle(data,
atomtype)
generate atommap with random shuffled atom order, return atommaps in
original order |
|
|
|
__raw_fepsubst(mol,
noncore,
cor,
non)
Assigns raw fep_subst code to the given molecule. |
|
|
|
__is_dummy(atom)
Returns true if this atom can become a dummy atom in an alchemical
FEP mutation, or false if not. |
|
|
|
__fix_97atoms(mol)
We loop through all <97> atoms and check if a <97> atom
is connected to more than 1 physical-physical hybrid atoms. |
|
|
|
__fix_99atoms(atom98,
code98,
atom99_set)
This function reassigns the 'fep_subst' code for <99> atoms
that are bonded to the given <98> atom. |
|
|
|
get_subst_from_mapping(mol0,
mol1)
Given two CTs: ct0 and ct1 , with
i_fep_mapping atom properties properly set for all atoms
of ct1 , sets the i_fep_subst atom
properties for both CTs. |
|
|