PyAR stands for “Python program for aggregation and reaction”
Download the file pyar-master.zip. Unzip it. Go the the folder and sudo python3 setup.py install
This will create python package in the path /usr/local/lib/python3.6/dist-packages/pyar/
and will create the command line interface pyar-cli
in /usr/local/bin
or
Run the following command in the pyar folder
sudo -H pip install .
To set up your environment for the tasks, you can create and edit your .bashrc
or .bash_profile
file, depending on your system configuration. After that source ~/.bashrc to run those changes.
# Create an alias for "mndo2020"
alias mndobin="mndo2020"
# Add Gaussian 16 to your PATH
export PATH=$PATH:/home/apps/g16
# Create an alias for GAUSS_EXEDIR
alias GAUSS_EXEDIR="g16"
# Create an alias for MLatom.py
alias mlatom="MLatom.py"
# Install dftd4 executable in this way
conda config --add channels conda-forge
conda install dftd4
conda install -c conda-forge openbabel
alias dftd4bin="dftd4"
#DBCV is not directly accessable via scikit-learn
pip install hdbscan
pip install git+https://github.com/christopherjenness/DBCV.git
pyar-cli -a c.xyz h.xyz -N 8 -as 6 6 --software aiqm1_mlatom -m 1 2
pyar-cli -s water.xyz water.xyz --software xtb -ss 10 -N 16 -c 0 0 -m 1 1
pyar-cli -s water.xyz water.xyz --software aimnet_2 -ss 10 -N 16 -c 0 0 -m 1 1
This will generate a molecules upto maximum 6 carbon and 6 hydrogens with mlatom_aiqm1 potential using 8 trial orientations. Here c.xyz and h.xyz are standard cartesian coordinate files.
1
carbon
C 0.0 0.0 0.0
1
hydrogen
H 0.0 0.0 0.0
To study the reaction between two reactants A and B using ORCA software interface, with force from 100 to 1000 using N=8 trial orientation, the commandline line argument is,
pyar-cli -r A.xyz B.xyz -N 8 -gmin 100 -gmax 1000 --ssoftware orca
A.xyz and B.xyz are the cartesian coordinate files of the reactants
The main program can be used as below:
pyar-cli options files
There are other scripts for a few automation tasks.
pyar-tabu can be used for