| Literature DB >> 35668480 |
Henning Otto Brinkhaus1, Kohulan Rajan1, Achim Zielesny2, Christoph Steinbeck3.
Abstract
The development of deep learning-based optical chemical structure recognition (OCSR) systems has led to a need for datasets of chemical structure depictions. The diversity of the features in the training data is an important factor for the generation of deep learning systems that generalise well and are not overfit to a specific type of input. In the case of chemical structure depictions, these features are defined by the depiction parameters such as bond length, line thickness, label font style and many others. Here we present RanDepict, a toolkit for the creation of diverse sets of chemical structure depictions. The diversity of the image features is generated by making use of all available depiction parameters in the depiction functionalities of the CDK, RDKit, and Indigo. Furthermore, there is the option to enhance and augment the image with features such as curved arrows, chemical labels around the structure, or other kinds of distortions. Using depiction feature fingerprints, RanDepict ensures diversely picked image features. Here, the depiction and augmentation features are summarised in binary vectors and the MaxMin algorithm is used to pick diverse samples out of all valid options. By making all resources described herein publicly available, we hope to contribute to the development of deep learning-based OCSR systems.Entities:
Keywords: CDK; Chemical image depiction; Depiction generator image augmentation; Indigo; OCSR; RDKit
Year: 2022 PMID: 35668480 PMCID: PMC9169273 DOI: 10.1186/s13321-022-00609-4
Source DB: PubMed Journal: J Cheminform ISSN: 1758-2946 Impact factor: 8.489
Fig. 1Examples of structure depictions from chemical publications extracted using DECIMER Segmentation which contain non-structural elements like atom labels (left) [11], reaction arrows (middle) [12] and identity labels (right) [13]
Fig. 2Exemplary illustration of depiction feature fingerprints
Fig. 3Depictions of caffeine with various depiction styles generated with RanDepict with feature fingerprint picking without additional augmentations
Fig. 4Depictions of caffeine with various depiction styles and additional non-structural features and noise types generated with RanDepict using feature fingerprint picking
Fig. 5Runtime analysis of chemical structure depiction generation with RanDepict with and without augmentations and the application of the feature fingerprint picking functionality. The dotted lines represent linear regression results for each case
| from RanDepict import RandomDepictor |
| smiles = “CN1C = NC2 = C1C(= O)N(C(= O)N2C)C” |
| with RandomDepictor() as depictor: |
| # Generate chemical structure depictions |
| image = depictor.random_depiction(smiles) |
| # Generate augmented chemical structure depictions |
| augmented_image = depictor(smiles) |