Skip to main content
zenodoopen

Benchmark comparison tests between Ambit-SMIRKS and RDKit chemoinformatics tools

<p>This archive contains benchmark code and results for Ambit-SMIRKS software package (<a href="http://ambit.sf.net">http://ambit.sf.net</a>) , described in the publication &ldquo;Kochev N,, Avramova S., Jeliazkova N. Ambit-SMIRKS: a Software Module for Reaction Representation, Reaction Search and Structure Transformation&rdquo;.&nbsp;</p> <p>We have performed benchmark testing of Ambit-SMIRKS and RDKit SMIRKS transformation algorithms. For this purpose we used a set of 545 compounds (see file <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/smiles-set.txt?versionId=a49915af-23b7-41d2-9625-4a90cee172b4">smiles-set.txt</a>) including normal constituents of the body or common components of food, provided by Munro et al. [1] and a set of 84 reactions from RetroTransformDB [2] represented as SMIRKS linear notations (see file <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/SMIRKS-RetroDB.txt?versionId=2fa6cb02-013a-4f69-b89a-c18d03b09222">SMIRKS-RetroDB.txt</a>). In both software tools (RDKit and Ambit-SMIRKS), each reaction was applied for all compounds at all possible sites thus performing more than 46000 SMIRKS transformations. For the purpose of comparison, Ambit-SMIRKS was applied in mode ALL with a single copy of the products for each reaction site. The java code for Ambit-SMIRKS test is available in file <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/TestAmbitSmirks.java?versionId=fcb01365-b869-4801-9c5d-43cf8765103a">TestAmbitSmirks.java</a> and respectively python code for RDKit test is present in <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/rdkit-smirks-test-02.py?versionId=d42ab1c5-4c1f-4fad-8457-a6e8a8f4a3ec">rdkit-smirks-test-02.py</a>. In order to run the tests, Ambit dependency modules (version 3.2.0) are required (see more about Ambit at https://ambit.sf.net/) as well as RDKit (release 2018.03) installation is needed (see http://www.rdkit.org/).</p> <p>The tests were performed on a PC computer (Intel/Core i5-8250U, 1.6GHz/12 GB RAM), under Win10 Operating system. The calculations took about 30 seconds for RDKit software and about 40 seconds for Ambit-SMIRKS. &nbsp;The computational time for both software includes the SMIRKS parsing and reaction application as well as molecule preprocessing and file operations. Each algorithm was run 3 times. Detail timing info is present in file <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/time-stat.txt?versionId=57e06cd1-d454-4bc0-a369-13b1e4d6150f">time-stat.txt</a>.</p> <p>The raw data outputs for both software tools respectively are stored in files: <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/rdkit-out.txt?versionId=2fa730f9-6ed8-4e51-a42c-c47799368f3b">rdkit-out.txt </a>and&nbsp; <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/ambit-out-no-eq-filter.txt?versionId=0519c609-06ae-4da8-b3c8-28a316d517d0">ambit-out-no-eq-filter.txt </a></p> <p>The generated output files are constructed from blocks for each SMIRKS in the following format:</p> <p>##smirks-number &lt;SMIRKS&gt;</p> <p>&lt;smiles1&gt; --&gt; &lt;number of reaction sites&gt; &lt;products1&gt;, &lt;products2&gt;, &hellip;</p> <p>&lt;smiles2&gt; --&gt; &lt;number of reaction sites&gt; &lt;products1&gt;, &lt;products2&gt;, &hellip;</p> <p>&hellip;</p> <p>&lt;smiles545&gt; --&gt; &lt;number of reaction sites&gt; &lt;products1&gt;, &lt;products2&gt;, &hellip;</p> <p>On the base of generated raw test data, comparison statistics was summarized in file&nbsp; <a href="https://zenodo.org/api/files/b8c44e94-55a6-48b9-bd11-ff5cee71e55a/compare-ambit-rdkit.xlsx?versionId=5d4d6673-a9f0-47fd-8512-86112b3483f6">compare-ambit-rdkit.xlsx </a>containing following columns: <strong>SMILES</strong> &ndash; target molecule smiles, <strong>smirks_num</strong> &ndash; the index of reaction SMIRKS applied against the target, <strong>Ambit-NEF</strong> &ndash; number of reacted sites in the target molecule for Ambit algorithm, <strong>RDKit</strong> - number of reacted sites in the target molecule for RDKit algorithm , <strong>Diff</strong> &ndash; absolute difference the number reacted sites in Ambit and RDKit, <strong>FlagDiff</strong> &ndash; it is 1 (true) if the <strong>Diff</strong> is non zero, <strong>FlagRDKitReact</strong> &ndash; it is 1 (true) if at least one site is reacted in the target molecule by RDKit tool (i.e. RDKit column values &gt; 0), <strong>FlagAmbitReact</strong> - it is 1 (true) if at least one site is reacted in the target molecule by Ambit-SMIRKS tool (i.e. Ambit-NEF column values &gt; 0).</p> <p>Out of 46410 tests, 6096 test reactions were successfully applied for at least one site in Ambit-SMIRKS (i.e. the value in column Ambit-NEF is not zero) and 5729 reactions were successfully applied for at least one site in RDKit accordingly (i.e. the value in column RDKit is not zero). The obtained total number of reacted sites for Ambit-SMIRKS and RDKit is 41453 and 40782 respectively. We have performed statistics of the number of reacted sites for both software tools and differences were observed for 436 reactions. From our analysis we may infer that the observed differences are mainly due to different treatment of equivalent molecules sites and some small differences of the internal presentation of the molecules and the chemical reactions on both software packages.&nbsp;</p> <p>[1] Munro I., Ford RA, Kennepohl E, Sprenger J. Correlation of structural class with no-observed-effect-levels: a proposal for establishing a threshold of concern. Food Chem Toxicol. 1996;34:829&ndash;867.</p> <p>[2] https://doi.org/10.5281/zenodo.1209313</p>

ShareScore

44/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
8
Harmonization
4
Access
20
Reuse readiness
8
Engagement
4

Topics