Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Controlling CRISPR-Cas9 with ligand-activated and ligand-deactivated sgRNAs

## Abstract

The CRISPR-Cas9 system provides the ability to edit, repress, activate, or mark any gene (or DNA element) by pairing of a programmable single guide RNA (sgRNA) with a complementary sequence on the DNA target. Here we present a new method for small-molecule control of CRISPR-Cas9 function through insertion of RNA aptamers into the sgRNA. We show that CRISPR-Cas9-based gene repression (CRISPRi) can be either activated or deactivated in a dose-dependent fashion over a >10-fold dynamic range in response to two different small-molecule ligands. Since our system acts directly on each target-specific sgRNA, it enables new applications that require differential and opposing temporal control of multiple genes.

## Introduction

CRISPR-Cas9 has emerged as an immensely powerful system for engineering and studying biology due to its ability to target virtually any DNA sequence via complementary base pairing with a programmable single-guide RNA (sgRNA)1. This ability has been harnessed to edit genomes, repress2 or activate3,4 gene expression, image DNA loci5, generate targeted mutational diversity6 and to modify epigenetic markers7.

In addition to engineering CRISPR-Cas9 for diverse applications, there has also been broad interest in developing strategies to regulate CRISPR-Cas9 activity8,9. Such strategies promise to mitigate off-target effects and allow the study of complex biological perturbations that require temporal or spatial resolution9. To date, most of the progress in this area has been focused on switching the activity of the Cas9 protein using chemical10,11,12,13,14,15,16 or optical17,18,19 inputs. A general issue with these approaches is that all target genes are regulated in the same manner, although this limitation can be addressed with orthogonal CRISPR-Cas9 systems16,20,21.

An alternative but less explored strategy is to regulate the sgRNA instead of the Cas9 protein. Since the sgRNA is specific for each target sequence, controlling the sgRNA directly has the potential to independently regulate each target. This strategy has been approached using sgRNAs that sequester the 20 nucleotide target sequence (the spacer) only in the absence of an RNA-binding ligand22,23, ligand-dependent ribozymes that cause irreversible RNA cleavage23,24, ligand-dependent protein regulators recruited to the sgRNA to alter CRISPR function12, and engineered antisense RNA to sequester and inactivate the sgRNA25.

Here we describe a new method to engineer ligand-responsive sgRNAs by using RNA aptamers to directly affect functional interactions between the sgRNA, Cas9, and the DNA target. In contrast to prior sgRNA-based methods, our approach can be used to both activate and deactivate CRISPR-Cas9 function in response to a small molecule. In addition, our approach requires only Cas9 and the designed sgRNAs. We further show that control of CRISPR-Cas9 function with our method is dose-dependent over a wide range of ligand concentrations and can be used to simultaneously execute different temporal programs for multiple genes within a single cell. We envision that this method will be broadly useful for many applications of CRISPR-Cas9-mediated biological engineering in bacterial systems.

## Results

### Design of controllable sgRNAs

We sought to insert an aptamer into the sgRNA such that ligand binding to the aptamer would either activate or deactivate CRISPR-Cas9 function. We envisioned that ligand binding could either stabilize or destabilize a functional sgRNA conformation — bound to Cas9 and the DNA target — over other competing states in the ensemble (Fig. 1a). We chose the theophylline aptamer26 as a starting point because it is well-characterized and has high affinity for its ligand, which is cell permeable and is not produced endogenously.

We first asked which sites in the sgRNA were most responsive to the insertion of the theophylline aptamer and which strategies for linking the aptamer to the sgRNA were most effective. We designed aptamer insertions at each of the sgRNA stem loops at sites that are solvent-exposed in the Cas9/sgRNA/DNA ternary complex27 and exhibit various levels of tolerance to mutation28. These insertion sites are denoted the upper stem, nexus, and hairpin (Fig. 1b). We tested three linking strategies aimed at stabilizing a functional sgRNA conformation in the presence of the ligand: (i) replacing parts of each stem with the aptamer, (ii) splitting the sgRNA in half and using the aptamer to bring the halves together, and (iii) designing strand displacements (i.e. sequences that allow for alternative base pairing in the apo and holo states) (Fig. 1c, Supplementary Note 1, Supplementary Table 1).

To test the resulting 86 designed sgRNAs, we used an in vitro assay to measure differential Cas9-mediated DNA cleavage in the presence and absence of theophylline. We identified theophylline-responsive sgRNAs for all three insertion sites (Fig. 1d), with the most successful designs derived from the strand displacement linking strategy (Supplementary Table 1). We confirmed that the activity of our designs depended on the concentration of theophylline, as would be expected if the ligand affects function through binding the aptamer-containing designed sgRNA (Fig. 1e). In total, 10 designs were responsive to theophylline in vitro. For nine of these responsive designs theophylline addition activated CRISPR-Cas9 function, while for one design (#61) theophylline unexpectedly deactivated function. Interestingly, all of the theophylline-activated designs had the aptamer inserted into either the upper stem or the hairpin, while the theophylline-deactivated design had the aptamer inserted into the nexus (Fig. 1b, d, Supplementary Table 1). These findings suggested the exciting possibility of regulating CRISPR-Cas9 function with both ligand-activated and ligand-deactivated sgRNAs, depending on the aptamer insertion site.

### Selection of controllable sgRNAs in E. coli

We next sought to find designed sgRNAs that would function robustly in E. coli. To screen designed libraries using fluorescence-activated cell sorting (FACS), we changed to a cellular assay based on CRISPR-Cas9-mediated repression (CRISPRi) of super-folder green fluorescent protein (sfGFP) and monomeric red fluorescent protein (mRFP) (Fig. 2a)14. The strongest rational designs exhibited only weak activity in the CRISPRi assay (Supplementary Fig. 1). Since the sequences linking the aptamer to the remainder of the sgRNA affected activity in our in vitro experiments, we designed libraries with randomized linkers of 4–12 nucleotides at all three insertion sites to broadly sample different aptamer contexts (Fig. 2b, Supplementary Fig. 2, Supplementary Note 2, Supplementary Table 2). To identify ligand-activated sgRNAs, we screened each library first for CRISPRi activity in the presence of theophylline, then second for lack of activity in the absence of theophylline. We then repeated that selection/counter-selection with a different spacer to avoid selecting sgRNA scaffold sequences that would be specific for a particular spacer (Fig. 2c). To identify ligand-inhibited sgRNAs, we used an analogous four-step selection/counter-selection protocol that began by screening for activity in the absence of ligand. We validated the activity of the selected hits with a third spacer that was not used in any of the screens (Supplementary Table 3). The most robust ligand-activated sgRNA variant (termed ligRNA+; i.e. sgRNA that is active in the + ligand state) and ligand-inactivated sgRNA (termed ligRNA) showed 11× and 13× dynamic ranges that spanned 55 and 59% of the range achieved by the controls, with negligible overlap between the active and inactive populations (Fig. 2d, e, Supplementary Table 4).

### Models for ligRNA mechanism

The ligRNA+ construct derived from inserting the aptamer into the hairpin while randomizing the remainder of the hairpin, the 5 unpaired nucleotides at the apex of the nexus, and the region between the hairpin and the nexus. The hairpin became more GC-rich, but the base-pairing was conserved with the exception of a single mismatch. The apex of the nexus became complementary to the 5′ region of the aptamer. The region between the hairpin and the nexus remained AU-rich and unpaired (Supplementary Fig. 3a). Secondary structure predictions of ligRNA+ using ViennaRNA29 (Supplementary Fig. 3b) are consistent with our intended mechanism, where ligand binding to the aptamer leads to strand displacements stabilizing the active sgRNA conformation.

The ligRNA construct derived from inserting the aptamer into the nexus while randomizing the nexus stem. The nexus stem was extended from 2 to 5 bp, but remained base-paired and GC-rich (Supplementary Fig. 3a). The mechanism underlying the ability of ligRNA to deactivate CRISPR-Cas9 function upon the addition of theophylline was unclear. ViennaRNA predictions of the lowest energy conformation for ligRNA were uninformative on the mechanism of ligand control, as they suggested that ligRNA adopts the same secondary structure in the presence and absence of theophylline (Supplementary Fig. 3c). However, we noticed that in the stem sequence selected in our screen, U95 in ligRNA (U59 in the crystal structure of the Cas9 ternary complex with DNA and RNA27) was conserved in 17 of the 20 isolated sequences (Supplementary Table 3). This uracil makes specific hydrogen-bonding interactions with asparagine 77 of Cas9 in the ternary complex. In the sgRNA scaffold this uracil is always unpaired, but in ligRNA it is predicted to engage in a wobble base pair with G65 in the stem leading up to the aptamer (Supplementary Fig. 3c). These observations led us to hypothesize that ligand binding to the aptamer controls the extent to which U95 is unpaired, which in turn determines whether or not ligRNA interacts functionally with Cas9 and the target DNA. To test this hypothesis, we first designed strand-swapping mutations in the stem leading up to the aptamer (Supplementary Fig. 4). As expected, swapping U95 rendered ligRNA completely inactive, while swapping base pairs at the positions between U95 and the aptamer had only a mild effect (Supplementary Fig. 4d). We then modulated the strength of the base pairs between U95 and the aptamer. Consistent with the hypothesis that ligand binding to the aptamer decreases access to U95, we found that weaker base pairs were more repressing while stronger base pairs were more activating (Supplementary Fig. 4e). These results provide a possible explanation for how ligRNA deactivates CRISPR-Cas9 function in the presence of the ligand and suggest additional ways for ligRNAs to be tuned for specific applications.

### Tunability of ligRNA function

Next, we tested whether the ligRNAs responded to increasing concentrations of theophylline in a dose-dependent manner in the cellular CRISPRi assay. We observed that the activities of both ligRNA+ and ligRNA were smoothly titratable and exhibited a nearly linear response over a large range of ligand concentration (Fig. 2f). We note that the apparent EC50s for ligRNA+ and ligRNA (134.3 ± 11.3 µM and 177.6 ± 17.3 µM) are much higher than the KD of the theophylline aptamer alone (320 nM)30. This discrepancy is common for RNA devices31 and could be explained by the altered structural context of the aptamer embedded in an sgRNA sequence. Nevertheless, the linear dependence on theophylline concentration of the ligRNAs demonstrates their utility for not only turning genes on or off, but also for precisely tuning their levels of expression.

A recent study reported regulation of CRISPRi activity by modulating sgRNA expression levels in E. coli32. To test how decreased expression levels would affect the ligRNAs, we replaced the strong constitutive promoter driving sgRNA expression (J23119) with a weak constitutive promoter (J23150), confirmed decreased sgRNA expression by quantitative real-time polymerase chain reaction (qPCR) (Supplementary Fig. 5a), and repeated the CRISPRi assay. Both ligRNAs remained functional with the weak promoter, albeit with somewhat narrower dynamic ranges (from a 10.2 ± 0.7-fold to a 5.9 ± 0.5-fold change upon theophylline addition for ligRNA+ and from a 16.2 ± 1.0-fold to a 11.6 ± 0.9-fold change for ligRNA, Supplementary Fig. 5b). Notably, the weak promoter shifted the dynamic ranges of both ligRNAs in the direction of increased gene expression, to the point where nearly full gene activation was achieved in the non-repressing state. These results suggest that the ligRNAs are able to repress at low expression levels, and that tuning promoter strength is useful for applications that require full gene activation (alternatively, a collection of ligRNA variants that shift the dynamic range is shown in Supplementary Fig. 6).

### Rapid response time of ligRNAs to added ligand

To determine the timescale of the response to ligRNA switching, we measured GFP mRNA levels by qPCR at timepoints ranging from 2 to 30 min after addition or removal of theophylline from the growth medium (Fig. 2g). Both ligRNAs effected a rapid change in mRNA levels. With ligRNA+ , the response was 50% complete after 10.2 min when adding theophylline and 4.8 min when removing it. Likewise, with ligRNA, the response was 50% complete after 3.3 and 7.9 min, respectively. (For comparison, mRNAs have half-lives between <1 and 16 min in E. coli33.) The rapid response times for the relief of repression were particularly surprising, since the dwell-time for dCas9 bound to DNA is estimated to be at least 45 min34,35,36. Possible explanations for the rapid response include RNA polymerase actively dislodging dCas9 from the DNA or the dCas9/ligRNA complex being affected by the mutations in the ligRNA. In either case, ligRNAs are a promising tool for applications requiring fast gene regulation.

### ligRNA function with different spacers

Because RNA devices are known to be sensitive to sequence context37, we tested ligRNA+ and ligRNA with 24 different spacers using the in vitro DNA cleavage assay (Fig. 2h, Supplementary Fig. 7, Supplementary Table 5). We found that both ligRNA+ and ligRNA respond to theophylline for the majority of the tested spacers (15 and 21 out of 24 spacers for ligRNA+ and ligRNA, respectively). For the few spacers that did not function, we hypothesized that base-pairing of the spacer sequence with the aptamer might explain the lack of sensitivity to theophylline. To address this question, we predicted the affinity between each spacer and the aptamer (with its associated linker) for both ligRNAs using ViennaRNA29 (Supplementary Fig. 8). For ligRNA+ constructs, the correlation between the duplex free energy prediction and theophylline sensitivity was negligible. However, for ligRNA constructs increased predicted affinity of the spacer for the aptamer sequence correlated with a smaller change in Cas9-mediated DNA cleavage in response to theophylline. This analysis suggested that spacers with predicted affinity for the aptamer could interfere with switching of the ligRNA function, potentially limiting the space of sequences that could be targeted. Similar considerations also apply to the standard sgRNA scaffold, where internal pairing within the sgRNA sequence has been shown to affect CRISPR efficacy38. These considerations nonetheless provide useful design criteria for functional spacers. Taken together, these results suggest that ligRNAs should be capable of regulating most genes, especially those that can be targeted by multiple spacers.

### Regulation of endogenous genes in different bacteria

We next tested the ability of the ligRNAs to regulate endogenous genes (rather than the chromosomally integrated fluorescent proteins used in our screen) in two different bacterial species. We first tested 4 different spacers targeting the endogenous lac operon (lacZ, lacI, A-site and P-site) using a β-galactosidase assay (Fig. 3a, Supplementary Fig. 9). ligRNA+ was functional at all loci, and ligRNA successfully targeted the two sites in lacZ and lacI (Fig. 3b). To determine whether ligRNAs also function in species other than E. coli, we created strains of Pseudomonas aeruginosa UCBPP-PA14 expressing both dCas9 and ligRNA+ targeting dihydrofolate reductase (DHFR). Repression of DHFR via CRISPRi lowers the minimal inhibitory concentration (MIC) of the antibiotic trimethoprim, which targets DHFR39 (Fig. 3c). As expected, the ligRNA+ strain consistently exhibited a lower MIC in the presence of theophylline (Fig. 3d).

### Independent control of multiple genes with multiple ligands

A key advantage of regulating CRISPR-Cas9 using the sgRNA instead of the protein is the ability to independently control different genes with different ligands in the same Cas9 system. To test this idea, we replaced the theophylline (theo) aptamer in the ligRNAs with the 3-methylxanthine (3mx) aptamer (the resulting sgRNA constructs were termed ligRNA±3mx). While the theophylline aptamer is recognized by both ligands, the 3-methylxanthine aptamer is specific to its ligand40. Since the aptamers differ in only one position, the replacement of the theophylline aptamer with the 3-methylxanthine aptamer was straightforward and led to a 3-methylxanthine-sensitive ligRNA variant without further optimization. (ligRNA+ also remained functional with the 3-methylxanthine aptamer but exhibited an undesirable albeit small ~2-fold response to theophylline, Supplementary Fig. 10). We used the two ligRNA variants to construct a system that expresses GFP upon addition of theophylline and expresses GFP and RFP when both ligands are added (Fig. 4a). We then performed a timecourse where we sequentially activated, deactivated, and reactivated both reporter genes using ligRNAs and observed the expected temporal expression program (Fig. 4b). Going further, we also created thiamine-responsive ligRNAs by repeating our FACS screens (Fig. 2) with libraries containing the thiamine pyrophosphate aptamer (Supplementary Fig. 11, Supplementary Table 2, Supplementary Table 3). Although these ligRNAs have a narrower dynamic range (6-fold) than the theophylline or 3-methylxanthine ligRNAs, they demonstrate that our overall strategy for creating ligRNAs is applicable to other ligands. Taken together, these results suggest that concurrent control of multiple genes using ligRNAs responsive to different ligands is possible.

## Discussion

While ligRNAs function robustly in bacteria, transferring them to eukaryotic systems will require further optimization. There are two key requirements for CRISPR/Cas9 to be controllable using ligand-responsive sgRNAs: First, the system has to be limited by the concentration of active sgRNAs, and second, this concentration has to change in response to ligand to reach sufficient levels for activity only in the “on” state. In contrast, we find that in eukaryotic cells the ligRNAs are inactive whether or not theophylline is present (Supplementary Fig. 12, Supplementary Fig. 13). This observation is unlikely due to the inability of theophylline to cross cell membranes, or to other general factors that may interfere with aptamer function, as the theophylline aptamer has been used to regulate gene expression in mammalian cells in multiple different contexts41. Moreover, it is also unlikely that normal CRISPR-Cas9 activity is inhibited in eukaryotes under our conditions, as control sgRNAs targeting the same sites are functional in our mammalian cell and S. cerevisiae experiments (Supplementary Fig. 12, Supplementary Fig. 13). One possible explanation for the lack of transferability to eukaryotic systems is that the ligRNAs have decreased affinity for Cas9 (as both ligRNAs contain mutations in regions that are important for Cas9 binding, the nexus in particular) and therefore do not reach the required active state concentration in the “on” state in eukaryotes. Future work might use screens similar to those described in Fig. 2 to develop suitable ligRNAs for eukaryotic systems. Nevertheless, there are already many useful applications for ligRNAs in bacteria. For example, many species of bacteria do not have facile genetic controls available, and ligRNAs provide such controls with a minimal footprint. Moreover, temporally controlled gene expression programs are thought to be important for key biological processes in bacteria42, and ligRNAs provide a way to conduct large-scale screens to probe these programs and their role in the interactions between bacteria and their environments43.

In conclusion, ligRNAs provide control of both gene repression and gene activation and can be multiplexed for differential control of genes in the same system (Fig. 4). The study of subtle effects in complex biological systems will increasingly require the ability not just to probe individual genes, or to knock down different sets of genes, but to tune the expression of many different genes with fine temporal precision. ligRNAs provide this capability by adding ligand- and dose-dependent control of individual sgRNAs to the already powerful CRISPR-Cas9 technology.

## Methods

### Constructs

All experiments used Cas9 from S. pyogenes (called Cas9 throughout), with mutations D10A and H840A for CRISPRi experiments (dCas9). Sequences of relevant ligRNAs, aptamers, spacers and controls are listed in Supplementary Table 4.

### In vitro DNA cleavage assay

Linear, double-stranded template DNA was acquired either by ordering gBlocks® Gene Fragments from IDT (experiments in Fig. 1d, e) or by cloning the desired sequence into a pUC vector and digesting it with EcoRI and HindIII (experiments in Fig. 2h). Each construct contained a T7 promoter and a spacer that began with 3 5′ Gs (Supplementary Table 5) for efficient transcription by T7 polymerase. DNA template (10–50 ng) was transcribed using the HiScribe™ T7 High Yield RNA Synthesis Kit (NEB E2040S) and unincorporated ribonucleotides were removed with Zymo RNA Clean & Concentrator™-25 spin columns (Zymo R1018).

Target DNA was prepared using inverse PCR to clone the appropriate sequence into a modified pCR2.1 vector ~2.1 kb downstream of its XmnI site. The vector was then digested with XmnI (NEB R0194S) as follows: mix 43.5 μL ≈500 ng/μL miniprepped pCR2.1 DNA, 5.0 μL 10× CutSmart buffer, and 1.5 μL 20 U/μL XmnI; incubate at 37 °C until no uncleaved plasmid is detectable on a 1% agarose gel (usually 30–60 min); dilute to 30 nM in 10 mM Tris–Cl, pH 8.5; store at −20 °C.

For the Cas9 reaction, we adapted the following protocol from ref. 28; mix 5.0 μL water or 30 mM theophylline (in water) and 1.5 μL 1.5 μM sgRNA (in water); incubate at 95 °C for 3 min, then at 4 °C for 1 min; prepare Cas9 master mix for 40 reactions: 241.0 μL water, 66.0 μL 10x Cas9 buffer (NEB B0386A), and 1.0 μL 20 μM Cas9 (NEB M0386T); add 7.0 μL Cas9 master mix; incubate at room temperature for 10 min; add 1.5 μL 30 nM target DNA; pipet to mix; incubate at 37 °C for 1 h; prepare quenching master mix: 4.68 μL 20 mg/mL RNase A (Sigma R6148), 4.68 μL 20 mg/mL Proteinase K (Denville CB3210-5), and 146.64 μL 6x Orange G loading dye via master mix; add 3 μL quenching master mix; incubate at 37 °C for 20 min, then at 55 °C for 20 min; run the entire reaction (18 μL) on a 1% agarose/TAE/GelRed gel at 4.5 V/cm for 70 min.

Band intensities were quantified using Fiji (1.51r)44. The background was subtracted from each image using a 50-pixel rolling ball radius. The fraction of DNA cleaved in each lane (f) was calculated as follows (pixels2kb and pixels4kb are the intensities of the cleaved and uncleaved bands, respectively):

$$f = \frac{{{\mathrm{pixels}}_{2{\mathrm{kb}}}}}{{{\mathrm{pixels}}_{4{\mathrm{kb}}} + {\mathrm{pixels}}_{2{\mathrm{kb}}}}}$$
(1)

The change in cleavage due to ligand (Δf) was calculated as follows (fapo and fholo are the fractions of DNA cleaved in the reactions without and with theophylline, respectively):

$$\Delta f = f_{{\mathrm{theo}}} - f_{{\mathrm{apo}}}$$
(2)

### CRISPR-Cas9-based repression (CRISPRi) assay in E. coli

The strain used for all CRISPRi experiments was E. coli MG1655 with dCas9 (containing the D10A and H840A mutations) and ChlorR on a p15A plasmid (pgRNA-bacteria, Addgene 44251), sgRNA and AmpR on a pUC plasmid (pdCas9-bacteria, Addgene 44249), and sfGFP45, mRFP46, and KanR chromosomally integrated at the nsfA locus. This strain was originally described by Qi et al.2.

Overnight cultures of the CRISPRi strain above were inoculated from freshly picked colonies in 1 mL Lysogeny Broth (LB) medium with 100 μg/mL carbenicillin (100 mg/mL stock in 50% EtOH) and 35 μg/mL chloramphenicol (35 mg/mL stock in EtOH). The next morning, fresh cultures were inoculated in 15 mL culture tubes or 24-well blocks by transferring 4 μL of overnight culture into 1 mL EZ Rich Defined Medium (Teknova M2105) with 0.1% glucose, 1 μg/mL anhydrotetracycline, 100 μg/ mL carbenicillin, 35 μg/mL chloramphenicol, with or without 1 mM theophylline (30 mM stock in water). These cultures were then grown for 8 h at 37 °C with shaking at 225 rpm before GFP (488 nm laser, 530/30 filter) and RFP (561 nm laser, 610/10 filter) fluorescence were measured using a BD LSRII flow cytometer. Approximately 10,000 events were recorded for each measurement. Biological replicates were performed on different days using different colonies from the same transformation.

Cell distributions were obtained by computing a Gaussian kernel density estimation (KDE) over the base-10 logarithms of the measured fluorescence values. The mode was considered to be the center of each distribution (e.g. for determining fold changes) and was obtained through the Broyden–Fletcher–Goldfarb–Shanno (BFGS) maximization of the KDE. Dose response curves were fit to the Hill equation (y is the normalized fluorescence, x in the theophylline concentration, EC50 is the inflection point, and ymin and ymax are the lower and upper asymptotes of the fit):

$$y = y_{\mathrm{min}} + \frac{y_{\mathrm{max}} - y_{\mathrm{min}}}{1 + {\mathrm{EC}}50/x}$$
(3)

The script used for data analysis is available from GitHub:

### Identification of functional ligRNAs in E. coli

To generate libraries, randomized regions were inserted into the sgRNA using inverse polymerase chain reaction (PCR) with phosphate-modified and high-performance liquid chromatography (HPLC)-purified primers containing degenerate nucleotides.

Electrocompetent cells were prepared as follows: make “low-salt” Super Optimal Broth (SOB) medium: 20 g bacto-tryptone, 5 g bacto-yeast extract, 2 mL 5 M NaCl, 833.3 μL 3 M KCl, water to 1 L, pH to 7.0 with NaOH, autoclave 30 min at 121 °C; pick a fresh colony and grow overnight in 1 mL SOB; in the morning, inoculate 1 L SOB with the entire overnight culture; grow at 37 °C with shaking at 225 rpm until OD = 0.4 (≈4 h); place cells in an ice bath for 10 min; wash with 400 mL pre-chilled water, then 200 mL pre-chilled water, then 200 mL pre-chilled 10% glycerol; resuspend in a total volume of 6 mL pre-chilled 10% glycerol; make 100 μL aliquots; flash-freeze and store at −80 °C. Electrocompetent cells were transformed as follows: thaw competent cells on ice for 10 min; pipet once to mix cells with 2 μL ≈250 ng/μL library plasmid; shock at 1.8 kV with a 5 ms decay time; immediately add 1 mL pre-warmed SOB with catabolite repression (SOC) medium; recover at 37 °C for 1 h; dilute into selective liquid media and grow at 37 °C with shaking at 225 rpm overnight. After PCR and ligation, libraries were transformed into electrocompetent Top10 cells, mira-prepped47, sequenced, combined to achieve approximately equal representation of variants based on library size and DNA concentration, and transformed into electrocompetent MG1655 cells already harboring the dCas9 plasmid.

Cells were grown as for the CRISPRi assay, but when starting new cultures, care was taken to subculture at least 10× more cells than the size of the library (often 200 μL). Sorting was done using a BD FACSAria II cell sorter. Sorting was no slower than 1000 evt/s and no faster than 20,000 evt/s, with the slower speeds being more accurate and the faster speeds being necessary to sort large libraries. Gates were drawn based on the position of the control population if possible, and based on the most extreme library members otherwise. Typically the gates included between 1% and 5% of the population being sorted. All gates were drawn diagonally in GFP vs. RFP space. Sorted cells were collected in 1 mL SOC at room temperature and, after sorting, were diluted into selective media and grown at 37 °C with shaking at 225 rpm overnight.

Our screening protocol for ligRNA+ was as follows: Pool libraries 23–28 from Supplementary Table 2. First screen: grow without ligand, gate for GFP expression, sort 10,000 evt/s for 3.5 h. Second screen: grow with ligand, gate for GFP repression, sort 1500 evt/s for 70 min. Third screen: grow without ligand, gate for GFP expression, sort 1700 evt/s for 10 min. Fourth screen: grow with ligand, gate for GFP repression, sort 1000 evt/s for 2 min. Fifth screen: grow without ligand, gate for GFP expression, sort 5000 evt. Plate cells and test 96 individual colonies using the CRISPRi assay. Miniprep and sequence the 20 selected designs with the largest response to theophylline. Only one unique sequence was identified, and it did not function with the sgR1 spacer (Supplementary Table 3). Note that we did not change the spacer in between the second and third screens for this library. We then designed libraries 29–30 (Supplementary Table 2) to keep the stem identified in the previous screen of libraries 23–28 and to randomize other regions of the sgRNA that might be participating in ligand-dependent base-pairing. First screen: grow with ligand, gate for GFP repression, sort 4000 evt/s for 2 h. Second screen: grow without ligand, gate for GFP expression, sort 1500 evt/s for 1 h. Change the spacer from sgG1 to sgR1 (Supplementary Table 4) using inverse PCR. Third screen: grow with ligand, gate for RFP repression, sort 2000 evt/s for 10 min. Fourth screen: grow without ligand, gate for RFP expression, sort 10,000 evt. Plate cells and test 96 individual colonies using the CRISPRi assay. Miniprep and sequence the 15 selected designs with the largest response to theophylline, then test those designs with four different spacers (sgG1, sgR1, sgG2, sgR2). There was only 1 duplicate sequence, and 8 of the sequences had acquired unexpected mutations outside of the randomized region. The majority of these hits were tested with four different spacers (sgG1, sgR1, sgG2, and sgR2). ligRNA+ and ligRNA performed best (none of the hits performed well with the sgG2 spacer.) Details on all library hits and validation with different spacers can be found in Supplementary Table 3.

Our screening protocol for ligRNA was as follows: Pool libraries 7–22 from Supplementary Table 2. First screen: grow without ligand, gate for GFP repression, sort 18,000 evt/s for 1 h. Second screen: grow with ligand, gate for GRP expression, sort 1000 evt/s for 10 min. Third screen: grow without ligand, gate for GFP repression, sort 1000 evt/s for 10 min. Fourth screen: grow with ligand, gate for GRP expression, sort 1000 evt/s for 10 min. Fifth screen: grow without ligand, gate for GFP repression, sort 1500 evt/s for 7 min. Plate cells and test 96 individual colonies using the CRISPRi assay described above. Miniprep and sequence the 20 selected designs with the largest fold response to theophylline. In this group there were only 9 unique sequences. ligRNA appeared 5 times and had the largest response to theophylline (Supplementary Table 3). Note ligRNA is functional with other spacers (Fig. 2h) despite the fact that we did not change the spacer in between the second and third screens for this library.

Thiamine-dependent ligRNAs were identified using the same screening strategy described above. The library sequences are given in Supplementary Table 2 and use the thiamine pyrophosphate aptamer described by Wieland et al.48. The growth medium was prepared as follows: 1× MOPS (Teknova M2101), 1× K2HPO4 (Teknova M2102), 1× Supplement EZ (Teknova M2104), 0.4% glucose (Teknova G0520), 0.2% casamino acids, 1 μg/mL anhydrotetracycline, 100 μg/mL carbenicillin, 35 μg/mL chloramphenicol, 500 µM thiamine dissolved in water (holo medium only). Note that thiamine is metabolized to thiamine pyrophosphate.

### mRNA timecourse after addition and removal of theophylline

Overnight and day cultures were setup as described for the flow cytometry experiments, except that 88 µL of overnight culture were used to inoculate 22 mL of each day culture for this experiment. The day cultures were grown at 37 °C for 4 h30 in a 125 mL flask with shaking at 225 rpm. After the growth period, timepoints were processed as follows, while making an effort to keep the cells at 37 °C (i.e. in a 37 °C heat block) as much as possible: split the day culture into 19 1 mL aliquots (1 for the 0:00 timepoint, and 2 for each other timepoints); pellet the aliquots at 16,000 g for 30 s; remove the supernatant; simultaneously resuspend the 2 pellets for each timepoint (except the 0:00 timepoint) in medium with and without theophylline; 1:05 before each timepoint: load the resuspended cells corresponding to that timepoint into a tabletop centrifuge, spin at 16,000 g for 15 s, remove the supernatant, and add 1 mL TRIzol (Invitrogen 15596026). Each timepoint was considered to be the time at which the TRIzol was added. In some experiments, the lysed cells were stored in TRIzol at 4 °C overnight. Only a single biological replicate was performed.

Total cellular RNA was extracted using TRIzol and concentrated by isopropanol precipitation with GlycoBlue (Invitrogen AM9516), following the manufacturer’s instructions for both steps and resuspending in a final volume of 10 µL nuclease-free water. RNA concentration and purity were determined by spectrophotometric analysis (Thermo ND-ONE-W). Typical yield: 483.29 ng/µL (25th percentile) to 945.65 ng/µL (75th percentile); A260/A280: 1.86 ± 0.06 (standard deviation). Reverse transcription (RT) was performed as follows: mix 1 µg RNA, 0.5 µL ezDNase (Invitrogen 11766051), 0.5 µL 10× ezDNase buffer, nuclease-free water to 5 µL; incubate at 37 °C for 2 min; centrifuge; place on ice; add 2.0 µL SuperScript IV VILO master mix (Invitrogen 11766050) and 3.0 µL nuclease-free water; incubate at 25 °C for 10 min, 50 °C for 15 min, and 85 °C for 5 min; dilute to 100 µL with nuclease-free water. In some experiments, the reverse-transcribed DNA was stored overnight at 4 °C. The RT reaction was primed with random nucleotide hexamers present in the master mix.

Quantitative real-time polymerase chain reaction (qPCR) reactions were setup manually in 384-well plates with white wells (Biorad HSP3805) as follows: 8.0 µL water, 3.0 µL cDNA from the diluted RT reaction (concentration not determined), 0.75 µL 10 µM forward primer, 0.75 µL 10 µM reverse primer, 12.5 µL 2× Power SYBR Green PCR master mix (Applied Biosystems 4367659). Six reactions were prepared for each sample: 3 technical replicates with primers targeting sfGFP, and 3 technical replicates with primers targeting the reference gene (16 S rRNA). Plates were heat-sealed (Biorad 1814030). Amplification was measured using a CFX384 Real-Time PCR Detection System (Biorad) with the following temperature schedule: 95 °C for 10 min, 40 cycles of 95 °C for 15 s and 60 °C for 1 min. Melting curves were measured from 65 °C to 95 °C in steps of 0.5 °C.

Primers (Supplementary Table 6) were ordered from Elim Biopharm with no modifications. 8 annealing temperatures (55.7–65.5 °C) and 3 primer concentrations (50 nM, 300 nM, 900 nM) were tested. Optimal amplification (i.e. lowest Cq) was observed with annealing at 60.0 °C and primers at 300 nM. The efficiency for each pair of PCR primers was determined by performing qPCR on at least 5 10-fold serial dilutions of reverse-transcribed total cellular RNA (Supplementary Fig. 14).

For comparison with the controls described below, all 228 experimental samples had Cq values between 10.10–16.48 (sfGFP primers) and 7.47–9.47 (16S rRNA primers). To test for contamination of the PCR reagents, we performed “no-template controls” (NTC) in triplicate on both plates in the experiment. 6 of 6 reactions with the sfGFP primers and 2 of 6 reactions with the 16S rRNA primers showed no amplification after 40 cycles. The remaining 4 reactions had an average Cq value of 38.75 ± 0.64 (all uncertainties are standard deviations), negligible compared to the control samples. To test for genomic DNA contamination, we performed “no reverse transcriptase” (NRT) controls in triplicate on both plates. These reactions had an average Cq values of 29.65 ± 2.37 (sfGFP primers) and 26.84 ± 3.33 (16S rRNA primers), negligible compared to the experimental samples. To test for the specificity of our sfGFP primers, we performed qPCR on cDNA extracted from a strain identical to the one used in our experiments, but missing the sfGFP gene. We performed this control in triplicate on both plates. These reactions had average Cq values of 26.15 ± 2.76 (sfGFP primers) and 8.77 ± 0.26 (16S rRNA primers). As expected, the sfGFP values are negligible compared to the experimental samples, while the 16S rRNA values are in line with the experimental samples.

Cq values were determined by the CFX Maestro software (Biorad, version 4.1) using a single threshold value. GFP mRNA levels were normalized relative to the reference gene (16S rRNA) as follows (µ[Cq,X] is the average Cq value for the technical replicates of gene X; σ[Cq,X] is the standard deviation for the technical replicates of gene X; GFP mRNA is the value reported in Fig. 2g):49

$$\mu \left[ {\Delta C_{\mathrm{q}}} \right] = \mu \left[ {C_{\mathrm{q}}{\it{,}}{\mathrm{GFP}}} \right] - \mu \left[ {C_{\mathrm{q}}{\it{,}}16{\mathrm{S}}} \right]$$
(4)
$$\sigma \left[ {\Delta C_{\mathrm{q}}} \right] = \sqrt {\sigma \left[ {C_{\mathrm{q}}{\it{,}}{\mathrm{GFP}}} \right]^2 + \sigma \left[ {C_{\mathrm{q}}{\it{,}}16{\mathrm{S}}} \right]^2}$$
(5)
$${\mathrm{GFP}}\,{\mathrm{mRNA}} = 2^{ - \mu \left[ {\Delta C_{\mathrm{q}}} \right] \pm \sigma \left[ {\Delta C_{\mathrm{q}}} \right]}$$
(6)

The script used for data analysis is available from GitHub:

### Quantification of sgRNA expression levels

Overnight and day cultures were setup as described for the flow cytometry experiments, except that 100 µL of overnight culture was used to inoculate 5 mL of day culture. The day cultures were grown for 2 h at 37 °C with shaking at 225 rpm. Total cellular RNA was extracted and prepared for qPCR as described above.

15 pairs of qPCR primers, comprising 3 forward primers and 5 reverse primers, were designed manually (Supplementary Table 6). The same 3 forward primers were used for all of the sgRNA templates. 2 of the reverse primers were used for the control sgRNAs and ligRNA, while the other 3 were used for ligRNA+ . This was necessary due to the insertion of the aptamer in the 3′ region of ligRNA+. Efficiencies were measured (as described above) for the primer pairs that gave the best amplification for each target (Supplementary Fig. 14).

qPCR was performed as described above, except that no ezDNase was added to the RT reaction and a QuantStudio3 qPCR machine (Applied Biosystems A28137) was used.

Data analysis was performed as described above. The script used for analysis is available from GitHub:

### Test of different spacers in vitro

The spacers for this assay were chosen by a script that generated uniformly random sequences, scored them using a previously published machine learning approach for designing functional sgRNAs50, and kept only those that scored higher than 0.5 (the median). This approach was designed to produce spacers that were as unbiased as possible, while still being likely to function as expected in the positive (optimized sgRNA scaffold51) and negative (G43C G44C28) controls shown in Supplementary Table 4. Note that only spacers used in the in vitro cleavage assay were generated randomly. All other spacers were designed to target the respective genes (gfp, rfp, folA, lacI, lacZ) or genomic target sites as indicated. The average cleavage for the positive controls was 93%, and the lowest cleavage for any of the positive controls was 78% (Supplementary Table 5).

The script used to design spacers is available on GitHub:

### RNA secondary structure predictions

Secondary structure predictions were performed using the RNAfold program from the ViennaRNA package (version 2.4.3). The structures reported here are minimum free energy (MFE) predictions, although centroid and maximum expected accuracy (MEA) structures from partition function calculations were nearly identical in every case. The holo state was simulated using soft constraints: a -9.21 kcal/mol bonus was granted for forming the base pair flanking the aptamer. This bonus corresponds to the 320 nM affinity of the theophylline aptamer for its ligand30.

The command-lines used for the apo and holo states, respectively, are given below:

$RNAfold --partfunc --MEA$ RNAfold --partfunc --MEA --motif \

“GAUACCAGCCGAAAGGCCCUUGGCAGC,(…((((((….)))…)))…),-9.212741321099747”

Free energy predictions for Supplementary Fig. 3 were performed using the RNAduplex program from the ViennaRNA package (version 2.4.3):

\$ RNAduplex

### CRISPRi assays targeting the E. colilac operon

Overnight cultures were setup as described for the flow cytometry experiments. The next morning, fresh cultures were inoculated in 24-well blocks by transferring 4 μL of overnight culture into 1 mL LB medium with 1 μg/mL anhydrotetracycline, 100 μg/mL carbenicillin, 35 μg/mL chloramphenicol, 0 or 1 mM theophylline, and 0 or 1 mM IPTG. Note that this medium contains no glucose, to avoid repression of the lac operon. These cultures were then grown for 6 h at 37 °C with shaking at 225 rpm. β-galactosidase activity was then measured as follows: spin the cells at 3500 g for 10 min; resuspend in 1 mL phosphate-buffered saline (PBS; 137 mM NaCl, 2.7 mM KCl, 10 mM Na2HPO4, 1.8 mM KH2PO4, pH 7.4); transfer 100 µL to a black-well, clear-bottom plate; adjust each well to OD600 = 0.15 by adding cells or PBS (then removing an equal volume to remain at 100 µL); add 100 µL Y-PER (Thermo 75768); mix well; incubate at room temperature for 1 h; add 100 µL β-galactosidase assay buffer (Thermo 75768); mix well; pop any bubbles using a hot needle; measure absorbance at 420 nm (A420) every minute for 45 min via plate reader (BioTek Synergy H1).

The A420 vs time data were fit using a linear regression to determine the initial rate of each reaction. Data points that appeared substrate-limited (often the case when A420 >1.2 before baseline correction) were removed from the fit (Supplementary Fig. 9). The slopes of these fits were used to calculate β-galactosidase activity in Miller units as follows (AMiller is activity in Miller units; m is the slope of the aforementioned regression; OD600 is the density of the culture; V is the volume of the culture in mL):

$$A_{{\mathrm{Miller}}} = \frac{{1000 \times m}}{{{\mathrm{OD}}_{600} \times V}}$$
(7)

The script used to calculate activity is available on GitHub: https://raw.githubusercontent.com/kalekundert/ligrna/master/notebook/20180621_target_endogenous_loci/miller_units.py

### CRISPRi assays in P. aeruginosa

Strains of UCBPP-PA14 expressing dCas9 with positive control sgRNA or ligRNA+ targeting folA (Supplementary Table 4) were prepared as described by Peters et al.39, except that the constitutive promoters J23117 (positive control) and J23115 (ligRNAs and negative control) from the Anderson promoter collection (http://parts.igem.org/Promoters/Catalog/Anderson) were used to drive dCas9 expression. The sequence of the positive control sgRNA was: CGCGCGGTTCTCGCCAAGGGGTTTAAGAGCTATGCTGGAAACAGCATAGCAAGTTTAAATAAGGCTAGTCCGTTATCAACTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTT (underlined: target sequence). Note that, compared to the ligRNAs in this experiment, the positive control expressed dCas9 with a weaker promoter and targeted a less-repressing region of folA. We could not create a positive control strain without these differences, presumably due to the toxicity of constitutive folA repression. The negative control for the PA14 experiments had no sgRNA, since the G63C,G64C mutant used in other experiments was not fully inactive in PA14.

To determine the minimum inhibitory concentration (MIC), overnight cultures of the PA14 strains were inoculated from freshly picked colonies in 1 mL LB medium with no antibiotics. The next morning, fresh cultures were inoculated in 15 mL culture tubes by transferring 40 μL of overnight culture into 2 mL Mueller–Hinton (MH) medium (Difco 275730). These cultures were grown for 2 h at 37 °C with shaking at 225 rpm, then growth in the presence of trimethoprim and theophylline was measured as follows: in the wells of a clear-flat-bottom 96-well plate, mix 50 µL 4× theophylline (where 1× ranges from 0 to 1 mM), 50 µL 4× trimethoprim (where 1× ranges from 0 to 64 µg/mL), and 100 µL of the above cultures diluted to OD600 = 0.005; cover each well with 50 µL mineral oil; spin at 3500 g for 1 min; incubate in a plate reader at 37 °C for 24 h with continuous shaking while measuring OD600 every 5 min.

### CRISPRi assay in S. cerevisiae

All yeast strains were constructed using the MoClo golden gate cloning framework and the Yeast Toolkit from52. The background strain was WCD230 (derived from BY4741 (MATa his3Δ1 leu2Δ0 met15Δ0 ura3Δ0)) with a larger fraction of the his3 gene removed53. All yeast strains contained the dCas9-Mxi1 inhibitor, fluorescent reporters, and ligRNA or control sgRNA construct, respectively (Supplementary Fig. 13a). The inhibitor cassette was integrated into the Ura3 locus and contained pGal1-dCas9-Mxi1 and pRnr2-GEM constructs that allowed for estradiol-inducible expression of dCas9-Mxi154. The Mxi1 inhibition domain was derived from Addgene catalog number 469213 with synonymous mutations made to the E68 and T69 codons to render the construct compatible with golden gate cloning. The fluorescent reporter cassette was integrated into the His3 locus and contained pCcw12-sfGFP and pTdh3-mRFP. The guide cassette was integrated into the Leu2 locus and contained (tRNAPhe)-HDV Ribozyme-sgRNA. The HDV Ribozyme cleaved the ligRNA or control sgRNA from the rest of the transcript to prevent unwanted interactions55. The sgRNA was either positive or negative control sgRNA, ligRNA+, ligRNA+2, or ligRNA.

Strains were plated from freezer stocks on SD-HIS (Yeast Nitrogen Base (YNB), Complete Synthetic Media (CSM) lacking histidine, 2% glucose) because the fluorescent reporter cassette integrated into the His3 locus caused a slight growth defect that was also present for an empty vector integrated in the same locus. After incubating at 30 °C, single colonies were grown overnight in 0.5 ml YPD (yeast extract, peptone, 2% glucose) in 96 well plates with 2 ml/well maximum capacity, shaking at 900 RPM at 30 C in an Infors HT Multitron Pro shaker. Saturated cultures were diluted 1:100 into 1 ml SDC (YNB, CSM, 2% glucose) in a new 2 ml 96 well plate and placed at 30 °C shaking at 900RPM for 2 h. Cells were then diluted 1:4 into 400 µl SDC with estradiol and either theophylline from a 30 mM stock or water in a new 2 ml 96 well plate. The final concentration of estradiol was 125 nM and the final concentration of theophylline when present was 2.5 mM. After 8 h shaking at 900RPM and 30 °C, cells were diluted in 1×TE buffer and analyzed on a flow cytometer (BD LSR II).

### Gene editing assay in mammalian cells

HEK293T (293FT; Thermo Fisher Scientific) cells, and derived cell lines, were grown in Dulbecco’s Modified Eagle Medium (DMEM; Corning Cellgro, #10-013-CV) supplemented with 10% fetal bovine serum (FBS; Seradigm #1500-500), and 100Units/ml penicillin and 100 μg/ml streptomycin (Pen-Strep; Life Technologies Gibco, #15140-122) at 37 °C with 5% CO2. HEK293T and HEK-RT1 cells were tested for absence of mycoplasma contamination (UC Berkeley Cell Culture facility) by fluorescence microscopy of methanol fixed and Hoechst 33258 (Polysciences #09460) stained samples.

HEK293T-based genome editing reporter cells, referred to as HEK-RT1, were established in a two-step procedure56,57. In the first step, puromycin resistant monoclonal HEK-RT3-4 reporter cells were generated. In brief, HEK293T human embryonic kidney cells were transduced at low-copy with the amphotropic pseudotyped retrovirus RT3GEPIR-sh.Ren.71358, comprising an all-in-one Tet-On system enabling doxycycline-controlled EGFP expression. After puromycin (2.0 μg/ml) selection of transduced HEK239Ts, 36 clones were isolated and individually assessed for (i) growth characteristics, (ii) homogeneous morphology, (iii) sharp fluorescence peaks of doxycycline (1 μg/ml) inducible EGFP expression, (iv) relatively low fluorescence intensity to favor clones with single-copy reporter integration, and (v) high transfectability. HEK-RT3-4 cells are derived from the clone that performed best in these tests. In the second step, HEK-RT1 cells were derived by transient transfection of HEK-RT3-4 cells with vectors encoding Cas9 and sgRNAs targeting puromycin, followed by identification of monoclonal reporter cell lines that are puromycin sensitive.

A lentiviral vector, referred to as pCF204, expressing a U6 driven sgRNA and an EFS driven Cas9-P2A-Puro cassette was based on the lenti-CRISPR-V2 plasmid59, by replacing the sgRNA with an enhanced Streptococcus pyogenes Cas9 sgRNA scaffold5. All sgRNAs (sgRen71: TAGGAATTATAATGCTTATC, sgGFP1: CCTCGAACTTCACCTCGGCG, sgGFP9: CCGGCAAGCTGCCCGTGCCC) were designed with a G preceding the 20-nt guide for better expression, and cloned into the lentiviral vector using the BsmBI restriction sites. The lentiviral vectors expressing ligRNA+, ligRNA2+ and ligRNA (referred to as pCF441, pCF442 and pCF443, respectively) were all based on pCF204, by replacing the SpyCas9 sgRNA scaffold with the respective ligRNAs using custom oligonucleotides (IDT), gBlocks (IDT), standard cloning methods, and Gibson assembly techniques. Lentiviral particles were produced using HEK293T packaging cells; viral supernatants were filtered (0.45 µm) and added to target cells. Transduced HEK-RT1 target cells were selected on puromycin (1.0 µg/ml).

GFP expression in HEK-RT1 reporter cells was induced using doxycycline (1 µg/ml; Sigma-Aldrich). Percentages of GFP-positive cells were assessed by flow cytometry (Attune NxT, Thermo Fisher Scientific), routinely acquiring 10,000-30,000 events per sample. Theophylline (Sigma-Aldrich, #T1633-50G) was used at the indicated concentrations, ranging from 0.1 mM to 10 mM. Note, theophylline concentrations of 5 mM and 10 mM resulted in considerable cellular toxicity in the HEK293T-based reporter cell line.

### Reporting summary

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

## Data availability

All relevant data are reported in the main text or Supplementary Information. The source data underlying Fig. 1d, e are provided as a Source Data file. Any additional data relevant to this manuscript are available from the authors upon reasonable request.

## References

1. 1.

Jinek, M. et al. A programmable dual-RNA-guided DNA endonuclease in adaptive bacterial immunity. Science 337, 816–821 (2012).

2. 2.

Qi, L. S. et al. Repurposing CRISPR as an RNA-guided platform for sequence-specific control of gene expression. Cell 152, 1173–1183 (2013).

3. 3.

Gilbert, L. A. et al. CRISPR-mediated modular RNA-guided regulation of transcription in eukaryotes. Cell 154, 442–451 (2013).

4. 4.

Perez-Pinera, P. et al. RNA-guided gene activation by CRISPR-Cas9-based transcription factors. Nat. Methods 10, 973–976 (2013).

5. 5.

Chen, B. et al. Dynamic imaging of genomic loci in living human cells by an optimized CRISPR/Cas system. Cell 155, 1479–1491 (2013).

6. 6.

Findlay, G. M., Boyle, E. A., Hause, R. J., Klein, J. C. & Shendure, J. Saturation editing of genomic regions by multiplex homology-directed repair. Nature 513, 120–123 (2014).

7. 7.

Hilton, I. B. et al. Epigenome editing by a CRISPR-Cas9-based acetyltransferase activates genes from promoters and enhancers. Nat. Biotechnol. 33, 510–517 (2015).

8. 8.

Nunez, J. K., Harrington, L. B. & Doudna, J. A. Chemical and biophysical modulation of Cas9 for tunable genome engineering. ACS Chem. Biol. 11, 681–688 (2016).

9. 9.

Richter, F. et al. Switchable Cas9. Curr. Opin. Biotechnol. 48, 119–126 (2017).

10. 10.

Davis, K. M., Pattanayak, V., Thompson, D. B., Zuris, J. A. & Liu, D. R. Small molecule-triggered Cas9 protein with improved genome-editing specificity. Nat. Chem. Biol. 11, 316–318 (2015).

11. 11.

Liu, K. I. et al. A chemical-inducible CRISPR-Cas9 system for rapid control of genome editing. Nat. Chem. Biol. 12, 980–987 (2016).

12. 12.

Maji, B. et al. Multidimensional chemical control of CRISPR-Cas9. Nat. Chem. Biol. 13, 9–11 (2017).

13. 13.

Nguyen, D. P. et al. Ligand-binding domains of nuclear receptors facilitate tight control of split CRISPR activity. Nat. Commun. 7, 12009 (2016).

14. 14.

Oakes, B. L. et al. Profiling of engineering hotspots identifies an allosteric CRISPR-Cas9 switch. Nat. Biotechnol. 34, 646–651 (2016).

15. 15.

Zetsche, B., Volz, S. E. & Zhang, F. A split-Cas9 architecture for inducible genome editing and transcription modulation. Nat. Biotechnol. 33, 139–142 (2015).

16. 16.

Gao, Y. et al. Complex transcriptional modulation with orthogonal and inducible dCas9 regulators. Nat. Methods 13, 1043–1049 (2016).

17. 17.

Hemphill, J., Borchardt, E. K., Brown, K., Asokan, A. & Deiters, A. Optical control of CRISPR/Cas9 gene editing. J. Am. Chem. Soc. 137, 5642–5645 (2015).

18. 18.

Nihongaki, Y., Kawano, F., Nakajima, T. & Sato, M. Photoactivatable CRISPR-Cas9 for optogenetic genome editing. Nat. Biotechnol. 33, 755–760 (2015).

19. 19.

Polstein, L. R. & Gersbach, C. A. A light-inducible CRISPR-Cas9 system for control of endogenous gene activation. Nat. Chem. Biol. 11, 198–200 (2015).

20. 20.

Bao, Z., Jain, S., Jaroenpuntaruk, V. & Zhao, H. Orthogonal genetic regulation in human cells using chemically induced CRISPR/Cas9 activators. ACS Synth. Biol. 6, 686–693 (2017).

21. 21.

Esvelt, K. M. et al. Orthogonal Cas9 proteins for RNA-guided gene regulation and editing. Nat. Methods 10, 1116–1121 (2013).

22. 22.

Liu, Y. et al. Directing cellular information flow via CRISPR signal conductors. Nat. Methods 13, 938–944 (2016).

23. 23.

Tang, W., Hu, J. H. & Liu, D. R. Aptazyme-embedded guide RNAs enable ligand-responsive genome editing and transcriptional activation. Nat. Commun. 8, 15939 (2017).

24. 24.

Ferry, Q. R., Lyutova, R. & Fulga, T. A. Rational design of inducible CRISPR guide RNAs for de novo assembly of transcriptional programs. Nat. Commun. 8, 14633 (2017).

25. 25.

Lee, Y. J., Hoynes-O’Connor, A., Leong, M. C. & Moon, T. S. Programmable control of bacterial gene expression with the combined CRISPR and antisense RNA system. Nucleic Acids Res. 44, 2462–2473 (2016).

26. 26.

Suess, B., Fink, B., Berens, C., Stentz, R. & Hillen, W. A theophylline responsive riboswitch based on helix slipping controls gene expression in vivo. Nucleic Acids Res. 32, 1610–1614 (2004).

27. 27.

Nishimasu, H. et al. Crystal structure of Cas9 in complex with guide RNA and target DNA. Cell 156, 935–949 (2014).

28. 28.

Briner, A. E. et al. Guide RNA functional modules direct Cas9 activity and orthogonality. Mol. Cell 56, 333–339 (2014).

29. 29.

Lorenz, R. et al. ViennaRNA Package 2.0. Algorithms Mol. Biol. 6, 26 (2011).

30. 30.

Jenison, R. D., Gill, S. C., Pardi, A. & Polisky, B. High-resolution molecular discrimination by RNA. Science 263, 1425–1429 (1994).

31. 31.

Beisel, C. L., Bayer, T. S., Hoff, K. G. & Smolke, C. D. Model-guided design of ligand-regulated RNAi for programmable control of gene expression. Mol. Syst. Biol. 4, 224 (2008).

32. 32.

Fontana, J., Dong, C., Ham, J. Y., Zalatan, J. G. & Carothers, J. M. Regulated Expression of sgRNAs Tunes CRISPRi in E. coli. Biotechnol. J. 13, e1800069 (2018).

33. 33.

Bernstein, J. A., Khodursky, A. B., Lin, P. H., Lin-Chao, S. & Cohen, S. N. Global analysis of mRNA decay and abundance in Escherichia coli at single-gene resolution using two-color fluorescent DNA microarrays. Proc. Natl Acad. Sci. USA 99, 9697–9702 (2002).

34. 34.

Singh, D., Sternberg, S. H., Fei, J., Doudna, J. A. & Ha, T. Real-time observation of DNA recognition and rejection by the RNA-guided endonuclease Cas9. Nat. Commun. 7, 12778 (2016).

35. 35.

Knight, S. C. et al. Dynamics of CRISPR-Cas9 genome interrogation in living cells. Science 350, 823–826 (2015).

36. 36.

Sternberg, S. H., Redding, S., Jinek, M., Greene, E. C. & Doudna, J. A. DNA interrogation by the CRISPR RNA-guided endonuclease Cas9. Nature 507, 62–67 (2014).

37. 37.

Liang, J. C. & Smolke, C. D. Rational design and tuning of ribozyme-based devices. Methods Mol. Biol. 848, 439–454 (2012).

38. 38.

Horlbeck, M. A. et al. Compact and highly active next-generation libraries for CRISPR-mediated gene repression and activation. Elife 5, e19760 (2016).

39. 39.

Peters, J. M. et al. Enabling genetic analysis of diverse bacteria with Mobile-CRISPRi. Nat. Microbiol 4, 244–250 (2019).

40. 40.

Soukup, G. A., Emilsson, G. A. & Breaker, R. R. Altering molecular recognition of RNA aptamers by allosteric selection. J. Mol. Biol. 298, 623–632 (2000).

41. 41.

Berens, C., Groher, F. & Suess, B. RNA aptamers as genetic control devices: The potential of riboswitches as synthetic elements for regulating gene expression. Biotechnol. J. 10, 246–257 (2015).

42. 42.

Laub, M. T., McAdams, H. H., Feldblyum, T., Fraser, C. M. & Shapiro, L. Global analysis of the genetic network controlling a bacterial cell cycle. Science 290, 2144–2148 (2000).

43. 43.

Peters, J. M. et al. A comprehensive, CRISPR-based functional analysis of essential genes in bacteria. Cell 165, 1493–1506 (2016).

44. 44.

Schindelin, J. et al. Fiji: an open-source platform for biological-image analysis. Nat. Methods 9, 676–682 (2012).

45. 45.

Pedelacq, J. D., Cabantous, S., Tran, T., Terwilliger, T. C. & Waldo, G. S. Engineering and characterization of a superfolder green fluorescent protein. Nat. Biotechnol. 24, 79–88 (2006).

46. 46.

Campbell, R. E. et al. A monomeric red fluorescent protein. Proc. Natl Acad. Sci. USA 99, 7877–7882 (2002).

47. 47.

Pronobis, M. I., Deuitch, N. & Peifer, M. The Miraprep: a protocol that uses a miniprep kit and provides maxiprep yields. PLoS ONE 11, e0160509 (2016).

48. 48.

Wieland, M., Benz, A., Klauser, B. & Hartig, J. S. Artificial ribozyme switches containing natural riboswitch aptamer domains. Angew. Chem. Int Ed. Engl. 48, 2715–2718 (2009).

49. 49.

Livak, K. J. & Schmittgen, T. D. Analysis of relative gene expression data using real-time quantitative PCR and the 2(-Delta Delta C(T)) Method. Methods 25, 402–408 (2001).

50. 50.

Doench, J. G. et al. Optimized sgRNA design to maximize activity and minimize off-target effects of CRISPR-Cas9. Nat. Biotechnol. 34, 184–191 (2016).

51. 51.

Dang, Y. et al. Optimizing sgRNA structure to improve CRISPR-Cas9 knockout efficiency. Genome Biol. 16, 280 (2015).

52. 52.

Lee, M. E., DeLoache, W. C., Cervantes, B. & Dueber, J. E. A highly characterized yeast toolkit for modular, multipart assembly. ACS Synth. Biol. 4, 975–986 (2015).

53. 53.

DeLoache, W. C. et al. An enzyme-coupled biosensor enables (S)-reticuline production in yeast from glucose. Nat. Chem. Biol. 11, 465–471 (2015).

54. 54.

Aranda-Diaz, A., Mace, K., Zuleta, I., Harrigan, P. & El-Samad, H. Robust synthetic circuits for two-dimensional control of gene expression in yeast. ACS Synth. Biol. 6, 545–554 (2017).

55. 55.

Ryan, O. W. & Cate, J. H. Multiplex engineering of industrial yeast genomes using CRISPRm. Methods Enzym. 546, 473–489 (2014).

56. 56.

Oakes, B. L. et al. CRISPR-Cas9 circular permutants as programmable scaffolds for genome modification. Cell 176, 254–267 e16 (2019).

57. 57.

Park, H. M. et al. Extension of the crRNA enhances Cpf1 gene editing in vitro and in vivo. Nat. Commun. 9, 3313 (2018).

58. 58.

Fellmann, C. et al. An optimized microRNA backbone for effective single-copy RNAi. Cell Rep. 5, 1704–1713 (2013).

59. 59.

Sanjana, N. E., Shalem, O. & Zhang, F. Improved vectors and genome-wide libraries for CRISPR screening. Nat. Methods 11, 783–784 (2014).

Download references

## Acknowledgements

We thank Anna Simon for discussing research that in part inspired the project, Kianna Zucker for generating constructs used in Fig. 2h, and Kyle Barlow and Anum Glasgow for experimental help. We would also like to thank Carol Gross and Jason Peters for discussions on use of CRISPR-Cas9 in bacteria, Andy May for discussions on sgRNA structure-function relationships, and Pedro Batista for discussions on quantifying RNA expression. The work was supported by National Institutes of Health (NIH) grants R01-GM110089 and R21-EB021453 to T.K. and a Medical Research Award to T.K. by the W.M. Keck Foundation. J.E.L. was supported by a Graduate Fellowship from the National Science Foundation (NSF GRFP). O.S.R., H.E.S. and T.K. are Chan Zuckerberg Biohub Investigators. C.F. is supported by a US National Institutes of Health K99/R00 Pathway to Independence Award (K99GM118909) from the National Institute of General Medical Sciences (NIGMS). B.M.H. is supported by the Post 9/11 GI Bill. J.A.D. is a Paul Allen Frontiers Group Distinguished Investigator and an HHMI Investigator.

## Author information

Authors

### Contributions

K.K. conceived the idea for the project, K.K. and T.K. conceived the experimental approach, K.K. designed and performed the majority of the experiments and analyzed the data with advice and contributions from JEL (CRISPRi multiplexing with different ligands), K.E.W. (ligRNA mechanism), B.L.O. (FACS selections), C.M.F. (in vitro DNA cleavage and qPCR experiments), and J.Q. and N.P. (P. aeruginosa experiments). CF carried out the mammalian cell line experiments. AHN and BMH carried out the yeast experiments. O.S.R., D.F.S., H.E.S., J.A.D. and T.K. provided advice, mentorship and resources. K.K. and T.K. wrote the manuscript with input from all authors.

### Corresponding authors

Correspondence to Kale Kundert or Tanja Kortemme.

## Ethics declarations

### Competing interests

C.F. is a co-founder of Mirimus, Inc. B.L.O. is a co-founder and employee of Scribe Therapeutics. D.F.S. is a co-founder of Scribe Therapeutics and a scientific advisory board member of Scribe Therapeutics and Mammoth Biosciences. J.A.D. is a co-founder of Caribou Biosciences, Editas Medicine, Intellia Therapeutics, Scribe Therapeutics, and Mammoth Biosciences. J.A.D. is a scientific advisory board member of Caribous Biosciences, Intellia Therapeutics, eFFECTOR Therapeutics, Scribe Therapeutics, Synthego, Metagenomi, Mammoth Biosciences, and Inari. J.A.D. is a member of the board of directors at Driver and Johnson & Johnson. The remaining authors declare no competing interests.

## Additional information

Journal peer review information: Nature Communications thanks James Carothers and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

## About this article

### Cite this article

Kundert, K., Lucas, J.E., Watters, K.E. et al. Controlling CRISPR-Cas9 with ligand-activated and ligand-deactivated sgRNAs. Nat Commun 10, 2127 (2019). https://doi.org/10.1038/s41467-019-09985-2

Download citation

• Received:

• Accepted:

• Published:

## Further reading

• ### Controlling and enhancing CRISPR systems

• Haridha Shivram
• , Brady F. Cress
• , Gavin J. Knott
•  & Jennifer A. Doudna

Nature Chemical Biology (2021)

• ### Impact of chromatin context on Cas9-induced DNA double-strand break repair pathway balance

• Ruben Schep
• , Eva K. Brinkman
• , Christ Leemans
• , Xabier Vergara
• , Robin H. van der Weide
• , Ben Morris
• , Tom van Schaik
• , Stefano G. Manzo
• , Daniel Peric-Hupkes
• , Jeroen van den Berg
• , Roderick L. Beijersbergen
• , René H. Medema
•  & Bas van Steensel

Molecular Cell (2021)

• ### Aptamers, Riboswitches, and Ribozymes in S. cerevisiae Synthetic Biology

• Huanhuan Ge
•  & Mario Andrea Marchisio

Life (2021)

• ### Chemical Modification and Transformation Strategies of Guide RNAs in CRISPR‐Cas9 Gene Editing Systems

• Yu Zhang
• , Qian Wang
• , Jing Wang
•  & Xinjing Tang

ChemPlusChem (2021)

• ### Sequence-independent RNA sensing and DNA targeting by a split domain CRISPR–Cas12a gRNA switch

• Scott P Collins
• , William Rostain
• , Chunyu Liao
•  & Chase L Beisel

Nucleic Acids Research (2021)

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.

## Search

### Quick links

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing