<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dmytro Radchenko on Medium]]></title>
        <description><![CDATA[Stories by Dmytro Radchenko on Medium]]></description>
        <link>https://medium.com/@d.radchenko?source=rss-af0c6dc8313d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pyv44guyhTh-nAE5</url>
            <title>Stories by Dmytro Radchenko on Medium</title>
            <link>https://medium.com/@d.radchenko?source=rss-af0c6dc8313d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:14:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@d.radchenko/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Structural Analogs and Where to Find Them]]></title>
            <link>https://medium.com/@d.radchenko/structural-analogs-and-where-to-find-them-2378b9d97b81?source=rss-af0c6dc8313d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2378b9d97b81</guid>
            <category><![CDATA[drug-discovery]]></category>
            <category><![CDATA[cheminformatics]]></category>
            <category><![CDATA[real-compounds]]></category>
            <category><![CDATA[chemical-space]]></category>
            <dc:creator><![CDATA[Dmytro Radchenko]]></dc:creator>
            <pubDate>Fri, 02 May 2025 13:52:36 GMT</pubDate>
            <atom:updated>2025-05-02T13:52:36.058Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Searching for follow-up structures after identifying a hit compound is a standard part of a medicinal chemist’s routine. Enamine frequently receives such requests for both stock and virtual catalogs. During my work with the extensive trillion-sized REAL Space, I often ask myself what an analog is and what is the best way to perform the search.</em></p><p><em>This post presents a perspective on the search for analogs, specifically from a chemist’s point of view. The goal is to encourage discussion about possible approaches to analog searching and to present several possible ways of doing it.</em></p><h4><strong>Similarity Search</strong></h4><p>One of the most popular approaches for finding the analogs is performing a similarity search. As always, there are pros and cons. The first main benefit of a similarity search is that it is <strong>fast</strong>. The second one is that it requires a <strong>bare minimum of input</strong> from a user — typically, only the structure. Comparing the impact of each benefit of the similarity search on its popularity, I think the latter made it so popular. Suppose we have a list of ten structures and want to find the analogs for each structure. What you really want is to get the result right away with minimum effort, without looking at each structure, considering and making assumptions on molecular features important for the activity. You do not want to spend time thinking about acceptable substitutions at a particular position, suitable functional groups in a particular aromatic ring, etc. The similarity search allows you to run a search without delay, and it indeed provides you with structures that look similar to the initial query.</p><p>What I don’t like about the similarity search is the logic behind it. The fact that a structure is considered as the presence or the absence of some fragments within the structure is not necessarily bad. The main problem here is that there are tons of these fragments analyzed during the similarity calculation, most of them irrelevant to a medicinal chemist. Moreover, there is no way to increase the impact of the relevant fragment on the total score or, in other words, to define the fragments which are important for the target molecule to be considered similar to the query.</p><h4><strong>Substructure Search</strong></h4><p>In many aspects, the substructure search is opposite to the similarity search. It operates on a structural level, allowing a chemist to focus on important fragments of the molecule. It is also highly customizable with a possibility to freeze some parts of the molecule while leaving other parts to be varied to something totally dissimilar. This flexibility is the reason why I love substructure search and mostly use it when there is the need to find analogs. The problem is that such <strong>flexibility comes at the cost of complexity</strong>.</p><p>The use of substructure search is not straightforward — quite often, you may find too many or too few structural analogs. With similarity search, you can simply choose the 1,000 most similar compounds, but here you can’t easily add a cut-off or rank the resulting structures. If you have found, e.g. billion structures, your query is probably too broad, and you need to re-write it. Therefore, you repeat the search again and again until the number of found structures falls within a manageable range.</p><p>On the other hand, if you have found only few structures, it may be because the fragment you are searching for is not within the database. To even consider this case, you need to have some knowledge of the database where the search is performed. The other reason why nothing is found can be related to a chemical instability of the searched fragment. To filter out such a possibility, some chemical criticism is needed. Finally, it may be that the query is too specific, so you need to broaden it somehow, possibly by iteratively repeating a query simplification, until a decent number of analogs is found. To do this accurately, you need to keep the essential query fragments untouched and allow more flexibility elsewhere. This exercise might be complicated and would probably require skills in defining molecular patterns, e.g., SMARTS, to reach the expected results. Even experts still have to make a balanced decision on the importance of structural features during every iteration of the query re-writing and have to spend time during a visual inspection of the results. Everything mentioned above makes the substructure search slow and complicated. And what to do if the task is to find analogs for a list of a hundred structures or even a larger set?</p><h4><strong>Towards The Better Search</strong></h4><p>Wouldn’t it be great if we could take advantage of the speed and ease of the similarity search with the focus on the important structural features in the substructure search? With this very idea in mind, I implemented a search algorithm that reproduces the steps and decisions a chemist would take and make when running a substructure-based analog search.</p><p>The goal was to enable a search of analogs in trillion-sized <strong>Enamine REAL</strong> Space for each compound from Enamine Screening Collection containing ~4.5 million compounds. The result should look like a spreadsheet or an SD file with links to the REAL analogs file for each in-stock molecule. I decided to use three different methods, described and explained in the sections below, but with one common feature — the use of the combination of fragment-based version of REAL Space and the internal tool allowing to perform a fragment search without a prior enumeration of all the structures across the enormously huge space. Moreover, to keep the analog list relatively small and diverse, I added an upper limit on a number of structures enumerated from a particular synthon.</p><p><strong>Method 1. Target-Oriented Substructure Search “TGT”</strong></p><p>This method starts with the fragmentation of the query structure into synthons, which were used to enumerate structure using REAL reactions. Then, the obtained synthons are used as queries to find their analogs among available synthons for example REAL reaction X, respecting the synthon role. The example with one query/reaction combination is shown in the picture below, where “SSS” means SubStructureSearch. This approach is applied to every REAL reaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*kmc5y70Dd1U6ejxNyjZpSw.png" /></figure><p>The initial search is performed using 2-component reactions only. If nothing is found, then <strong>the original query</strong> is iteratively simplified. This process may include removal of terminal groups, stereochemistry, small simple cycles, or double bonds until the synthon search is successful. After that the synthons are combined in the process of combinatorial enumeration to give the final list of analogs. If no synthons can be found for any role after all simplification were made, the method restarts, now with 3-component REAL reactions considered.</p><p><strong>Method 2. Synthon-Based Substructure Search “SNT”</strong></p><p>This method was developed for finding the analogs of fragment-like structures. It is useful for the cases when the query structure contains a small number of heavy atoms and cannot be obtained using REAL reactions. Usually, such molecules do not contain the splitting point — a place where REAL reaction produces the bond, e.g. amide bond by amide formation, or 1,2,3-triazole ring by click reaction, etc. When the whole query structure is a part of a REAL synthon, such synthons will be combined with all complementary synthons from the other role(-s) in the reaction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*ELSGmx1AN7DYV-6xtmPacA.png" /></figure><p>This method is somewhat similar to the scaffold decoration because the scaffold synthons (SSS match to the query) are decorated with all possible counterparts, so-called decorators. If no synthons, which contain the query, are found, then the query will be simplified similar to described for TGT. However, the simplification process is limited to two steps for the current method SNT to ensure that the already small structure bears the features of the original query after the simplification process.</p><p><strong>Method 3. Multiple Multi-Synthon Substructure Search “MMS”</strong></p><p>This method is my favorite. It starts with the same search as in the TGT method, from finding the reactions and synthons applicable for the query structure construction. The difference is in the simplification process. Instead of simplifying the query structure followed by a search of synthons, <strong>the obtained synthons</strong> are simplified independently, for each reaction. The simplification algorithm is also a bit different — as with SNT method only minimal changes in synthons are allowed, but at the same time SMARTS-level features are used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*yUfW9wJ9-lh-KUltIr89RQ.png" /></figure><p>Moreover, after the splitting of the initial query, originally obtained synthon_1 is combined with all simplified Synthons_2_1..M and <em>vice versa</em> — all simplified Synthons_1_1..N are combined with originally obtained synthon_2, for each analyzed reaction. This restriction was added to limit the number of changes in the analog molecules after the simplification process. Similar to the other methods, the simplification stops when enough analogs can be enumerated, otherwise, the method re-starts with 3-component reactions.</p><p><strong>Results, Conclusions &amp; Links</strong></p><p>Using all three methods simultaneously, I found more that 100 analogs for each of 4,3 millions compounds from Enamine Screening Collection. For structures where the number of analogs was estimated to be very high, more strict restriction on the number of products per synthon was applied. This was needed for reaching a diverse list of structures rather than a combination of one synthon with 10,000 decorators. Also, note that 10,000 is the maximum number of structures allowed to be enumerated per search method.</p><p>One obvious use of the obtained results is to discriminate those stock compounds, which have more analogs and hence are more advantageous to use in screening libraries because of easy hit follow-up. However, due to different levels of query simplification and a different number of products per synthon, a direct comparison is not straightforward. Still, I believe that the following chart might be useful to get a rough estimation of how many structures in the files with analogs can be found. It shows how many files (X axis) which contain the number of analogs grouped in bins of size 1,000 (Y-axis) were created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*cPIUF-CYKE8NG_3VfsGaNw.png" /></figure><p>You can already see the links to the corresponding files in our plated stock libraries file, for example in 10,000-membered <a href="https://mailenaminenet-my.sharepoint.com/:u:/g/personal/d_radchenko_enamine_net/ESIb2Wyv2HFEjsBZHWh9dUgBxLUh0ccFLaOk_4uOm7pmXA?e=OQoTBw">Diversity Discovery Set-10</a>. Other libraries with analogs links can be found on Enamine’s website. The files with analogs are available for <strong>free to anyone</strong>.</p><p>The links itself follow the simple pattern below:</p><p><a href="https://real.enamine.net/public-enum-files/Z3009656433">https://real.enamine.net/public-enum-files/<strong>Z3009656433</strong></a></p><p>The last part of the URL corresponds to the Catalog ID of Enamine’s in-stock compound. It starts with the capital ‘Z’ followed by numbers. This simple URL pattern allows you to download the file with REAL analogs by a simple substitution of the last part with your Catalog ID.</p><p>The downloaded file is a compressed .smiles file in cxsmiles format. There a field “Tanimoto similarity” in the file, calculated using the default RDKitFingerprint. I have to acknowledge that it may not be the best fingerprint/similarity metric choice, since the similarity score is sometimes not as high as expected from the analog structure. Here is a picture with one random example where for me as a chemist, those structures with similarity less than 0.4 are quite closely resembling the original query:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*M6OwWVgXHOVkWyeYfunSvA.png" /></figure><p>I believe that these analog files will be useful for the med-chem community as a source of diverse REAL analogs and a useful instrument for hit follow-up. What do you thinks about the suggested methods? Let me know in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2378b9d97b81" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>