Main

Cell-surface heterogeneity is exploited in nature as a central strategy for discrimination in multicellular systems with the purpose of modulating biological functions in time and space. Designing protein tools that emulate this paradigm with new and highly selective stimulus–response functions provides opportunities to study complex cell biochemistry and to create sophisticated synthetic biology outputs. Current synthetic systems use macromolecular targeting modalities, such as antibodies, to selectively deliver activities that affect downstream cellular function6,7. Despite the notable successes of this strategy, it is limited by the fact that single antigens rarely define cell or tissue types, and the wrongful commitment of these agents can therefore complicate their use in more complex settings4,5. Protein Boolean logic gates8,9 have been implemented to define targeting more finely10,11, whereby engineered antibody-based platforms or synthetic protein switches use the concurrent binding of two or more targeting vectors to recruit a third effector modality12,13,14. Although these are exciting developments, many effector modalities (such as cytokines and enzymes) are highly active in ways that are independent of any Boolean-based recruitment, and they will therefore exert activities unconstrained by target binding. It therefore remains an outstanding challenge to turn on protein function in situ from an inactive state in response to cell-surface cues. Developing a system that allows for the local generation of effector proteins is one way of achieving this goal. Fragmented proteins are often inactive but their function can be gained by proximity-induced complementation or ligation15,16,17. Thus, a control strategy could be devised that uses the identity of cell-surface antigens to recruit inactive precursor polypeptides, which in proximity would template the reconstitution of an effector molecule on a target cell by in situ protein ligation. In this scenario, activation of the desired protein function occurs only on the subset of target cells displaying the predefined antigen combination, in essence making the effector activity stringently cell selective.

Conditional protein splicing (CPS) is an attractive strategy to control protein structure and function because it uses the autocatalytic excision–ligation reaction of split inteins to synthesize functional proteins on demand from precursor polypeptides16 (Supplementary Fig. 2a,b). We previously engineered the conditional reactivity of the ultra-efficient split inteins Npu, gp41-1, gp41-8 and NrdJ-1 (ref. 18). This was done by caging each split intein fragment with a truncated segment of the matching partner (Supplementary Fig. 2c), thereby strongly inhibiting the initial fragment–fragment complexation required for splicing. However, because each caged split-intein fragment exists in an incomplete and therefore semi-frustrated structural state, the pair will readily undergo a spontaneous intermolecular domain-swapping event to produce the functional intein fold when colocalized19 (Supplementary Fig. 2c). Any input that induces such colocalization can in principle program this strategy, theoretically limited only by which targeting vectors can be appended onto the caged split-intein fragment pair. Importantly, CPS serves as a broadly applicable control strategy for the on-demand generation of a wide array of protein functions20, with the caged split intein thereby functioning as an actuator of a rewired stimulus–response relationship. We therefore proposed an approach that uses the unique features of a cell-surface landscape to conditionally template in situ protein trans-splicing, thereby achieving cell-selective protein function.

Here, we develop a protein actuator system called splicing-modulated actuation upon recognition of targets (SMART), which discriminates between various cell populations on the basis of their surface landscapes, such that cells with correct antigen combinations template protein trans-splicing on their surface (Fig. 1a). We show that the system is compatible with a wide variety of targeting modalities, from antibody fragments to small molecules that drive the cell-selective ligation of proteins. The localized activities of these proteins can be used in applications as varied as gated-proximity labelling and the induction of localized cellular signalling outputs.

Fig. 1: A protein actuator that computes Boolean logic on live-cell surfaces using conditional protein splicing.
figure 1

a, Complementary caged split intein fragments (IntNcage and IntCcage) are fused to targeting vectors (anti-Ag1 and anti-Ag2) to different cell-surface antigens (Ag1 and Ag2). Colocalization on the cell surface leads to protein trans-splicing and generation of a functional protein nested between anti-Ag1 and anti-Ag2. The system works as an AND-gated input-to-output actuator. b, As a functional output, SMART-SpyCatcher was designed by splitting SpyCatcher003 at residues 73–74 and fusing the fragments to IntNcage and IntCcage. The reconstituted SpyCatcher003 binds covalently to SpyTag003 through an isopeptide bond. c, Live-cell imaging of individual K562 cell lines (wild type, HER2+, EGFR+ and HER2+/EGFR+) treated with anti-HER2–SpyN and SpyC–anti-EGFR (100 nM each, 2 h) followed by SpyTag003 labelled with Alexa Fluor 594 (SpyTag003–AF594, 100 nM, 20 min). Cells were stained with Hoechst; HER2 and EGFR expression were visualized by eGFP and iRFP, respectively. Scale bar, 20 μm. d, Schematic of SMART-SpyCatcher operating through [HER2 AND EGFR] logic on a mixed population of the four K562 cell lines. e, Flow cytometry analysis of the mixed K562 population (combined at equal amounts) either treated with SpyTag003–AF594 alone (top) or following treatment with SMART-SpyCatcher (bottom, [HER2 AND EGFR] logic). The four cell types were gated based on HER2–eGFP AND EGFR–iRFP expression and each cell type is plotted as number of cells versus AF594 relative fluorescence units (RFU); histograms are normalized to the mode. f, Dose–response experiment on the mixed K562 population with a dilution series of SMART-SpyCatcher (1 µM to 1 nM) and excess SpyTag003–AF594 (100 nM). Fold change in AF594 median fluorescence intensity (MFI) were calculated relative to untreated cells. Data shown in panels c,e,f are representative of three independent experiments. All other data are presented as mean ± s.e.m. (n = 3 independent biological replicates).

Engineering a protein actuator

Although CPS can in principle generate any desired protein output, we initially focused our efforts on designing a SMART protein that would convert two antigen inputs presented on the same cell into a unique protein recruitment dock. This would allow us to monitor and characterize the protein design using fluorescence-based methods and later deliver a broader arsenal of functionalities. To achieve this, we concentrated on developing a SMART version of SpyCatcher003 (ref. 21), a protein superglue that spontaneously forms an isopeptide bond with the 16-amino-acid peptide SpyTag003 (Fig. 1b).

We began by systematically screening multiple potential split sites in SpyCatcher003 (designated SpyN and SpyC) for compatibility with CPS (Extended Data Fig. 1a), initially using the caged Npu split intein (NpuNcage and NpuCcage) in conjunction with the FKBP/rapamycin/FRB three-hybrid system (Supplementary Fig. 3 and Supplementary Table 1). To simulate cell-surface colocalization, we induced in-solution dimerization of SpyN–NpuNcage–FKBP and FRB–NpuCcage–SpyC by adding rapamycin (Extended Data Fig. 1b). Our screening process revealed several pairs with the ability to fully recapitulate SpyCatcher003–SpyTag003 reactivity after splicing (Extended Data Fig. 1c and Supplementary Fig. 4). We chose the SpyN1–73–SpyC74–113 pair, because this combination had minimal background reactivity with the peptide probe before splicing, that is, spontaneous complementation was minimal (Extended Data Fig. 1c). The Npu split intein contains four cysteines in its structure and leaves a cysteine substitution in the spliced product. Anticipating that these features could be deleterious to applications in the oxidizing environment of the cell surface, we exchanged Npucage for a caged version of the NrdJ-1 split intein22, which leaves a serine at the splice site. The resulting constructs SpyN–NrdJ-1Ncage–FKBP and FRB–NrdJ-1Ccage–SpyC yielded almost complete splicing when rapamycin was added (Extended Data Fig. 1d), whereas no splicing or reactivity with SpyTag003 was observed when the caged split intein was inactivated (Extended Data Fig. 1e). To enable further engineering of this system, we generated a fusion of NrdJ-1 and solved its structure at 1.95 Å by X-ray crystallography (Protein Data Bank (PDB): 8UBS; Extended Data Fig. 1f, Supplementary Fig. 5 and Supplementary Table 2). Using this structural information, we were able to design a fully active mutant of NrdJ-1cage in which the non-catalytic Cys76 is replaced by a valine (Extended Data Fig. 1f–j and Supplementary Fig. 6). We expected that this mutant would be better suited to applications on the cell surface. We refer hereafter to the individual components SpyN–NrdJ-1N(C76V)cage and NrdJ-1Ccage(C76V)–SpyC as SpyN and SpyC, respectively, and their sum as SMART-SpyCatcher.

On-cell performance of SMART-SpyCatcher

Next, SMART-SpyCatcher was refitted for on-cell activation by removing both FKBP and FRB and installing DARPins23,24,25 targeting the two model antigens HER2 and EGFR, thereby generating anti-HER2–SpyN and SpyC–anti-EGFR (Supplementary Fig. 3 and Supplementary Table 1). The ability of SMART-SpyCatcher to perform [HER2 AND EGFR] logic was assessed on K562 leukaemia cells coexpressing HER2–eGFP and EGFR–iRFP12. Treatment of these cells with anti-HER2–SpyN and SpyC–anti-EGFR followed by a SpyTag003 Alexa Fluor 594 conjugate (SpyTag003–AF594) resulted in the expected fluorescence signal, albeit a weak one, on the cell surface (Extended Data Fig. 2a); using Npucage as the actuator component also led to the expected output (Supplementary Fig. 7). With the aim of improving the reaction, we tested an enhanced version of NrdJ-1(C76V)cage (referred to as eNrdJ-1cage) with re-engineered cages to improve the recruitment of SpyTag003–AF594 (Supplementary Fig. 6). This strategy afforded noticeably brighter AF594 fluorescence on the cell surface (Fig. 1c and Extended Data Fig. 2a). We therefore continued to use this actuator variant for all subsequent experiments unless otherwise stated. To exclude in-solution or at-solution-surface interphase activation, we also evaluated the activity of SMART-SpyCatcher on K562 cell lines naive (wild type) or single positive for either HER2–eGFP or EGFR–iRFP, all of which failed to elicit any response (Fig. 1c and Extended Data Fig. 2b,c). We further tested the on-target/off-target specificity of SMART-SpyCatcher when presented simultaneously with multiple decisions, and applied a mixed-population flow cytometry assay for quantification (Fig. 1d and Supplementary Figs. 8 and 9). When incubated concurrently with equal amounts of the four cell lines in a mixture, SMART-SpyCatcher retained its target specificity (Fig. 1e, Extended Data Fig. 2d and Supplementary Fig. 9), even over a broad concentration range (nanomolar to micromolar), producing a sigmoidal dose–response curve only for K562HER2+/EGFR+ (Fig. 1f). Further experimental evidence supports a three-step mechanism of action: first, anti-HER2–SpyN and SpyC–anti-EGFR bind to the target cell; second, SpyCatcher003 is spliced, owing to colocalization; and third, SpyCatcher003 reacts with SpyTag003. Blocking any of these steps leads to a complete loss of the AF594 signal (Extended Data Fig. 3a–c). Furthermore, although SMART-SpyCatcher worked under various conditions (Extended Data Fig. 3d) and was AND gated (Extended Data Fig. 3e), its decision-making ability was lost when the cages were omitted from NrdJ-1, instead inducing massive crosslinking between single- and double-positive K562 cells (Extended Data Fig. 3f).

