Skip to content

sinagilassi/GaussParse

Repository files navigation

GaussParse

Downloads PyPI License

GaussParse is a versatile Python package designed for parsing output files generated by Gaussian software, a widely used computational chemistry tool. This package enables users to efficiently extract essential information and perform various analytical tasks directly from Gaussian output files. Whether you need to visualize energy profiles, analyze IRC (Intrinsic Reaction Coordinate) curves, retrieve summary results, or extract molecular orientations, GaussParse provides a streamlined interface to accomplish these tasks with ease.

Key Features:

  • Energy Profile Plotting: Visualize and analyze energy profiles directly from Gaussian output files.

  • IRC Curve Plotting: Generate plots of IRC curves to study reaction pathways.

  • Summary Results Extraction: Extract and summarize key computational results from Gaussian calculations.

  • Molecular Orientation Analysis: Retrieve detailed information about molecular orientations and configurations.

  • Publication-Ready Data: Extract molecular orientation data into a Word file formatted for publication as supplementary information.

  • GaussParse simplifies the process of post-processing Gaussian output, making it an invaluable tool for computational chemists and researchers working in molecular dynamics, quantum chemistry, and related fields.

Installation

Install this project

  pip install GaussParse

Documentation

Import GaussParse

import GaussParse as gp

Available methods

# collect all files

# excel file
xls_file = r'...\\TS2-data.xlsx'
gp.collect_files_from(xls_file, sheet_name="Sheet1")

List all the Gaussian log files in an excel file,

Alt text

All the Gaussian log files are saved in a folder:

Alt text

# Save result summary to Excel

# file
gaussian_log = r"...\1,2LO.txt"
# save in excel
gp.result_summary_to_excel(gaussian_log)

Results summary as:

Alt Results summary

The data are saved in an excel file:

Alt Excel

# Save input orientation to txt

# folder
gaussian_log = r"...\\acetone-limonene-mechanism-1"
# save in txt
gp.input_orientation_to_txt(gaussian_log)

# Transform input orientation to xyz

# file
gaussian_log = r"...\g09_exp.log"
# save in txt
gp.txt_orientation_to_xyz(gaussian_log)

Gaussian log files (saved in a folder)

Alt text

The molecular orientation are saved in a text file (Notepad),

Alt text

# Save IRC profile

# file path
plt_data = "...\\g09_exp.log"
# save IRC profile
gp.plot_irc_profile(plt_data)

IRC profile:

Alt text

# Save energy profile

# file path
plt_data = '...\\energy.xlsx'

# plot energy profile and save it
gp.plot_energy_profile(plt_data)

Load data in an excel file:

Alt text

Energy profile:

Alt text

License

MIT

Citation

If you use this Python package in your research, please cite it as follows:

Sina Gilassi, (2024). GaussParse: A Python package for parsing Gaussian software output. GitHub repository. https://github.com/sinagilassi/GaussParse

FAQ

For any question, contact me on LinkedIn

Authors