1. Introduction

A scaffold hop replaces the central framework of an active compound while keeping the arrangement of groups that the target recognises. The motive is usually practical: to escape a patent, to improve metabolic stability, to shed a liability carried by the original core. The term was given its current sense by Schneider et al. (1999), who searched for topologically distinct molecules with matching pharmacophore features, and the strategy was reviewed as a discipline of its own by Bohm et al. (2004).

Public compound collections have made the search cheap. PubChem (Kim et al., 2023), ChEMBL (Gaulton et al., 2012; Mendez et al., 2019) and ZINC (Irwin et al., 2020) together offer hundreds of millions of structures with no licence cost. What has not kept pace is the reproducibility of searches made in them. Two groups starting from the same active compound and the same nominal library routinely produce different hit lists, and the reasons are mundane rather than scientific: a different database release, a different treatment of salts and tautomers, a different fingerprint radius, an unstated threshold.

This article proposes a pipeline designed so that a scaffold-hopping search can be repeated exactly by a reader with no access to the original authors. Nothing in it is novel as chemistry; the contribution is the assembly, the explicit recording of every choice that affects the result, and the attention given to the points where published searches most often become irreproducible. The pipeline is a proposal. It has not been run on a real programme here, and no results are reported.

2. Why Scaffold-Hopping Searches Resist Repetition

Three properties of the task make it fragile. The first is that the object being searched for is defined by negation. A useful hit must be similar in the features that matter and dissimilar in the framework, so the search depends on two thresholds pulling in opposite directions, and small movements in either reshape the output. The second is that the frameworks themselves must be derived from the structures, usually by the rule of Bemis and Murcko (1996), which strips side chains to leave ring systems and the linkers between them. That rule is deterministic, but what it is applied to is not: a structure with an unresolved tautomer or an attached counter-ion yields a different framework.

The third is that public libraries are moving targets. Records are added, corrected and withdrawn, and a search described as having been run against a named database is not reproducible unless the release is identified. The curation problem was set out plainly by Fourches et al. (2010), who showed how often errors in structure representation propagate into modelling results, and an open implementation of a defensible curation sequence is described by Bento et al. (2020).

3. Choosing Measures of Similarity

No single measure captures what a medicinal chemist means by a scaffold hop, so the pipeline uses three and treats disagreement between them as informative rather than as noise. Table 1 lists the measures with what each one treats as similar and the role it plays. Circular fingerprints (Rogers and Hahn, 2010) supply a topological baseline; a pharmacophore-type description captures the feature arrangement that motivated the original work of Schneider et al. (1999); and a three-dimensional shape comparison of the kind evaluated by Hawkins et al. (2007) tests whether the candidate can occupy the same volume as the original.

Table 1: Measures of similarity used in the pipeline and the role of each
MeasureWhat it treats as similarRole in the pipeline
Circular fingerprint overlapShared atom neighbourhoods up to a set radiusBaseline; also used in reverse to enforce framework difference
Murcko framework identityThe same ring systems and linkersDefines what counts as a different scaffold (Bemis and Murcko, 1996)
Pharmacophore feature pairsEquivalent features at equivalent distancesCarries the recognition hypothesis (Schneider et al., 1999)
Shape and colour overlayVolume and feature overlap of aligned conformersThree-dimensional check on the two-dimensional hits
Matched molecular pair contextFrameworks exchanged in known compound pairsEvidence that the replacement has precedent
Activity cliff awarenessClose analogues with divergent potencyWarns where similarity is a poor guide (Stumpfe and Bajorath, 2012)

The reverse use of the fingerprint deserves comment. A candidate is required to fall below a stated topological similarity to the query, because a hit that is merely a close analogue is not a hop. Setting that lower bound is the single most consequential parameter in the whole procedure and the one most often left unstated in published work.

4. The Proposed Pipeline

Seven stages follow, shown in Figure 1 and described in turn. Each stage writes a file, and the files together are the provenance record: given them, the search can be regenerated without reference to the people who ran it. Orchestration can use any workflow manager that records container images and parameter values, with a system such as the one described by Di Tommaso et al. (2017) a common choice, and software versions pinned through a package channel rather than described in prose.

Figure 1: The seven stages of the proposed scaffold-hopping pipeline

4.1. Stage 1: Define the query framework

The query is not a compound but a hypothesis about it. The chemist records the active structure, the framework obtained from it by the Bemis and Murcko rule, which atoms carry the features believed to be recognised by the target, and which part of the molecule is to be replaced. Writing this down separates the chemistry hypothesis from the computation, so that a disappointing hit list can be traced to the hypothesis rather than blamed on the software.

4.2. Stage 2: Assemble and version the libraries