We also generated SpyN and SpyC constructs that target epithelial cell adhesion molecule (EpCAM; Supplementary Fig. 3 and Supplementary Table 1). When tested on mixed K562 cell lines expressing either low endogenous or high ectopic levels of EpCAM in combination with different profiles of HER2 and EGFR (Supplementary Figs. 911), we found that SMART-SpyCatcher computed AND functions on cells that fulfilled the assigned logic gates (Extended Data Fig. 4a). This observation held true when SMART-SpyCatcher was evaluated on a variety of cancer cell lines with endogenous levels of HER2, EGFR and EpCAM (Extended Data Fig. 4b,c and Supplementary Tables 3 and 4). Furthermore, we found that the responsiveness of SMART-SpyCatcher, as measured by the magnitude of SpyTag003–AF594 recruitment, was correlated with the quantity of the less-expressed antigen used in each AND gate (Extended Data Fig. 4d). This implies that the level of SMART actuation is predominantly dictated by the quantities of each target antigen. Finally, with multiple antigen inputs available, we could also use SpyN–anti-Ag1/SpyN–anti-Ag2/SpyC–anti-Ag1/SpyC–anti-Ag2 in OR and SpyN–anti-Ag1/SpyC–anti-Ag2/SpyC–anti-Ag3 in AND/OR targeting strategies (Extended Data Fig. 4e–h).

Tuning SMART response dynamics

Encouraged by the ability of our protein device to make correct decisions, we created a suite of SMART-SpyCatcher pairs with a dynamic response range. Guided by the crystallographic information on NrdJ-1 (Fig. 2a), we manipulated the cage of eNrdJ-1Ncage while maintaining unaltered eNrdJ-1Ccage as a constant. This afforded multiple pairs with increased or decreased activities (Fig. 2b, Extended Data Fig. 5, Supplementary Fig. 12 and Supplementary Tables 5 and 6), without any compromise in target specificity. For instance, introducing K114A and K116A mutations in the cage sequence increased SpyTag003–AF594 recruitment by 150%, whereas A119K led to a 25% drop. Alternatively, elongating or shortening the cage length of eNrdJ-1Ncage resulted in variants with activities ranging between 13% and 150% of that of the standard 35-amino acid toehold.

Fig. 2: Tuning SMART actuation and logic operations.
figure 2

a, Summary of the diverse interactions between NrdJ-1N and NrdJ-1C forming the hedgehog–intein fold (PDB: 8UBS). Electrostatic surface potential mapping (PyMOL, adaptive Poisson–Boltzmann solver; kB = Boltzmann constant; T = temperature (K) and ec = elementary charge (C)) reveals an electrostatic interface between the basic N terminus of NrdJ-1C and an acidic groove of NrdJ-1N (i); further inserts detail electrostatic interactions (ii), residue hydrogen bonding (iii,iv), backbone hydrogen bonding (v) and hydrophobic packing (vi) stabilizing the complex. b, The eNrdJ-1Ncage variants were tested on K562HER2+/EGFR+ cells using anti-HER2–SpyN (variant indicated), SpyC–anti-EGFR (eNrdJ-1Ccage) and SpyTag003–AF594 (100 nM each). The AF594 MFI values were normalized to the response with standard eNrdJ-1Ncage. c, Anti-EGFR-Decoy was introduced as a NOT operator to obstruct AND logic output on HER2+/EGFR+/EpCAM+ cells by splicing with SpyC to generate defective SpyCatcher003. d, A SMART-SpyCatcher implementing [HER2 AND EpCAM NOT EGFR] logic was tested on mixed K562 cells (phenotypes indicated). Cells were treated with anti-EGFR–Decoy (concentrations indicated), anti-HER2–SpyN/SpyC–anti-EpCAM/SpyTag003–AF594 (100 nM each) and analysed by flow cytometry. The AF594 MFI is plotted relative to control cells lacking anti-EGFR–Decoy. e, Schematic of AND-gated cell depletion. Cells are decorated with SpyTag003-biotin via SMART-SpyCatcher enabling recruitment of a Streptavidin–Saporin disulfide conjugate (Strep–Saporin), leading to cell death upon internalization. f, Mixed K562 cells (phenotypes indicated) were treated with a two-dose regimen of SMART-SpyCatcher/SpyTag003-biotin ([HER2 AND EGFR] logic, 100 nM each) and Streptavidin–Saporin (20 nM) at a 24-h interval. Cell viability was assessed after 72 h by flow cytometry and normalized to untreated wild-type cells. g, A431 cells (HER2low, EGFRhi and EpCAMhi) were treated as in f, using the indicated SMART-SpyCatcher system (eNrdJ-1cage(K114A/K116A)). Cell viability was determined by XTT assay. Data are mean ± s.e.m. (n = 3 independent biological replicates). Statistical analysis: unpaired two-sided t-test (b). NS, not significant; *P < 0.05; **P < 0.01; ***P < 0.001; ****P < 0.0001.

The ability to tune the responsiveness of the SMART system by engineering the caging element expands the types of application possible using the approach. Notably, we were able to perform more logic operations, including a NOT gate, where we exploited a decoy protein featuring a weakened cage (Fig. 2c,d, Extended Data Fig. 6a and Supplementary Fig. 13), and for selectively targeting breast cancer cell lines based on their surface antigen presentations (Extended Data Fig. 6b–f and Supplementary Figs. 1416).

Cell-selective killing

The ability to stringently deliver a payload to cells has many applications. Interestingly, when K562HER2+/EGFR+ cells were treated with anti-HER2–SpyN/SpyC–anti-EGFR/SpyTag003-biotin, it allowed for the cell-selective recruitment and endosomal internalization of a NeutrAvidin Rhodamine Red-X conjugate (Extended Data Fig. 7a–c). We reasoned that targeted cell tagging with a protein toxin (such as Saporin)26 could allow for selective depletion in a heterogeneous population (Fig. 2e). To test this, mixed K562 cells were first treated with SMART-SpyCatcher assigned for [HER2 AND EGFR] logic and SpyTag003-biotin, then cultured with a Streptavidin–Saporin disulfide conjugate, and subsequently sampled for variations in cell composition after 72 h (Extended Data Fig. 7d,e). A one-dose regimen led to a 53% reduction of K562HER2+/EGFR+ cells (Extended Data Fig. 7f and Supplementary Fig. 17), and a two-dose regimen gave a 78% depletion of the subpopulation (Fig. 2f and Supplementary Fig. 18). Importantly, the wild type, K562HER2+ and K562EGFR+ cell lines were not depleted to a similar extent in the mixed population. We also tested the depletion of A431 cells (HER2low, EGFRhi and EpCAMhi) and used SMART-SpyCatcher with eNrdJ-1cage(K114A/K119A) to enhance the recruitment of SpyTag003-biotin. Compared with an untreated control, A431 cells were depleted by 92% when using the two-dose regimen with SpyTag003-biotin, Streptavidin–Saporin and SMART-SpyCatcher operating by [EGFR AND EpCAM] logic (Fig. 2g). As expected, an identical workflow with SMART-SpyCatcher acting by [HER2 AND EGFR] or [HER2 AND EpCAM] logic failed to achieve a comparable reduction in the cell viability of this cell line, and no reduction was observed when the toxin conjugate was omitted. Thus, SMART-SpyCatcher enables logic-gated cell-depletion strategies27,28,29.

Diversifying vector modalities

Many modalities including antibody fragments and mimetics, peptides and small molecules can be used to target cell-surface receptors (Fig. 3a). The ability to use these unlocks new potential targets of SMART. For instance, while we earlier fused SpyN and SpyC to DARPins, we found that single-domain antibody (sdAb)30 and single-chain fragment variable (scFv)12 fusions could easily be produced by recombinant bacterial expression (Supplementary Fig. 3 and Supplementary Table 1). Furthermore, introducing a carboxy-terminal cysteine in eNrdJ-1Ccage (which lacks any other cysteines) provided facile chemical installation of synthetic ligands (Supplementary Figs. 1921). For example, we conjugated SpyC to the peptidyl antagonist BKT140 (ref. 31) of the cytokine receptor CXCR4, and to the small-molecule antagonist SCH58261 (ref. 32) that targets the G-protein-coupled receptor ADORA2A, correspondingly making SpyC–anti-CXCR4 and SpyC–anti-A2A. To test the generated sdAb and scFv fusions, as well as the synthetic ligand conjugates, we used K562HER2+/EGFR+, wild-type OE19 cells (HER2hi, EGFRlow, EpCAMhi, CEACAM6hi, CXCR4low and ADAORA2Alow), and the two stable cell lines OE19CXCR4DOX and OE19A2ADOX made for the doxycycline-inducible expression of either CXCR4 or ADORA2A, respectively (Supplementary Fig. 22). Without altering our previous SMART-SpyCatcher protocol, we found these new vectors to be fully compatible with our previous DARPin variants, in each case affording the expected logic-gated outputs (Fig. 3b–d, Supplementary Fig. 23 and Supplementary Table 4). Thus, the SMART platform is highly modular with respect to targeting vector modalities.

