Identifying organic molecules with desirable properties from the extensive chemical space can be challenging, particularly when property evaluation methods are time-consuming and resource intensive. In this study, we illustrate this challenge by exploring the chemical space of large oligomers, constructed from monomeric building blocks, for potential use in organic photovoltaics (OPV). To facilitate this exploration, we developed a Python package called stk-search, which employs a building block approach. For this purpose, we developed a python package to search the chemical space using a building block approach: stk-search. We use stk-search (GitHub link) to compare a variety of search algorithms, including those based upon Bayesian optimization and evolutionary approaches. Initially, we evaluated and compared the performance of different search algorithms within a precomputed search space. We then extended our investigation to the vast chemical space of molecules formed of 6 building blocks (6-mers), comprising over 1014 molecules. Notably, while some algorithms show only marginal improvements over a random search approach in a relatively small, precomputed, search space, their performance in the larger chemical space is orders of magnitude better. Specifically, Bayesian optimization identified a thousand times more promising molecules with the desired properties compared to random search, using the same computational resources.
This record contains the dataset generated during the exploration of the space of molecules formed of 6 building blocks for application as donor molecules for OPV application, with calculated properties such as Ionisation potential, excited state energy and oscillator strength.