Each source is downloaded as a dated release, and the release identifier, the file checksum and the record count are stored. Where a subset is used, the selection query is stored with it rather than described in prose. Mixing sources is expected, since bioactivity-annotated collections and purchasable catalogues serve different purposes, but the origin of every record is kept so that a hit can be traced back to the database that supplied it.

4.3. Stage 3: Standardise structures

Curation follows a fixed sequence: remove counter-ions and solvents, neutralise where the convention requires it, normalise functional group representations, choose a canonical tautomer, discard records that fail valence checks, and deduplicate on a canonical identifier. The standard InChI (Heller et al., 2015) is suitable as the deduplication key, and canonical SMILES (Weininger, 1988) as the working representation. The sequence itself matters: neutralise before tautomer selection and the outcome differs. The implementation of Bento et al. (2020) can be used as published, and whichever sequence is chosen it is recorded as an ordered list of operations rather than as the word curated.

4.4. Stage 4: Enumerate candidate frameworks

Frameworks are extracted from every standardised structure and counted, which turns a library of millions of compounds into a much smaller set of distinct cores. The search then runs over frameworks rather than over compounds, which is both faster and closer to the question being asked. Frameworks identical to the query are set aside at this point, as are those whose topological similarity to the query exceeds the stated upper bound.

4.5. Stage 5: Score with three measures

Each surviving framework, decorated with the substituents implied by the query hypothesis, is scored on the three measures of Table 1. Conformers for the shape comparison are generated with a stated method and a fixed random seed, since conformer generation is stochastic and an unseeded run cannot be repeated. The three scores are kept separate. Combining them into one number is convenient and discards the disagreement that is often the most interesting part of the output.

4.6. Stage 6: Apply chemistry filters

Filters remove what a chemist would reject on sight: reactive and unstable groups, structures outside the intended property range, and frequently flagged interference substructures of the kind catalogued by Baell and Holloway (2010). Those filters are heuristics and are applied as annotations rather than as silent deletions, so that a reviewer can see what was excluded and why. Commercial availability or synthetic accessibility can be annotated at the same stage without being used to rank.

4.7. Stage 7: Publish the list with its provenance

The deliverable is the ranked list together with the query definition, the library releases and checksums, the curation sequence, every threshold, the software versions and seeds, and the filter annotations. Deposited in a repository that issues a persistent identifier, this package satisfies the reuse expectations set out in the FAIR principles (Wilkinson et al., 2016) and makes the search repeatable by a stranger.

5. Fitting the Pipeline to Ordinary Practice

The procedure is intended to run on a workstation rather than a cluster. Framework enumeration is the expensive stage and it is done once per library release, after which the framework table can be reused across projects. The chemistry filters and the shape comparison run only on the shortlist. Most of the stages can be built from RDKit (Landrum, 2006) with modest scripting, and groups already using a workflow manager will find the provenance requirements largely satisfied by their existing configuration files.

The discipline the pipeline imposes is mostly social rather than technical. It asks a group to fix thresholds before seeing the hit list, to keep every intermediate file, and to publish choices that are currently buried in a scientist's notebook. Groups that adopt it will find the first search slower than usual and later searches faster, because the standardised library and framework tables persist.

6. Limitations and What Remains to Be Shown

This article proposes a procedure and does not evaluate it. Three claims would need testing. The first is retrospective recovery: whether, starting from one member of a pair of chemotypes known from the literature to bind the same target, the pipeline places the other high in the ranking more often than a single-measure search. The second is reproducibility in the strict sense, namely whether two groups given only the provenance package produce the same list. The third is the cost of the discipline, measured as the extra effort a group spends against the number of irreproducible searches avoided.

Two cautions apply regardless. Similarity is a weak guide to activity, and closely related structures with sharply different potency are common enough to have their own literature (Stumpfe and Bajorath, 2012), so a high-ranking framework is a hypothesis to be tested and never a result. And a pipeline can only be as good as the chemistry hypothesis entered at stage one; recording that hypothesis explicitly makes its weakness visible, which is a benefit rather than a defect.

7. Conclusion

Scaffold hopping across public libraries is cheap to attempt and difficult to repeat, and the difficulty lies in undocumented choices rather than in the chemistry. The seven-stage pipeline proposed here fixes the library release, the curation sequence, the similarity measures, the thresholds and the random seeds, keeps the three similarity scores separate, and publishes the provenance alongside the hit list. Whether it recovers known chemotype pairs better than simpler searches, and whether the provenance package is sufficient for independent repetition, are open questions that the groups running such searches are well placed to answer.

Conflict of interest

To be declared by the author(s) before publication.

Funding

To be declared by the author(s) before publication.