Fig. 3: Diverse SMART targeting enables AND-gated proximity labelling.
figure 3

a, SMART targeting modalities encompass antibody fragments (AbFs), antibody mimetics (AbMs) and synthetic ligands (peptides and small molecules). bd, SMART-SpyCatcher was tested with an anti-CEACAM6 single-domain antibody, a CXCR4-targeting cyclic peptide BKT140, an ADORA2A-targeting small molecule SCH58261 and the DARPins anti-HER2, anti-EGFR and anti-EpCAM. OE19 (HER2hi, EGFRlow and EpCAMhi; b) or derivatives stably expressing CXCR4 (OE19CXCR4DOX; c) or ADORA2A (OE19A2ADOX; d) were treated with SMART-SpyCatcher and fluorescently labelled SpyTag003 (100 nM each), followed by flow cytometry. e, Schematic of AND-gated protein proximity labelling by the delivery of a SpyTag003 catalyst. f, K562HER2+/EGFR+, OE19, A431 and OE19CXCR4DOX were treated with SMART-SpyCatcher (100 nM), SpyTag003–APEX2 (300 nM) and then biotin-phenol (250 μM) and H2O2 (100 mM, 2 min) before western blot analysis. AND gates predicted to enable labelling are shown in red; asterisks indicate endogenously biotinylated proteins. g, Densitometry analysis was done using FIJI (National Institutes of Health). Signals were normalized to tubulin (loading control). a.u., arbitrary units. h, Schematic of cell-selective photocatalytic proximity labelling using SMART-SpyCatcher and a SpyTag003-Ir conjugate. i, Mixed K562 cells (phenotypes indicated) were treated with SMART-SpyCatcher (100 nM) and SpyTag003-Ir (200 nM). After washing, cells were incubated with biotin-diazirine (100 μM), irradiated with 450-nm light (5 min), stained with Streptavidin-Alexa Fluor 546 and analysed by flow cytometry; histograms are normalized to the mode. j, Quantification of the data in i; mean ± s.e.m. (n = 3 independent biological replicates). Statistical analysis: applied unpaired two-sided t-test (bd); applied one-way analysis of variance (ANOVA) followed by Dunnett’s test (j) (Supplementary Tables 7 and 8).

Logic-gated proximity labelling

Many surface proteins localize into specialized networks, the biological functions of which are often difficult to discern. With our diverse set of SMART-SpyCatcher pairs in hand, we reasoned that logic operations could be coupled to protein proximity labelling strategies to elucidate such microenvironments (Fig. 3e). We initially established a workflow that involves the delivery of SpyTag003–APEX2 for the APEX2/H2O2-catalysed generation of long-lived phenoxyl radicals (a t½ of milliseconds)33. First, we treated K562HER2+EGFR+ cells with SMART-SpyCatcher for [HER2 AND EGFR] logic, followed thereafter with SpyTag003–APEX2 (Extended Data Fig. 8a, Supplementary Fig. 3 and Supplementary Table 1). After washing out excess SpyTag003–APEX2, a biotin-phenol probe was added and activated by H2O2, which led to robust cell biotinylation (Extended Data Fig. 8b). Importantly, no labelling was observed in the various controls (Extended Data Fig. 8b). We validated these results on various cell lines by performing several AND-gated logic combinations involving HER2, EGFR, EpCAM, CEACAM6, CXCR4 and ADORA2A for the delivery of SpyTag003–APEX2 before proximity labelling. Only when SMART-SpyCatcher was matched with the correct antigen profile of the individual cell line did we observe APEX2-dependent biotinylation (Fig. 3f,g and Extended Data Fig. 8c–j).

Our ability to conduct AND-gated proximity labelling was extended to the photocatalytic proximity labelling platform μMap34, which uses an iridium-centred photocatalyst to activate an aryl diazirine by blue-light irradiation for the generation of short-lived singlet carbene species (t½ = 2 ns). In this case, K562 cells expressing HER2 and EGFR were treated with anti-HER2–SpyN and SpyC–anti-EGFR followed by SpyTag003 conjugated to the iridium photocatalyst (Extended Data Fig. 9a–d and Supplementary Table 1). These initial studies confirmed that treatment of these cells with the diazirine-biotin probe followed by blue-light irradiation led to robust cellular labelling that was dependent on the SMART reaction (Extended Data Fig. 9e,f and Supplementary Fig. 24). Encouraged by this, we then performed a similar photocatalytic proximity labelling experiment using mixtures of K562 cell lines expressing different receptor combinations and used flow cytometry as the read-out (Fig. 3h). We found that labelling occurred only on cells for which the SMART-SpyCatcher was programmed to react with the assigned antigen profile (Fig. 3i,j and Supplementary Fig. 25). Collectively, these data demonstrate that the SMART system can be used to conduct photocatalytic proximity labelling experiments in a context-specific manner, potentially creating new opportunities for proteomics mapping of cell surfaces in complex settings such as tissues.

Developing SMART-IL-1β

The SMART platform has the potential to respond to antigen inputs with different protein functional outputs through their templated trans-splicing. To examine this further, we next focused on generating a new SMART protein. Cytokines are a potent class of immune-system modulators, and their on-demand function has become a pursuit of protein design13. Interleukin-1β (IL-1β) is a key pro-inflammatory cytokine with a broad range of immune activities, including the stimulation of antigen-presenting cells, natural killer cells and CD4+/CD8+ T cells35 (Extended Data Fig. 10a). We explored whether SMART could be used as a platform to generate IL-1β in response to a combination of surface antigens with the spliced cytokine being released into the surrounding microenvironment (Fig. 4a). Because IL-1β represents a challenging target for SMART, owing to its complex β-barrel structure, we first systematically screened for potential split sites using the FKBP/rapamycin/FRB three-hybrid system (Extended Data Fig. 10b–f, Supplementary Fig. 3 and Supplementary Table 1). This revealed IL-1βN1–44 and IL-1βC45–153 as a candidate pair, with IL-1β activity on cultured HeLa cells only when spliced. Specifically, we found that NF-κB localized to the nucleus (Extended Data Fig. 10g,h), a clear sign of activated IL-1 receptor 1/IL-1 receptor accessory protein (IL-1R1/IL-1RAcP) signalling induced by biologically active IL-1β. We therefore refer to the individual components IL-1βN1–44-eNrdJ-1Ncage and eNrdJ-1Ccage-IL-1βC45–153 as IL-1βN and IL-1βC, respectively, and their sum as SMART-IL-1β.

Fig. 4: Development of a smart cytokine.
figure 4

a, Colocalization of SMART-IL-1β (IL-1βN–anti-Ag1/anti-Ag2–IL-1βC) on a target-cell template ligation and release of the cytokine IL-1β, which activates IL-1R1/IL-1RAcP on neighbouring cells. b, OE19 cells (HER2hi, EGFRlow and EpCAMhi) were treated with SMART-IL-1β (eNrdJ-1cage, 20 nM) and the conditioned media supplemented to HeLa cells to stimulate IL-1R1 receptor signalling (top). Control experiments included: adding anti-HER2/anti-EpCAM DARPins (500 nM); use of splicing-deficient SMART-IL-1β (eNrdJ-1N(C1A)cage, 20 nM); and IL-1RA (IL-1R1 antagonist) pretreatment of HeLa cells. NF-κB localization was assessed by immunofluorescence imaging. cf, HEK-Blue IL-1β cells, reporting IL-1β stimulation by SEAP, were exposed to conditioned media. SMART-IL-1β was supplied to OE19 (**P = 0.0072) (c), K562HER2+/EGFR+ (d) and individual cultures of the specified K562 cell lines (e) at the indicated concentrations. The conditioned media were then transferred to HEK-Blue IL-1β cells for 24 h before SEAP quantification. Controls are as in b. K562HER2+/EGFR+ cells were used in dose–response experiments with SMART-IL-1β using eNrdJ-1cage, eNrdJ-1cage_1–38 (strengthened cage) or eNrdJ-1cage_1–27 (weakened cage) (f). g, OE19 cells were co-cultured with HeLaeGFP+ cells, stably expressing eGFP, and treated with SMART-IL-1β (eNrdJ-1cage, 20 nM). IL-1R1 pathway signalling was determined as in b. h, HEK-Blue IL-1β cells co-cultured with K562HER2+/EGFR+ cells were treated with SMART-IL-1β (eNrdJ-1cage, 20 nM) and SEAP activity determined after 24 h (***P = 0.0003). Controls are as in b. Data are mean ± s.e.m. (n = 3 independent biological replicates). Statistical analysis: unpaired two-sided t-test. Data in b and g are representative of two independent experiments. Scale bars: b, 40 μm; g, 20 μm.

SMART-IL-1β actuation on cells

Our original SMART mechanism retains the spliced product on the cell surface by having targeting vectors fused onto the N and C termini of the ExtN and ExtC fragments, respectively (anti-Ag1–ExtN-IntNcage and IntCcage-ExtN–anti-Ag2). For SMART-IL-1β, however, we wanted to release IL-1β after its antigen-templated ligation to mimic the natural release of a cytokine in a real biological context (Fig. 4a). We therefore rearranged the domains of the protein chimeras by fusing the targeting vectors onto the caged split intein fragments, replacing FKBP and FRB, thus generating the general designs ExtN-IntNcage–anti-Ag1 and anti-Ag2–IntCcage-ExtN. Based on this, we proceeded by making IL-1βN–anti-HER2 and anti-EpCAM–IL-1βC. We then incubated these with an OE19 (HER2hi, EGFRlow or EpCAMhi) culture and tested the produced medium for IL-1β activity. When HeLa cells were supplemented with this medium, we found that IL-1R signalling was activated, indicated by the nuclear translocation of NF-κB (Fig. 4b and Extended Data Fig. 10i); by contrast, no activation was seen when SMART-IL-1β was blocked from binding to the OE19 cells, when the splicing-deficient mutant eNrdJ-1N(C1A)cage was used, or when the HeLa cells were pretreated with IL-1 receptor 1 antagonist (IL-1RA), which blocks IL-1β binding. SMART-IL-1β therefore actuates the ligation and release of functional IL-1β in response to defined antigen inputs. We quantified this further using a cell reporter line (HEK-Blue IL-1β), which produces secreted embryonic alkaline phosphatase (SEAP) when stimulated with IL-1β and IL-1R1/IL-1RAcP activation. Robust SEAP activity was detected when the reporter cell line was supplemented with medium produced from a combination of OE19/IL-1βN–anti-HER2/anti-EpCAM–IL-1βC (Fig. 4c) or K562HER2+/EGFR+/IL-1βN–anti-HER2/anti-EGFR–IL-1βC (Fig. 4d). Importantly, no-to-low signal was measured in control experiments. SEAP activity was furthermore detectable over a broad concentration range of SMART-IL-1β (Fig. 4e), with little activity related to medium from control K562 cell lines. By tuning the cage of eNrdJ-1cage, we could adjust the effective concentration of SMART-IL-1β needed on K562HER2+/EGFR+ cells to yield a 50% response on HEK-Blue IL-1β cells (Fig. 4f).

Finally, we also tested SMART-IL–1β in co-culture experiments. First, we co-cultured HeLaeGFP+ with OE19 cells (which importantly do not respond to IL-1β; Extended Data Fig. 10j) and then treated these with IL-1βN–anti-HER2/anti-EpCAM–IL-1βC. This led to the nuclear localization of NF-κB in the HeLaeGFP+ cells (Fig. 4g). When we co-cultured HEK-Blue IL-1β with K562HER2+/EGFR+ and treated these with IL-1βN–anti-HER2/anti-EGFR–IL-1βC, we measured robust SEAP activity, which was absent in control experiments (Fig. 4h). We believe that SMART-IL-1β constitutes the first example of an on-demand system capable of post-translationally generating an active cytokine (IL-1β) in response to local stimuli and mediating its release into the cell microenvironment.

Discussion

In this study, we present a synthetic biology platform we call SMART that, at its core, functions as a protein actuator based on conditional protein trans-splicing with tunable responsiveness to cellular inputs. SMART can sense multiple cell surface features and converts these to a user-defined functional output based on Boolean logic operations. Specifically, we show that programmable protein ligation is achievable on cell surfaces in response to the presence of two receptors. A key attribute of our SMART system is its modularity in terms of possible inputs and outputs. We have demonstrated that the platform is compatible with a variety of protein, peptide and small-molecule targeting agents, enabling SMART activation following the co-engagement of a range of surface proteins, such as growth-factor receptors, cell-adhesion molecules and G-protein-coupled receptors.

In principle, SMART can generate many types of output, leveraging the broad sequence tolerance of the NrdJ-1 split intein that functions as the protein ligase in the system. In the present work, we have illustrated this through the generation of a functional SpyCatcher003 protein and the cytokine IL-1β. SpyCatcher003 serves as a protein dock that allowed us to recruit a variety of activities to designated cells. These two examples also illustrate another feature of the SMART system, namely the ability to control whether the reaction product remains associated with the manufacturing cells (as in the SpyCatcher example) or is released into the extracellular environment (as shown for IL-1 β) through a ligation-and-retain and ligation-and-release mechanism. The latter represents a unique feature of SMART that distinguishes the approach from other protein logic devices that rely on the recruitment of pre-existing factors to a location of interest. By coupling protein trans-splicing to the localized release of an active protein, we can achieve exquisite control over protein activation. We imagine that the scope of SMART will be expanded by implementing efficient screening approaches to identify split sites in target proteins36, in combination with the use of orthogonal inteins from expanded libraries37,38. Finally, although we so far focused on cell-surface applications of SMART, we expect that the platform will find applications in other contexts, including logic-gated imaging, proximity proteomics and possibly even genomics in permeabilized cells.

Methods

General materials

Common reagents and chemicals were purchased from MilliporeSigma unless stated otherwise. The 2,4-dinitrochlorobenzene (CAS number 97-00-7), tert-butyl bromoacetate (CAS 5292-43-3), N-hydroxysuccinimide (CAS 6066-82-6), N,N′-dicyclohexylcarbodiimide (CAS 538-75-0), Celite 545 (CAS 68855-54-9), ethyl 2-bromoacetate (CAS 105-36-2) and 1-(2-aminoethyl)maleimide hydrochloride (CAS 134272-64-3) were purchased from MilliporeSigma. The 2-[2-(2-aminoethoxy)ethoxy]ethanol (CAS 86770-74-3), biotin-PEG3-amine (CAS 359860-27-8), 2-(furan-2-yl)-7H-pyrazolo[4,3-e][1,2,4]triazolo[1,5-c]pyrimidin-5-amine (CAS. 288-13-1) and 4-[3-(trifluoromethyl)-3H-diazirine-3-yl]benzylamine hydrochloride (CAS 1258874-29-1) were purchased from Ambeed. Triethylamine (CAS 121-44-8) was purchased from Thermo Fischer Scientific. Dithiothreitol (DTT, CAS 3483-12-3), isopropyl-β-thiogalactopyranoside (IPTG, CAS 367-93-1) and bovine serum albumin (BSA) were obtained from Gold Biotechnology. Alexa Fluor 594 C5 maleimide, biotin-PEG3-NHS ester (CAS 1253286-56-4), hydroxy-PEG10-tert-butyl ester (CAS 778596-26-2) and chloroacetamido-PEG4-NHS ester (CAS 1353011-95-6) were purchased from BroadPharm. Biotin maleimide (CAS 116919-18-7) was purchased from MilliporeSigma. Alexa Fluor 568 DBCO was purchased from Lumiprobe.

Oligonucleotide primers were purchased from MilliporeSigma. The gBlock gene fragments were purchased from Integrated DNA Technologies. PrimeSTAR HS DNA polymerase was purchased from Takara Bio. Gibson Assembly Master Mix and the restriction enzymes NheI, NotI and T7 DNA Ligase were purchased from New England Biolabs. DNA purification kits were purchased from Qiagen. PCR purification and gel extract columns were purchased from Thomas Scientific. All the plasmid sequencing was done by GENEWIZ or Plasmidsaurus. DH5α competent cells and One Shot Stbl3 chemically competent Escherichia coli cells were purchased from Thermo Fisher Scientific. SHuffle T7 competent E. coli cells were purchased from New England Biolabs. Plasmids for lentiviral preparations were obtained from Addgene.

Nickel nitrilotriacetic acid (Ni-NTA) resin was obtained from Thermo Fisher Scientific. MOPS-SDS running buffer was obtained from Boston Bioproducts. Criterion cassettes, acrylamide, ammonium persulfate, tetramethylethylenediamine and Econo-Pac 10DG columns were obtained from Bio-Rad. Nitrocellulose membrane (0.45 μm) for western blotting was purchased from Thermo Fisher Scientific. Empore solid-phase extraction stage tips were purchased from Thermo Fisher Scientific.

Primary antibodies were purchased from Santa Cruz Biotechnology, Abcam, Cell Signaling Technology, Thermo Fisher Scientific and MilliporeSigma. Secondary antibodies were purchased from LI-COR Biotechnology.

NeutrAvidin Rhodamine Red-X and Streptavidin-Alexa Fluor 546 conjugates were purchased from Thermo Fischer Scientific. Streptavidin–Saporin (Streptavidin-ZAP) was purchased from Advanced Targeting Systems.

Dulbecco’s Modified Eagle medium (Gibco), RPMI-1640 medium (Gibco), McCoy’s 5a medium modified (Gibco), F-12K medium (Gibco), Dulbecco’s phosphate-buffered saline (DPBS, Gibco), Penicillin-Streptomycin (5,000 U ml−1), trypsin-EDTA (0.25%), trypsin-EDTA (0.05%), Lipofectamine 3000 transfection reagent, l-glutamine (200 mM), puromycin dichloride (10 mg ml−1) and Falcon standard tissue culture dishes were purchased from Thermo Fisher Scientific. A mammary epithelial cell growth medium kit was purchased from MilliporeSigma. Fetal bovine serum (heat inactivated) was purchased from Bio-Techne. Doxycycline (hyclate) was purchased from StemCell Technologies. An XTT cell viability kit was purchased from Cell Signal Technologies. Hoechst 33342 solution was obtained from Invitrogen. Glass-bottom plates were purchased from Cellvis. QUANTI-Blue solution was purchased from InvivoGen.

Human cell lines K562EpCAMlow (wild type, CCL-243), K562HER2+, K562EGFR+, K562HER2+/EGFR+, K562HER2+/EpCAMhi and K562HER2+/EGFR+/EpCAMhi were gifts from D. Baker. Human cell lines MCF-10a (CRL-10317), MCF-7 (HTB-22), LoVo (CCL-229), A594 (CCL-185) were gifts from Y. Kang. Human cell line Sk-br-3 (HTB-30) was a gift from S. Lipkowitz. Human cell line OE19 (JROECL19) was purchased from MilliporeSigma. Human cell lines HCT-116 (CCL-247) and A431 (CRL-1555) were purchased from ATCC. Human cell line HEK-Blue IL-1β was purchased from Invivogen. The PiggyBac transposase plasmid was a gift from C. Kadoch.

Coomassie-stained SDS–PAGE gels and western blots were imaged on an Odyssey system (LI-COR). See Supplementary Fig. 1 for uncropped source data. Densitometry measurements were performed using FIJI (National Institutes of Health)39. Molecular graphics and analyses were performed with PyMOL v.2.5, developed by Schrödinger. Graph plots and statistical analysis were made in GraphPad Prism v.9.2.0 (121).

High-performance liquid chromatography

