3 #ifndef C_INTERFACE_LIGANDS_SWIG_HH
4 #define C_INTERFACE_LIGANDS_SWIG_HH
11 #include "ligand-check.hh"
19 std::pair<mmdb::Residue *, int>
20 new_molecule_sans_biggest_ligand(
int imol);
24 int get_monomer_molecule_by_network_and_dict_gen(
const std::string &text);
34 SCM new_molecule_sans_biggest_ligand_scm(
int imol);
35 void gui_ligand_metrics_scm(SCM ligand_spec, SCM ligand_metrics,
double percentile_limit);
40 PyObject *new_molecule_sans_biggest_ligand_py(
int imol);
41 void gui_ligand_metrics_py(PyObject *ligand_spec, PyObject *ligand_metrics,
double percentile_limit);
47 PyObject *residues_distortions_py(
int imol, PyObject *residue_spec_list);
48 PyObject *get_intermediate_atoms_distortions_py();
54 SCM residues_distortions_scm(
int imol, SCM residue_spec_list_scm);
60 probe_clash_score(
const std::string &dots_file_name);
64 SCM ligand_atom_overlaps_scm(
int imol, SCM ligand_spec,
double neighb_radius);
69 PyObject *ligand_atom_overlaps_py(
int imol, PyObject *ligand_spec,
double neighb_radius);
76 residues_torsions_match_scm(
int imol_1, SCM res_1,
77 int imol_2, SCM res_2,
83 residues_torsions_match_py(
int imol_1, PyObject *res_1,
84 int imol_2, PyObject *res_2,
89 double kolmogorov_smirnov_scm(SCM l1, SCM l2);
90 double kolmogorov_smirnov_vs_normal_scm(SCM l1,
double mean,
double std_dev);
94 SCM kullback_liebler_scm(SCM l1, SCM l2);
98 double kolmogorov_smirnov_py(PyObject *l1, PyObject *l2);
99 double kolmogorov_smirnov_vs_normal_py(PyObject *l1,
double mean,
double std_dev);
103 PyObject *kullback_liebler_py(PyObject *l1, PyObject *l2);
110 print_residue_distortions(
int imol, std::string chain_id,
int res_no, std::string ins_code);
112 display_residue_distortions(
int imol, std::string chain_id,
int res_no, std::string ins_code);
114 void display_residue_hydrogen_bond_atom_status_using_dictionary(
int imol, std::string chain_id,
int res_no,
115 std::string ins_code);
117 write_dictionary_from_residue(
int imol, std::string chain_id,
int res_no, std::string ins_code, std::string cif_file_name);
119 add_dictionary_from_residue(
int imol, std::string chain_id,
int res_no, std::string ins_code);
122 invert_chiral_centre(
int imol, std::string chain_id,
int res_no, std::string ins_code, std::string atom_name);
131 match_residue_and_dictionary(
int imol, std::string chain_id,
int res_no, std::string ins_code,
132 std::string cif_dict_in,
133 std::string cif_dict_out,
134 std::string cif_dict_comp_id,
135 std::string reference_comp_id,
136 std::string output_comp_id,
137 std::string output_compound_name);
143 match_this_residue_and_dictionary(
int imol, std::string chain_id,
int res_no, std::string ins_code,
144 std::string cif_dict_out,
145 std::string reference_comp_id,
146 std::string output_comp_id);
149 bool comprised_of_organic_set_p(
const std::string &rn);
162 void coot_contact_dots_for_ligand_py(
int imol, PyObject *ligand_spec);
164 void switch_HIS_protonation_py(
int imol, PyObject *residue_spec);
171 void coot_reduce(
int imol);
176 void coot_contact_dots_for_ligand_scm(
int imol, SCM residue_spec_scm);
178 void switch_HIS_protonation_scm(
int imol, SCM residue_spec_scm);
190 double get_ligand_percentile(std::string metric_name,
double metric_value,
short int reverse_order);
196 SCM linked_residues_scm(SCM residue_centre,
int imol,
float close_dist_max);
202 PyObject *linked_residues_py(PyObject *residue_centre,
int imol,
float close_dist_max);
230 double gsl_sf_erf_scm(
double v);
232 #endif // C_INTERFACE_LIGANDS_SWIG_HH
PyObject * get_ligand_distortion_summary_info_py(int imol, PyObject *residue_spec)
return the summary info for ligand distortion
void coot_all_atom_contact_dots(int imol)
calculate all-atom contact dots
void coot_add_hydrogen_atoms(int imol)
add Hydrogen atoms to the molecule
SCM get_ligand_distortion_summary_info_scm(int imol, SCM residue_spec)
side-chain 180 flip on the active atom
Coot Scripting Interface - Probe clash interface.
int reverse_jed_flip_intermediate_atoms()
JED-Flip the bond of the active atoms using reversed atom selection (wag the dog) ...
bool enhanced_ligand_coot_p()
is this an "enhanced-ligand" version?
probe clash score
Definition: probe-clash-score.hh:117
void set_all_atom_contact_dots_ignore_water(short int state)
set if all atom contact should ignore water-water interactions (default off)
int jed_flip_intermediate_atoms()
JED-Flip the bond of the active atoms.