In the project of investigation of substituent effect on properties of aromatic halogen atoms the Electrostatic Tools programs were used as a tool to fit a series of electrostatic models. Two types of models were built: multipole-based (ME) one and extra-point-based one (EP).
In this project the Electrostatic Tools programs were used as a tool to fit a series of electrostatic models. Two types of models were built: multipole-based (ME) one and extra-point-based one (EP).
You can reproduce the final models for the structure set. For this purpose you will need to download the set (tar.bz2 - 43Mb or tar.xz - 32Mb) containing files with structures, reference MEP grids, multipole placement rules and a file with molecular descriptors. Untar it and change to "set" directory. You will find several directories and files:
To fit ME and EP models issue the following command from "set" directory (assuming your shell is bash):
for i in mol{1..730} do mult_fitter -I structures/${i}.at.mol2 -G grids/${i}.6-31G_SBKJC.rhf.4c5l.esp -O ME/${i}.me.mmol -L ME/${i}.me.log -p mq_.rules ep_fitter -I structures/${i}.at.mol2 -G grids/${i}.6-31G_SBKJC.rhf.4c5l.esp -O EP/${i}.ep.mmol -L EP/${i}.ep.log -p mq_.rules -x 1.33 -M"[Cl,Br,I,At]" doneThe execution will take some time (about 3 minutes). Normally you should not see any console output. To collect the data issue the following commands:
echo "me_rmsd" > ME.rmsd.txt echo "ep_rmsd" > EP.rmsd.txt for i in mol{1..730} do grep ME/${i}.me.mmol -e "RMSD" | awk '{print $2}' >> ME.rmsd.txt grep EP/${i}.ep.mmol -e "RMSD" | awk '{print $2}' >> EP.rmsd.txt done python3 get_params_me.py > params_me.txt python3 get_params_ep.py > params_ep.txtNow you can use the fitted data for further analysis in any kind of statistical program, for example GNU R.