Analytical-scale reverse-phase high-performance liquid chromatography (RP-HPLC) was done on an Agilent 1100 series or an Agilent 1260 Infinity system equipped with a C18 Vydac column (5 mM, 4.6 × 150 mm) at a flow rate of 1 ml min−1. Semi-preparative RP-HPLC was done on an Agilent 1260 Infinity system equipped with a Waters XBridge BEH C18 column (5 mM, 10 × 250 mm) at a flow rate of 4 ml min−1. Preparative-scale RP-HPLC was done on a Waters prep LC system consisting of a Waters 2545 binary gradient module and a Waters 2489 ultraviolet (UV)-visible detector equipped with a C18 Vydac column (10 mM, 22 × 250 mm). The HPLC solvents were H2O with 0.1% TFA (solvent A) and 90% acetonitrile in water with 0.1% trifluoroacetic acid (TFA) (solvent B). Applied solvent gradients are specified in detail in the relevant sections.

Mass spectrometry

Proteins and peptides were characterized by electrospray ionization mass spectrometry (ESI-MS) on a Bruker Daltonics MicroTOF-Q II mass spectrometer by direct injection after isolation by RP-HPLC.

Peptide synthesis

The CXCR4 antagonist peptide ligand BTK140 was synthesized manually using a standard Fmoc solid-phase peptide synthesis method on a 0.2 mmol scale using H-Rink Amide resin (ChemMatrix). The solid-phase synthesis cycle included Fmoc deprotection at room temperature for 20 min with 20% v/v piperidine in dimethylformamide (DMF) containing 0.1 M 1-hydroxybenzotriazole hydrate and coupling at room temperature for 30 min using 5 equivalents of Fmoc protected amino acid in DMF with 5 equivalents of hexafluorophosphate azabenzotriazole tetramethyl uronium (HATU) and 10 equivalents of N,N-diisopropylethylamine (DIPEA). All couplings were performed twice. For non-proteogenic amino acids and for coupling of the Arg–Arg junction, the coupling step was performed with 3 equivalents of the specific Fmoc protected amino acid in DMF with 3 equivalents of (7-azabenzotriazol-1-yloxy)tripyrrolidinophosphonium hexafluorophosphate (PyAOP) and 10 equivalents of DIPEA for 3 h (if the coupling step was done once) or 2 × 2 h (if double couplings were done). D-Lys(Dde) deprotection was done on resin at room temperature for 30 min by adding 2% v/v hydrazine in DMF under N2 agitation. Two successive coupling steps were done at room temperature for 1 h with 5 equivalents of azido-PEG3-acid, or alternatively azido-PEG10-acid, in DMF with 5 equivalents of HATU and 10 equivalents of DIPEA. Deprotection of Cys(Acm) was done on resin using either thallium triflate or in solution phase with I2. Final peptide cleavage and side-chain deprotection was done at room temperature for 3 h using a cleavage cocktail of 95% v/v TFA, 2.5% v/v triisopropyl silane, 2.5% v/v H2O. The peptide was pelleted by adding ice-cold diethyl ether and subsequent centrifugation at 4,000g for 10 min at 4 °C. The crude peptide was then dissolved in aqueous acetonitrile 0.1% v/v TFA and purified by preparative RP-HPLC using aqueous 0.1% v/v TFA as solvent A and 90% v/v acetonitrile, 0.1% v/v TFA as solvent B, with a gradient of 0–73% over 40 min. Pure fractions were identified by analytical RP-HPLC and ESI-TOF MS, and pooled and lyophilized.

Peptide conjugation

To BTK140-PEG3-azide (370 µg, 123 nmol) dissolved in 1 ml MeCN we added a slight excess of AF568-DBCO (124 nmol) dissolved in DMSO to 1 mM, and the reaction was left overnight at room temperature away from light. The crude mixture was analysed by RP-HPLC and diluted with 9 ml of solvent A (aqueous 0.1% v/v TFA) on full conversion to BTK-AF568, which was further purified by preparatory-scale RP-HPLC (0–73% solvent B for 40 min). The collected product fractions were combined and lyophilized away from light. The peptide was redissolved in 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA and 10% v/v glycerol to a final concentration of 100 µM when used for cell-phenotyping experiments.

Chemical synthesis

Synthetic protocols of SCH58261 and its maleimide functionalization, the azido-PEG10-acid linker, the iridium photocatalyst and its chloroalkane functionalization, and the biotin-phenol and biotin-diazirine probes are provided in the Supplementary Methods.

DNA cloning

All bacterial expression vectors were based on a pET backbone vector with a gene for kanamycin resistance. DNA fragments amplified by PCR were inserted into a gene cassette using Gibson Assembly. The gene cassette included an upstream T7 promoter under regulation of a lac operator, an ATG start codon in frame with an N-terminal His6-SUMO fusion tag when specified and ended with a TAA stop codon and a T7-terminator sequence.

Site-directed mutagenesis (including missense substitutions, insertions and deletions), as well as amplifications of gene inserts and plasmid backbones, was done using PCR. To a solution of 10 µl of 1 ng µl−1 plasmid, 1 µM forward primer and 1 µM reverse primer we added 10 µl 2× PrimeSTAR DNA polymerase master mix. The mixture was used in a PCR reaction. The completed PCR reaction was restriction digested with 20 units of DpnI for 1 h at 37 °C before the PCR amplicon was isolated by a general PCR clean-up protocol. The purified PCR amplicon was then used in a Gibson assembly reaction (see below). Alternatively, full plasmid amplicons from site-directed mutagenesis were used directly in heat-shock transformations of chemically competent E. coli DH5α cells, which were plated on LB-agar plates supplemented with 50 µg ml−1 kanamycin. Single colonies were picked, grown and the plasmid isolated before being verified by Sanger sequencing.

DNA components prepared by PCR using primers designed to have 15–20 base pair overlaps were used in Gibson Assembly reactions. Gibson Assembly reactions were set up by mixing 2 µl of DNA fragments (100 ng plasmid backbone amplicon, 3–5 molar excess gene insert amplicon) with 2 µl 2× NEBuilder HiFi DNA Assembly master mix. The reaction was incubated for 15 min at 50 °C, cooled and thereafter used in a heat-shock transformation of chemically competent E. coli DH5α, which was plated on LB-agar plates supplemented with 50 µg ml−1 kanamycin. Single colonies were picked, grown and the plasmid isolated before being verified by Sanger sequencing.

The PiggyBac transposon plasmids used in the generation of stable cell lines were generated by standard restriction cloning. Gene fragments containing the desired transgene sequence were synthesized to contain NheI and NotI restriction sites. Separate restriction digest reactions with NheI and NotI were prepared for the plasmid backbone and the two gene inserts encoding SPHA-Flag-CXCR4-GFP and SPHA-Flag-ADORA2A-mCherry. Reactions were done for 1 h at 37 °C and the digest products isolated. The linearized plasmid backbone was mixed with either of the digested gene inserts and T7 DNA ligase and the reactions incubated for 1 h at 37 °C. The ligation reactions where then used to transform One Shot Stbl3 chemically competent E. coli cells, which were plated on LB-agar plates supplemented with ampicillin (100 µg ml−1). Single colonies were picked, grown and the plasmid isolated before being verified by either Sanger sequencing or full plasmid sequencing.

Recombinant protein expression and purification

Chemically competent E. coli BL21(DE3) cells were heat-shock transformed with a pET vector carrying the gene cassette for the protein of interest. Cells were grown overnight at 37 °C in 8 ml LB medium supplemented with 50 µg ml−1 kanamycin. This overnight culture was used to inoculate an expression culture of 1 l LB medium supplemented with 50 µg ml−1 kanamycin. In general, the expression culture was incubated at 37 °C until it reached an optical density at 600 nm (OD600) of 0.4, after which it was cooled for 20 min at 18 °C. Protein expression was then induced by the addition of 0.1 ml 1 M IPTG and the culture was left overnight at 18 °C. For expression of full-length NrdJ-1, used in the crystallography study and for any SpyTag003 and stand-alone DARPin constructs, the expression culture was incubated at 37 °C until it reached an OD600 of 0.6. The expression was then induced by the addition of 0.1 ml 1 M IPTG and the culture was left for 4 h at 37 °C. In all cases, cells were collected by centrifugation at 3,500g at 18 °C for 20 min and suspended in lysis buffer containing 20 ml 50 mM NaH2PO4 (pH 8.0), 300 mM NaCl, 20 mM imidazole, supplemented with 1 mM DTT and 1 mM phenylmethylsulfonyl fluoride (PMSF). Cell suspensions were then either stored at −20 °C until further use or used directly. Soluble protein was extracted by subjecting the cell suspension to sonication using a duty cycle of 20 s on, 30 s off at 30% amplitude while cooled on an ice bath, after which a cleared lysate was produced by centrifugation at 35,000g at 4 °C for 20 min. The cleared lysate was passed through a pre-equilibrated Ni2+-nitrilotriacetic acid (NTA) column (2 ml resin slurry per litre of culture) and the flow-through discarded. The column was then washed with 50 ml lysis buffer, before the protein was eluted using 6 ml lysis buffer supplemented with 250 mM imidazole. His6–SUMO tagged proteins were treated overnight with His6–Ulp1 protease while being dialysed against lysis buffer supplemented with 1 mM DTT. The dialysed sample was then passed through a pre-equilibrated Ni2+-NTA column to remove any cleaved His6–SUMO tag and His6–Ulp1 protease. The flow-through and an additional 6 ml lysis buffer passed through the column was collected, combined and concentrated to 0.5 ml. The concentrated sample was filtered through a 0.22 μm spin filter. Size-exclusion chromatography was done at 4 °C with a flow rate of 0.5 ml min−1 on an ÄKTA Fast Performance liquid chromatography (GE Healthcare) system using a Superdex 200 10/300 GL (Cytiva Life Sciences) column with 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA and 1 mM DTT as the eluent. Pure fractions were identified by SDS–PAGE, validated by analytical RP-HPLC and the protein mass was confirmed by ESI-TOF MS. Pure fractions were supplemented with 10% v/v glycerol, aliquoted and flash-frozen in liquid nitrogen before being stored at −80 °C until further use. Analytical data for all proteins is shown in Supplementary Fig. 3, Extended Data Fig. 9 and Supplementary Table 1. The fully annotated amino acid sequences of overexpressed constructs used in this study are given in Supplementary Table 9.

SHuffle T7 competent E. coli cells were used for the cytosolic expression of His6–SUMO–anti-HER2scFv–SpyN. Chemically competent cells were heat-shock transformed with a pET vector carrying the gene cassette for the protein of interest. Cells were grown overnight at 37 °C in 8 ml LB medium supplemented with 50 µg ml−1 kanamycin. This overnight culture was used to inoculate an expression culture of 1 l LB medium supplemented with 50 µg ml−1 kanamycin. The culture was incubated at 37 °C until it reached an OD600 of 0.4, after which it was cooled for 30 min at 16 °C. Protein expression was then induced by the addition of 0.3 ml 1 M IPTG and the culture was expressed overnight at 16 °C. Cells were collected and the protein purified from the soluble fraction as mentioned above.

Western blotting

Samples were run on an SDS–PAGE gel. For western blotting, the gel was used for a transfer reaction onto a nitrocellulose membrane, which was subsequently blocked with TBS-T (25 mM Tris, 150 mM NaCl, 0.1% v/v Tween-20, pH 7.7) supplemented with 4% w/v skimmed-milk powder for 1 h at room temperature. The membrane was washed 3 times for 5 min with TBS-T and incubated with primary antibodies at specified dilution (Supplementary Table 10) on an orbital shaker for 1 h at room temperature or alternatively overnight at 4 °C. After washing 3 times for 5 min with TBS-T, the IRDye secondary antibody or alternatively IRDye Streptavidin was applied for 30 min to 1 h at room temperature, before imaging on a Li-Cor Odyssey imager (Li-Cor).

X-ray crystallography

Crystallography studies used a fused version of NrdJ-1 containing C1A and N145A inactivating mutations and SGG and SEI as N- and C-terminal extein sequences, respectively. The protein was dialysed against a buffer containing 25 mM HEPES (pH 7.5), 150 mM NaCl, then concentrated to 40 mg ml−1, and finally flash-frozen as aliquots in liquid nitrogen before being stored at −80 °C for further use. Initial crystallization conditions were established using a SaltRx HT screen (Hampton Research) with a Phoenix crystallization robot (Art Robbins). Crystals were grown at 4 °C by the sitting-drop vapour-diffusion method. A focused screen was centred on conditions with increasing concentrations of sodium formate at various pH values. Optimal crystals were obtained after one week using a solution of 4.5 M sodium formate (pH 7.0). Diffraction data were obtained at the National Synchrotron Light Source II (Brookhaven National Laboratory), beamline 17-ID-1. The data were processed using the XDS package40. The phase information was determined by molecular replacement using PHASER in the CCP4 suite41 and using an in silico AlphaFold2 (refs. 42,43) model of full-length NrdJ-1 as input. Iterative rounds of model building in Coot44 and refinements in PHENIX Refine (v.1.17_3644)45 were performed to obtain the final structure. Data collection and refinement statistics are displayed in Supplementary Table 2.

Protein conjugation reactions

Purified protein containing a C-terminal cysteine (SpyTag003-Cys, SpyTag003D117A-Cys, anti-HER2-Cys DARPin, anti-EGFR-Cys DARPin, anti-EpCAM-Cys DARPin, anti-CEACAM6-Cys single-domain antibody and SpyC-Cys) or catalytic cysteine (anti-HER2-SpyN-eNrdJ-1Ncage) was reduced with 1 mM DTT for 20 min on ice to prepare it for conjugation chemistry. The sample was washed with buffer (100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA) using spin-filtration to remove small-molecule thiols. The reduced protein was either flash-frozen in liquid nitrogen and stored at −80 °C for later use or used directly in conjugation reactions as described in the following sections.

The reduced protein was mixed with a molar excess of the required alkylating agent (iodoacetamide, Alexa Fluor 594 maleimide, Alexa Fluor 568 maleimide, Alexa Fluor 488 maleimide, biotin-maleimide, DBCO-maleimide or SCH58261-maleimide) and incubated for 20 min at room temperature in the dark. Reactions were monitored by RP-HPLC and ESI-TOF MS and quenched with 1 mM DTT when completed. The reaction mixture was then passed over an Econo-Pac 10DG column using 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol as the eluent. The product was characterized by RP-HPLC and ESI-TOF MS, flash-frozen and stored at −80 °C. Analytical data for protein conjugations are provided in Supplementary Fig. 3 and Supplementary Table 1, and for the SpyC-anti-A2A conjugate in Supplementary Fig. 21 and Supplementary Table 1.

SpyC-DBCO was generated by reacting SpyC-Cys with DBCO-maleimide according to the protocol described above and used subsequently in a strain-promoted alkyne-azide cyclo-addition reaction with the synthetically prepared CXCR4 antagonist peptide BTK140 functionalized with an azide. SpyC-DBCO (1.7 mg, 94 nmol) was reacted with BTK-PEG10-azide (4.4 mg, 133 nmol) in 100 µl of 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol. The reaction was incubated at 4 °C and monitored by RP-HPLC and ESI-TOF MS. When full conversion was observed, the reaction was washed with buffer (100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol) by spin filtration to remove excess peptide and then finally concentrated to 1 ml. Size-exclusion chromatography was done at 4 °C at a flow rate of 0.5 ml min−1 on an ÄKTA Fast Performance liquid chromatography (GE Healthcare) system using a Superdex 200 10/300 GL (Cytiva Life Sciences) column with 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol as the eluent. Pure fractions were identified by SDS–PAGE, validated by analytical RP-HPLC and the protein mass was confirmed by ESI-TOF MS. Pure fractions were flash-frozen in liquid nitrogen before being stored at −80 °C until further use. Analytical data for the final SpyC–anti-CXCR4 conjugate are provided in Supplementary Fig. 21 and Supplementary Table 1.

Anti-CEACAM6–AF594 was prepared by reacting anti-CEACAM6–SpyCatcher003 (0.33 mg, 12.3 nmol) with SpyTag003–AF594 (0.2 mg, 12.5 nmol) in 100 µl of 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol. The reaction was incubated away from light at room temperature and monitored by RP-HPLC and ESI-TOF MS. When full conversion was observed, the reaction was washed with buffer (100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 10% v/v glycerol) by spin filtration to remove excess peptide and then finally concentrated to reach 100 µM of the conjugate. The product was validated by RP-HPLC and ESI-TOF MS, flash-frozen and stored at −80 °C.

SpyTag003-HaloTag13 was used in reactions with the iridium catalyst functionalized with a chloroalkane linker (Ir-PEG4-C6H12Cl). Specifically, one equivalents of SpyTag003-HaloTag13 (585 µg, 15 nmol) was reacted with three equivalents of Ir-PEG4-C6H12Cl (62 µg, 50 nmol) in 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 1 mM DTT for 1 h at room temperature. The reaction was monitored by RP-HPLC. When all the protein had been consumed to generate the SpyTag003–HaloTag13-Ir conjugate (referred to as SpyTag003-Ir), the reaction was washed in 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 1 mM DTT by spin filtration to remove excess Ir-PEG4-C6H12Cl. The conjugate was then aliquoted, flash-frozen and stored at −80 °C.

Rapamycin-induced protein trans-splicing reactions

Screening for the optimal split site within SpyCatcher003 was done in splicing buffer (100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 1 mM DTT, 10% v/v glycerol) by combining complementary protein chimeras Flag-SpyN1−x-NpuNcage-FKBP and FRB-NpuCcage-SpyCy-113–Myc (1 µM of each), with x and y denoting the last and first residue of the two fragments (the split site). When indicated, samples were supplemented with SpyTag003 or conjugates thereof (2 µM) and either rapamycin (a final concentration of 10 µM from a 50 µM DMSO stock) or TEV protease (10 units). Reaction mixtures were incubated for 24 h at 37 °C before being analysed by SDS–PAGE or western blotting.

Screening for the optimal split site in IL-1β was done in splicing buffer (100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA, 1 mM DTT, 10% v/v glycerol) by combining complementary protein chimeras Flag-IL-1βN1−x-eNrdJ-1Ncage-FKBP and FRB-eNrdJ-1Ccage-IL-1βCy−153–Myc (1 µM of each), with x and y denoting the last and first residue of the two fragments (the split site). When indicated, samples were supplemented with rapamycin (final concentration of 10 µM from a 50 µM DMSO stock). Reaction mixtures were incubated at 37 °C before being analysed by SDS–PAGE or western blotting.

Generation of stable cell lines

To generate stable cell lines expressing CXCR4- and ADORA2A-related constructs, low-passage OE19 cells were transfected with a PiggyBac transposon plasmid encoding for the desired transgene under the control of a doxycycline-inducible promoter and a PiggyBac transposase plasmid (2:1 ratio). Lipofectamine 3000 transfection reagent was used for the transfection according to the manufacturer’s instructions. The transfected cells were allowed to recover in RPMI-1640 supplemented with 2 mM l-glutamine, 10% v/v FBS, 100 U ml−1 penicillin/streptomycin for 30 h after transfection. The cells were then cultured for 5 days in RPMI-1640 supplemented with 2 mM l-glutamine, 10% v/v FBS, 100 U ml−1 penicillin/streptomycin and 1 µg ml−1 puromycin. Transfected OE19 cells that survived puromycin selection were further expanded and maintained in RPMI-1640 supplemented with 2 mM l-glutamine, 10% v/v FBS, 100 U ml−1 penicillin/streptomycin and 1 µg ml−1 puromycin, with cultures being discarded after 30 passage cycles. Transgene expression was achieved by supplementing the culture with 400 ng ml−1 doxycycline for 24 h. Protein expression was confirmed by western blot, immunofluorescence microscopy and flow cytometry. The primary structures of the CXCR4- and ADORA2A-related constructs are given in Supplementary Table 11.

Lenti-X 293 T cells (Takara Bio, 632180) were cultured in DMEM supplemented with 10% (v/v) FBS and 100 U ml−1 penicillin/streptomycin in 6-well plates to approximately 70% confluency. The cells were then transfected in culture medium without penicillin/streptomycin using Lipofectamine 2000 with: a transfer plasmid encoding the genes for HER2Δ-eGFP and blasticidin resistance (4 µg); the envelope plasmid pMD2.G (1.2 µg); and the packaging plasmid psPAX2 (3.6 µg). After 24 h, the culture was aspirated and DMEM supplemented with 10% (v/v) heat FBS and 100 U ml−1 penicillin/streptomycin added. Lentivirus was collected the following day by isolating and filtering (0.45 µm) the culture supernatant. The lentivirus preparation was stored at −80 °C until further use. Wild-type HeLa cells were cultured in DMEM supplemented with 10% (v/v) FBS and 100 U ml−1 penicillin/streptomycin to a confluency of 50% in a 6-well plate. Then, 1 ml of the produced lentivirus preparation was added along with 1 ml of fresh medium and further supplemented with 4 µg ml−1 polybrene. After 24 h, an extra 1 ml of virus was added to the HeLa cells. The following day, the medium was changed and the cells were allowed to recover for another 24 h. The day after that, selection was initiated by adding 1 µg ml−1 blasticidin. After several passages, the cells were sorted by fluorescence-activated cell sorting on a BD FACSymphony A3 Cell Analyzer using the eGFP signal for gating to isolate the HeLaeGFP+ population. The primary structure of HER2Δ-eGFP is given in Supplementary Table 11.

Mammalian cell culture

Mammalian cell lines were cultured in media as detailed in the Supplementary Table 12 in an incubator at 37 °C and 5% CO2. All cell lines were regularly tested free of mycoplasma.

Confocal microscopy

Suspension cell lines

The specific cell line or mixture was treated as specified in the relevant section. After treatment, cells were suspended in DBPS, 1% w/v BSA, 2 mM CaCl2 supplemented with Hoechst 33342 (10 µg ml−1) and incubated for 30 min at room temperature before being washed twice in buffer. The cells were then transferred to a glass-bottom plate and allowed to settle before being imaged using 40× magnification on a Nikon A1/HD25 microscope (Nikon Instruments). Processing of fluorescence microscopy images was done using FIJI (National Institutes of Health)39.

Adherent cell lines

The specific cell line was plated on a glass-bottom plate, cultured and then treated as specified in the relevant section. After treatment, DBPS, 1% w/v BSA, 2 mM CaCl2 supplemented with Hoechst 33342 (10 µg ml−1) was added to the plate and the adherent cells incubated for 30 min at room temperature before being washed twice in buffer. The cells were then imaged as described above.

Flow cytometry

Cell lines were suspended as 1,000,000 cells per ml in cold DBPS, 1% w/v BSA, 2 mM CaCl2 (supplemented with 50 mM EDTA for adherent cell cultures), filtered through a cell strainer and kept on ice. Flow cytometry data acquisition was obtained on a BD LSR II flow cytometer and the results were analysed using FlowJo 10.8.1. Single-colour controls were included for compensation adjustments. Examples for the gating strategy used for flow cytometry analysis of mixed K562 populations are given in Supplementary Figs. 811. Examples for the gating strategy used for flow cytometry analysis of mixed mammary populations are given in Supplementary Figs. 1416.

Cell surface labelling using SMART-SpyCatcher

Suspension cell lines

Individually cultured K562 cell lines were spun down and counted to estimate the cell concentration. Then approximately 200,000 cells of an individual K562 cell culture were isolated, washed twice with a buffer containing DPBS, 1% w/v BSA and 2 mM CaCl2 and then suspended in 0.4 ml of the same buffer or in an appropriate medium. To this sample was added the specified SMART-SpyCatcher system at the stated concentration by adding each individual component (SpyN and SpyC) from stock solutions dissolved in 100 mM NaH2PO4 (pH 7.2), 150 mM NaCl, 1 mM EDTA and 1 mM DTT. The sample was then incubated for 2 h at 37 °C in 5% CO2 to allow for cell-surface receptor binding and protein trans-splicing. The specified SpyTag003 conjugate was then added (100 nM final concentration) and the SpyTag003–SpyCatcher003 reaction was allowed to proceed in the dark at room temperature for 20 min. The cells were then washed twice with cold DPBS, 1% w/v BSA, 2 mM CaCl2 and incubated on ice until further analysis by confocal microscopy or flow cytometry. Samples subjected to SDS–PAGE or western blotting were washed twice with DPBS alone to remove excess BSA. Control experiments examining the mechanism of action in Extended Data Fig. 3a–c included the following steps before the addition of SpyTag003–AF594: first, addition of competing DARPins (500 nM) blocking SMART-SpyCatcher binding; second, addition of the Cys1-alkylated eNrdJ-1Ncage component, unable to perform protein trans-splicing; or third, pre-addition of unlabelled SpyTag003 (500 nM) to block the reaction with SpyTag003–AF594. In reactions with SpyTag003D117A–AF594, the mutation D117A disables the formation of an isopeptide bond with SpyCatcher003.

Adherent cell lines

Individually cultured adherent cell lines were lifted using trypsin, washed with complete medium and counted to estimate the cell concentration. Then 200,000 cells were seeded in 24-well plates and allowed to attach and recover for 24 h in complete media. The assay protocol for SMART-SpyCatcher actuation and SpyTag003 recruitment followed that outlined above for the suspension cell lines. After treatment, the adherent cells were washed twice with DPBS, 1% w/v BSA, 2 mM CaCl2 and then lifted with a non-enzymatic solution of DPBS, 1% w/v BSA, 50 mM EDTA and incubated on ice before analysis by flow cytometry. For SDS–PAGE or western blotting, cells were lifted as described and then washed with DPBS alone to remove excess BSA.

Mixed-population experiments using SMART-SpyCatcher

Suspension cell lines

Two distinct mixed populations of K562 cell lines were generated (K562 expresses low endogenous levels of EpCAM):

  • Mixed K562 population 1

    • K562 (wild-type cell line)

    • K562EGFR+

    • K562HER2+

    • K562HER2+/EGFR+

  • Mixed K562 population 2

    • K562 (wild-type cell line)

    • K562EGFR+

    • K562HER2+/EpCAMhi

    • K562HER2+/EGFR+/EpCAMhi

The mixed populations were generated by combining the specified four cell lines (50,000 cells each) in a reaction tube. The SMART-SpyCatcher system (SpyN and SpyC) was then added at the specified concentration and the sample was incubated for 2 h at 37 °C and 5% CO2 to allow for cell-surface receptor binding and protein trans-splicing. In experiments involving NOT gating, the decoy was added at 100 nM just before the addition of SMART-SpyCatcher. The required SpyTag003 conjugate was then added (100 nM final concentration) and the SpyTag003–SpyCatcher003 reaction was allowed to proceed in the dark at room temperature for 20 min. The cells were then washed twice with cold DPBS, 1% w/v BSA, 2 mM CaCl2 and incubated on ice until further analysis by confocal microscopy or flow cytometry. When appropriate for data representation, the individual data sets from the two distinct mixed populations were combined into one common bar graph.

Adherent cell lines

The three adherent cell lines MCF-10a, MCF7 and Sk-br-3 were cultured individually. Each cell line was lifted with a non-enzymatic solution of DPBS, 1% w/v BSA, 50 mM EDTA and counted to estimate the cell concentrations. MCF-10a was then mixed in equal numbers with either MCF-7 or Sk-br-3, and the two mixed mammary populations washed with either complete DMEM medium (MCF-10a + MCF-7) or complete McCoy’s 5a Medium Modified medium (MCF-10a + Sk-br-3) before being aliquoted at 200,000 cells per well in a 24-well plate. The cells were incubated for 6 h at 37 °C and 5% CO2. The assay protocol for SMART-SpyCatcher actuation and SpyTag003 recruitment follows that outlined above for the suspension cell lines. After treatment, the adherent cells were washed twice with DPBS, 1% w/v BSA, 2 mM CaCl2 and then lifted with a non-enzymatic solution of DPBS, 1% w/v BSA, 50 mM EDTA and incubated on ice before analysis by flow cytometry.

Cell antigen phenotyping

Suspension cell lines

Individually cultured K562 cell lines were spun down and counted to estimate the cell concentration. Then approximately 200,000 cells of an individual K562 cell culture were isolated, washed with DBPS, 1% w/v BSA, 2 mM CaCl2 and incubated for 30 min at room temperature in the same buffer supplemented with 100 nM Alexa Fluor 594 DARPin conjugate targeting the antigen EpCAM. The cells were washed twice with DBPS, 1% w/v BSA, 2 mM CaCl2 and incubated on ice until further analysis by flow cytometry.

Adherent cell lines

Plated cells were lifted with trypsin, washed with complete medium and counted to estimate the cell concentration. Then 200,000 cells were seeded in a 24-well plate format and allowed to recover and attach for 24 h in complete media. The cells were then washed with DBPS, 1% w/v BSA, 2 mM CaCl2 and incubated for 30 min at room temperature in the same buffer supplemented with 100 nM Alexa Fluor 594 DARPin conjugate targeting one of the three antigens HER2, EGFR or EpCAM, or alternatively 100 nM Alexa Fluor 594 single-domain antibody conjugate targeting CEACAM6. The doxycycline-inducible cell lines OE19CXCR4DOX and OE19A2ADOX were incubated with 100 nM of the synthetic conjugates BTK140-PEG3-AF568 or SCH58261-AF488 respectively. The cells were washed twice with DBPS, 1% w/v BSA, 2 mM CaCl2 before being lifted with a non-enzymatic solution of DPBS, 1% w/v BSA, 50 mM EDTA and incubated on ice until further analysis by flow cytometry.

NeutrAvidin Rhodamine Red-X recruitment assay

The cell sample was prepared following the assay protocol detailed for single population or mixed populations of suspension cells described above. After incubation with SMART-SpyCatcher (SpyN and SpyC each at 100 nM final concentration) for 2 h, SpyTag003 labelled with biotin (SpyTag003-Biotin, 100 nM) was added to the cells and the SpyTag003–SpyCatcher003 reaction allowed to proceed for 20 min at room temperature in the dark. The cells were then washed twice with cold DPBS, 1% w/v BSA, 2 mM CaCl2 and then incubated with NeutrAvidin Rhodamine Red-X (1:500) for 30 min. The cells were then washed with DBPS, 1% w/v BSA, 2 mM CaCl2 before being imaged by confocal microscopy or analysed by flow cytometry. For the experiment studying the intake of NeutrAvidin Rhodamine Red-X, the sample was imaged immediately and after an extra incubation period of 4 h at the specified temperature.

Cell-depletion assay

Mixed K562 population depletion

The sample was prepared following the assay protocol detailed for mixed populations of suspension cells described above. After incubation with SMART-SpyCatcher (SpyN and SpyC each at 100 nM final concentration) for 2 h, SpyTag003 labelled with biotin (SpyTag003-biotin, 100 nM) was added to the cells and the SpyTag003–SpyCatcher003 reaction allowed to proceed for 30 min at room temperature. The cells were washed with complete RPMI-1640 medium. Cells were then aliquoted into a 96-well plate (12,500 cells per well) and an extra 100 μl of complete RPMI-1640 media containing Streptavidin–Saporin (20 nM final concentration) was added. The cells were then cultured for 72 h for the single-dose regimen. For the two-dose regimen, the cells were cultured for 24 h before being subjected to the treatment described above a second time and then cultured for an extra 72 h. Samples were then analysed by flow cytometry.

Subpopulation percentages obtained from the flow cytometry analysis were normalized using the following formula: percentage viability = X1/(X0 × (WT1/WT0)) × 100, where X0 is the percentage of the specific subpopulation in the negative untreated sample, X1 is the percentage of the specific subpopulation, the relevant sample, WT0 is the percentage of the wild-type subpopulation in the negative untreated sample, and WT1 is the percentage of the wild-type subpopulation in the relevant sample. The derived percentage is taken to be the viability of the specified subpopulation.

Single A431 population depletion

For the A431 cell-depletion assay, the cultured cells were lifted with trypsin, counted and then seeded at 5,000 cells per well in a 96-well plate before further culturing for 24 h at 37 °C and 5% CO2. The cells were then washed with DPBS, 1% w/v BSA, 2 mM CaCl2 and incubated with the indicated SMART-SpyCatcher (SpyN and SpyC, each at 100 nM final concentration) for 2 h at 37 °C and 5% CO2. SpyTag003-biotin (100 nM) was added and the sample was incubated for 30 min at room temperature. The cells were gently washed with complete DMEM medium before being suspended in 200 μl DMEM medium containing 20 nM Streptavidin–Saporin conjugate as indicated. The cells were cultured for 24 h at 37 °C and 5% CO2 before the complete treatment described above was repeated to give a two-dose regimen. Finally, the cells were cultured for an extra 72 h. Each well was then washed twice with complete DMEM medium and 200 μl of complete DMEM medium added. An XTT cell viability assay was used to quantify the metabolic activity of each sample according to the protocol prescribed by the manufacturer. The conversion of XTT to formazan was measured on a SpectraMax iD5 Multi-Mode Microplate Reader (Molecular Devices) using well-scan mode at 465 nm at room temperature. The obtained absorbance values were normalized to the negative untreated control.

Protein proximity labelling

APEX2 proximity labelling

The cell sample, prepared following the assay protocol detailed for single populations, was treated with the SMART-SpyCatcher reactants (SpyN and SpyC each at 100 nM final concentration) for 2 h. The cells were then incubated with SpyTag003-APEX2 (300 nM) for 30 min at room temperature before being washed twice with DPBS. To initiate APEX proximity labelling, the cells were treated with 1 ml DPBS containing biotin-phenol (250 µM final concentration) followed by the addition of 10 µl of freshly prepared DPBS containing 100 mM H2O2, and the reaction was allowed to proceed at room temperature under gentle swirling for the indicated time. The reaction was quenched by the addition of 200 µl DPBS, 10 mM sodium ascorbate and 5 mM Trolox, and the cells washed twice with 1 ml of the same buffer. The cells were lifted (when necessary) by the addition of 1 ml DPBS, 50 mM EDTA, pelleted and suspended in 200–500 µl 50 mM Tris-HCl (pH 8.0), 150 mM NaCl, 1% v/v NP-40, 0.5% w/v sodium deoxycholate, 0.1% w/v sodium dodecyl sulfate supplemented with 1× Halt Protease Inhibitor Cocktail and 1 mM PMSF, then sonicated briefly and centrifuged for 20 min at 15,000g at 4 °C. The supernatant was isolated and analysed by SDS–PAGE/western blotting.

AND-gated μMap photocatalytic proximity labelling

For the mixed-cell experiment, the mixed K562 population 1 was prepared as described above in DPBS, 1% w/v BSA, 2 mM CaCl2. The cells were incubated with the SMART-SpyCatcher (100 nM, eNrdJ-1cage variant) in 1 ml DPBS, 1% w/v BSA, 2 mM CaCl2 for 2 h at 37 °C, 5% CO2. SpyTag003-Ir was added to a final concentration of 200 nM in DPBS and the cells were incubated for 30 min at room temperature. The cells were washed twice with DPBS before incubation in DPBS supplemented with 250 µM biotin-diazirine for 5 min at room temperature. The cell sample was then irradiated using a Kessil PR160L lamp (LED 440 nm) for 5 or 10 min. The cells were washed again twice with DPBS and then treated with Streptavidin–Alexa Fluor 546 (1:2,000 v/v ratio) and incubated for 30 min. Finally, the cells were washed twice with DPBS and analysed by flow cytometry.

Cell experiments using SMART-IL-1β

On-cell splicing and release

OE19 cells were cultured to full confluency on a 12-well plate and washed twice with DBPS supplemented with 1% w/v BSA and 2 mM CaCl2. Alternatively, one million cultured K562 cells were collected and washed twice with DBPS, 1% w/v BSA, 2 mM CaCl2. In both cases, the cells were incubated with each SMART-IL-1β fragment (at the specified concentration) in 0.5 ml with DBPS, 1% w/v BSA and 2 mM CaCl2 for 2 h at 37 °C and 5% CO2. The supernatant was then withdrawn, cleared of any cell debris by centrifugation and used further.

IL-1β stimulation of HeLa cultures

HeLa cells were cultured to about 30–50% confluency in a 24-well glass-bottom plate. The supernatant from OE19 or K562 cultures, prepared as described above, was applied to the cell culture with an additional 500 µl fresh DMEM supplemented with 10% v/v FBS, 100 U ml−1 penicillin/streptomycin for 30 min at 37 °C at 5% CO2. The cells were then washed with DBPS before being fixed by incubation in 0.5 ml 5% v/v formaldehyde for 10 min at room temperature. Excess formaldehyde was quenched by the addition of 0.5 ml 150 mM glycine followed by washes with DPBS. The cells were subsequently permeabilized by incubation with 0.5 ml DPBS and 0.5% v/v Triton X-100. The fixed and permeabilized cell sample was then washed and blocked for 1 h at room temperature by the addition of DPBS, 4% w/v BSA and 0.1% v/v Tween-20, and then washed with DPBS, 4% w/v BSA and 0.1% v/v Tween-20. The cell sample was thereafter treated first with rabbit anti-NF-κB (p65) antibody in DPBS and 1% w/v BSA for 1 h at room temperature, washed and then incubated with goat anti-rabbit dye conjugate and Hoechst (1:2,000 dilution) in DPBS and 1% w/v BSA for 30 min in the buffer. Finally, the cell sample was subjected to immunofluorescence microscopy.

HEK-Blue IL-1β cell assay

Cultured HEK-Blue IL-1β cells were gently lifted by trypsinization, counted and plated as 100,000 cells per well in a 24-well plate, after which they were allowed to recover overnight. After aspiration, 500 µl supernatant from OE19 or K562 cultures, prepared as described above, was added with an additional 500 µl of fresh medium without Normocin/Zeocin. The cell cultures were then incubated for 24 h at 37 °C and 5% CO2. From each of the treated HEK-Blue IL-1β cell cultures, 50  µl supernatant was transferred to a 96-well plate. To each well we added 150 µL QUANTI-Blue solution, after which the plate was incubated for 30 min at 37 °C. SEAP levels were then determined using a plate reader measuring the absorbance at 630 nm.

Mixed cells K562 and HEK-Blue

One million K562 cells and 100,000 HEK-Blue IL-1β cells were collected, mixed and washed and suspended in 0.5 ml DPBS, 1% w/v BSA and 2 mM CaCl2. The cells were then co-incubated in a 12-well plate. SMART-IL-1β was added to the cell sample, which was further incubated for 2 h at 37 °C and 5% CO2. Then 500 µl RPMI medium supplemented with 5% FBS, 100 U ml−1 penicillin-streptomycin and 25 mM HEPES buffer was added and the cells were co-cultured for 24 h at 37 °C and 5% CO2. The SEAP assay was then done as described above.

Mixed cells OE19 and HeLaeGFP+

OE19 and HeLaeGFP+ cells were seeded in a 24-well glass-bottom plate in a 5:1 ratio and cultured in a mixture of 50% DMEM, 50% RPMI media supplemented with 2 mM l-glutamine, 10% w/v FBS and 100 U ml−1 penicillin-streptomycin. When nearly confluent, the cells were washed with DPBS, 1% w/v BSA and 2 mM CaCl2 and incubated with SMART-IL-1β for 2 h at 37 °C and 5% CO2. The cells were then washed, fixed, permeabilized and analysed by fluorescence microscopy as described above.

Statistics and reproducibility

All statistical analyses were done in GraphPad Prism v.9.2.0. P-values were determined by either two-sided t-test or one-way ANOVA followed by Dunnett’s test, as listed in the figure legends. The statistical significances of differences (NS, not significant; *P < 0.05, **P < 0.01, ***P < 0.001, ****P < 0.0001) are specified throughout the figures and legends. Heatmaps were generated using GraphPad Prism v.9.2.0. All experiments analysed by SDS–PAGE/western blotting and/or flow cytometry were repeated at least 2–3 times (independent biological replicates). All experiments analysed by microscopy were repeated at least twice (independent biological replicates). All results were reproducible.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.