19 #ifndef OST_MOL_ALG_MOLCK_HH
20 #define OST_MOL_ALG_MOLCK_HH
27 inline std::string BoolToString(
bool b)
29 return b ?
"True" :
"False";
33 namespace ost {
namespace mol{
namespace alg {
49 bool init_rm_non_std=
false,
50 bool init_rm_hyd_atoms=
true,
51 bool init_rm_oxt_atoms=
false,
52 bool init_rm_zero_occ_atoms=
false,
53 bool init_colored=
false,
54 bool init_map_nonstd_res=
true,
55 bool init_assign_elem=
true):
67 std::string rep =
"MolckSettings(rm_unk_atoms=" + BoolToString(
rm_unk_atoms) +
73 ", colored=" + BoolToString(
colored) +
92 bool rm_zero_occ_atoms,
boost::shared_ptr< CompoundLib > CompoundLibPtr
void RemoveAtoms(ost::mol::EntityHandle &ent, ost::conop::CompoundLibPtr lib, bool rm_unk_atoms, bool rm_non_std, bool rm_hyd_atoms, bool rm_oxt_atoms, bool rm_zero_occ_atoms, bool colored=true, bool reprocess=true)
void Molck(ost::mol::EntityHandle &ent, ost::conop::CompoundLibPtr lib, const MolckSettings &settings, bool prune=true)
void MapNonStandardResidues(ost::mol::EntityHandle &ent, ost::conop::CompoundLibPtr lib, bool reprocess=true)
void CleanUpElementColumn(ost::mol::EntityHandle &ent, ost::conop::CompoundLibPtr lib)
MolckSettings(bool init_rm_unk_atoms=false, bool init_rm_non_std=false, bool init_rm_hyd_atoms=true, bool init_rm_oxt_atoms=false, bool init_rm_zero_occ_atoms=false, bool init_colored=false, bool init_map_nonstd_res=true, bool init_assign_elem=true)