Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

226 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build Status License tox environments Import Style: isort Code Style: black pre-commit: enabled Zenodo

Graphical Abstract

Predicting HOMO-LUMO Gaps of Natural Compounds with Machine Learning

This package provides tools and workflows for predicting the HOMO-LUMO (HL) gap of natural compounds using machine learning models. It leverages the COCONUT database, RDKit for descriptor calculation, xTB for electronic structure calculations, and Common Workflow Language (CWL) for reproducible computational workflows. The models used are a Gradient Boosting Regressor (GBR) and a Multi-layer Perceptron Regressor (MLPR).

Abstract

This research develops a high-throughput, machine-learning approach to predict HOMO-LUMO (HL) gaps of natural compounds, a key property in cheminformatics and materials science. Using the COCONUT database (407,000 molecules) and RDKit descriptors, we compare Gradient Boosting Regression (GBR) and Multi-layer Perceptron Regression (MLPR) models. The computational workflow, managed by Toil and CWL on a Slurm cluster, uses xTB for electronic structure calculations with Boltzmann weighting. Molecular polarizability (especially SMR_VSA descriptors), aromatic rings, and functional groups like ketones were found to be crucial for HL-gap prediction. While the MLPR model showed good overall performance, accuracy varied across molecular subsets, particularly for molecules with aliphatic carboxylic acids, alcohols, and amines in complex electronic systems. This work demonstrates the potential of machine learning for HL-gap prediction, highlighting the importance of specific structural features and identifying areas for future model improvement.

Key Features

  • Data: Utilizes a subset of the COCONUT database of natural products.
  • Descriptors: Calculates molecular descriptors using RDKit.
  • Electronic Structure: Employs xTB for efficient electronic structure calculations.
  • Workflows: Uses CWL and Toil for reproducible and scalable computational workflows.
  • Machine Learning: Implements Gradient Boosting Regression (GBR) and Multi-layer Perceptron Regression (MLPR) models.
  • Analysis: Provides tools for analyzing feature importance and model performance.

Installation

Detailed installation instructions can be found in the install section of the documentation.

Tutorial

A comprehensive tutorial is available in the tutorial section of the documentation. This includes step-by-step instructions on how to set up and run the package, as well as examples of how to use the various features. Further material can be found in notebooks/ directory.

Contributing

Contributions are welcome! Please see the contributing guidelines for details on how to contribute to the project.

Authors

The authors and contributors are listed in the authors section of the documentation.

License

This project is licensed under the MIT License - see the license file for details.

Citation

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

@software{sthinius87_2025_15113790,
author       = {sthinius87},
title        = {sthinius87/HL-gaps-pub: HL-gaps v0.2.1},
month        = mar,
year         = 2025,
publisher    = {Zenodo},
version      = {v0.2.1},
doi          = {10.5281/zenodo.15113790},
url          = {https://doi.org/10.5281/zenodo.15113790},
}

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages