Skip to content

TUHH-TVT/openCOSMO-RS_conformer_pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openCOSMO-RS_conformer_pipeline

Important for the execution are following requirements:

  • Working installation of ORCA 6.0+ (please make sure to download and extract all available compressed files for your OS)
  • The folder containing the ORCA installation has to be added to the path environment variable.
  • Install the xtb executable from the official repo releases. To do this copy the main binary from the 'bin' folder inside the compressed file into the ORCA installation directory and rename it to 'otool_xtb' or 'otool_xtb.exe' depending on your OS.
  • In case you want to use balloon to generate conformers instead of rdkit, you can get balloon here.
  • If you want to run parallelized calculations please check the ORCA manual to see how to setup this properly (installing MPI, setting paths, etc.)

The idea is that you can run the conformer generator as follows:

python ConformerGenerator.py --structures_file file.inp --cpcm_radii cpcm_radii.inp --n_cores 2

with file.inp beeing a TAB separated file similar to the following:

name [TAB] SMILES [TAB] optional xyz file [TAB] charge [TAB] optional geometry optimization

the optional geometry optimization column assumes [0, False, no] to be False and everything else to be True.

Examples:

methane[TAB]C[TAB]xyz_file[TAB]0[TAB]True
ethanol[TAB]CCO[TAB][TAB]0

This is to calculate and plot the sigma profile:

from matplotlib import pyplot as plt
from input_parsers import SigmaProfileParser

spp = SigmaProfileParser(r'path.orcacosmo')
sigmas, areas = spp.cluster_and_create_sigma_profile()

plt.plot(sigmas, areas)
plt.xlim([-0.03, 0.03])
plt.savefig('sigma_profile.png')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages