MolGraph: a Python package for the implementation of molecular graphs and graph neural networks with TensorFlow and Keras

Alexander Kensert, Gert Desmet, Deirdre Cabooter
8/21/2022
cs.LGq-bio.QM
gnn

Official code: akensert/molgraph (65 stars, Python, MIT, TensorFlow, last commit 2026-03-09).

Abstract

Molecular machine learning (ML) has proven important for tackling various molecular problems, such as predicting molecular properties based on molecular descriptors or fingerprints. Since relatively recently, graph neural network (GNN) algorithms have been implemented for molecular ML, showing comparable or superior performance to descriptor or fingerprint-based approaches.

Show full abstract

Although various tools and packages exist to apply GNNs in molecular ML, a new GNN package, named MolGraph, was developed in this work with the motivation to create GNN model pipelines highly compatible with the TensorFlow and Keras application programming interface (API). MolGraph also implements a chemistry module to accommodate the generation of small molecular graphs, which can be passed to a GNN algorithm to solve a molecular ML problem. To validate the GNNs, they were benchmarked against the datasets of MoleculeNet, as well as three chromatographic retention time datasets. The results on these benchmarks illustrate that the GNNs performed as expected. Additionally, the GNNs proved useful for molecular identification and improved interpretability of chromatographic retention time data. MolGraph is available at https://github.com/akensert/molgraph. Installation, tutorials and implementation details can be found at https://molgraph.readthedocs.io/en/latest/.

View on arXivView PDF

Code Implementations(1)

akensert/molgraphOfficial100%
TensorFlowMIT

Graph neural networks for molecular machine learning: Implemented and compatible with TensorFlow and Keras.

655PythonAug 12, 20228 months agoMIT
bioinformaticscheminformaticscomputational-biologycomputational-chemistrydeep-learning+5 more

Similar Papers

Cite this paper

@article{kensert2022molgraph,
  title  = {MolGraph: a Python package for the implementation of molecular graphs and graph neural networks with TensorFlow and Keras},
  author = {Alexander Kensert and Gert Desmet and Deirdre Cabooter},
  year   = {2022},
  eprint = {2208.09944},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.09944}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.09944.svg)](https://codeofpaper.com/paper/2208.09944)

Discussion