Main

Synapse formation is central to the assembly of neural circuits in brain. Synapse formation is controlled, at least in part, by trans-synaptic complexes between adhesion molecules that organize pre- and postsynaptic specializations1,2,3. Multiple adhesion molecules are known to localize pre- or postsynaptically, but no coherent concept exists on how synaptic adhesion molecules assemble synapses. Among synaptic adhesion molecules, LPHN3 has a prominent role in establishing Schaffer-collateral synapses formed by CA3-region axons on CA1-region pyramidal neurons in the hippocampus4. LPHN3 is a postsynaptic adhesion G-protein-coupled receptor (GPCR) that binds to presynaptic teneurin and FLRT adhesion molecules5,6,7. The function of LPHN3 in synapse formation is known to require both its extracellular FLRT- and teneurin-binding sequences and its intracellular regions, including its Gα protein-binding sequences4,8, but it is unclear how LPHN3 functions in synapse formation as a key synaptic adhesion molecule that is also a GPCR. In cell-signalling assays, multiple Gα proteins were reported to couple to LPHN39,10,11,12, as confirmed by cryo-electron microscopy (cryo-EM) structures13,14. However, it is unclear which Gα protein physiologically mediates LPHN3-dependent synapse assembly, whether Gα protein signalling on its own constitutes the core mechanism of LPHN3-induced synapse formation and how presynaptic ligand binding to postsynaptic LPHN3 induces synapse formation. Moreover, synaptic scaffold proteins have well-established functions in synapse organization through the formation of phase-separated condensates15, but their relation to trans-synaptic adhesion complexes remains poorly understood.

Here we show that Lphn3 transcripts undergo extensive alternative splicing. The resulting protein variants couple to different Gα proteins. Of these, the variant coupling to Gαs that induces cAMP production is the predominant splice variant in the brain that is essential for synapse formation in the hippocampus. Increasing neuronal activity switches alternative splicing of Lphn3 towards the synapse-forming Gαs-coupled variant. Notably, only the Gαs-coupled LPHN3 splice variant recruits postsynaptic scaffold proteins to trans-synaptic junctions. This recruitment requires the integration of the LPHN3 cytoplasmic tail onto the surface of phase-transitioned postsynaptic protein scaffolds. Presynaptic teneurin and FLRT ligands synergistically promote clustering of LPHN3-containing postsynaptic scaffold protein condensates, explaining how trans-synaptic interactions could induce the assembly of postsynaptic specializations. Both the synaptic function of LPHN3 and its ability to recruit phase-transitioned postsynaptic protein scaffolds require the C-terminal LPHN3 PDZ-domain-binding motif (PBM) that interacts with SHANK scaffold proteins. Our data outline a mechanistic pathway of synapse formation in which Gαs signalling, phase separation and trans-synaptic ligand binding synergize in the assembly of postsynaptic specializations. This pathway is controlled by the alternative splicing of Lphn3, enabling precise regulation of synapse formation by neuronal activity.

Extensive alternative splicing of Lphn3

To comprehensively profile the alternative splicing pattern of Lphn3, we analysed full-length mRNA transcripts from the mouse retina and cortex16. We identified five principal sites of Lphn3 alternative splicing (Fig. 1a and Extended Data Fig. 1a). Among these, alternatively spliced exons 6 and 9 (E6 and E9) encode extracellular sequences that are known to regulate binding to the presynaptic ligand teneurin7,17, whereas E15 encodes a 13-amino-acid sequence within the extracellular GAIN domain. On the cytoplasmic side, E24 encodes a sequence in the third intracellular loop of the seven-transmembrane-region GPCR region of LPHN3. The most extensive alternative splicing of Lphn3 is observed in the C-terminal sequence, which is encoded by E28–32. Following the constitutive E27, all Lphn3 transcripts contain either E31 or E32. E28–30 are variably included in E31-containing but not in E32-containing transcripts. As a result, Lphn3 transcripts encode three distinct C-terminal sequences (Fig. 1b and Extended Data Fig. 1b). Transcriptome analyses of Adgrl1 (also known as Lphn1) and Adgrl2 (also known as Lphn2) revealed that all latrophilins are alternatively spliced at sites corresponding to E9 and E31/E32 of Lphn3, and that Lphn2 but not Lphn1 is also alternatively spliced at sites corresponding to E15 and E24 of Lphn3 (Extended Data Fig. 2a–d).

Fig. 1: Differentially expressed Lphn3 splice variants couple to different G proteins.
figure 1

a, Schematic of Lphn3 alternative splicing. The asterisks indicate the stop codon. aa, amino acids; HBD, hormone-binding domain; TMR, transmembrane region. b, Genomic organization of the 3′ alternatively spliced exons of the Lphn3 gene. Alternative exons are colour coded on the basis of the percentage spliced in (PSI) in the hippocampus (Extended Data Fig. 1c), with constitutive exons coloured grey. c, Cell-type-specific splicing of Lphn3. Raw data from ribosome-associated transcriptome analyses18 were analysed to calculate the PSI of each exon for excitatory (excit.) and inhibitory (inhibit.) neurons (subtype-specific data are shown in Extended Data Fig. 1c). Statistical analysis for n = 16 biologically independent replicates was performed using two-sided t-tests; P values are shown in the figure. For the box plots, the whiskers extend to the minimum and maximum values, the centre line shows the median value and the box limits show the interquartile range (25th to 75th percentile). d, G-protein coupling and stimulated cAMP levels associated with Lphn3 splice variants. Left, the splice variants. Middle, the G-protein-coupling signal (bioluminescence resonance energy transfer (BRET) signal) from TRUPATH assays. Right, cAMP stimulated by Lphn3 splice variant expression in HEK293 cells. Detailed data are shown in Extended Data Figs. 4 and 5a.

To assess the cell type specificity and relative abundance of various Lphn3 transcripts, we analysed RNA-sequencing (RNA-seq) data obtained using ribosome-bound mRNAs that were isolated from different types of neurons18. We found that mRNAs containing E31 were more abundant (60–80% total) than mRNAs containing E32 (20–40%), with fewer mRNAs containing E30b (20–25%) (Fig. 1c and Extended Data Fig. 1c). Alternative splicing was cell type specific, such that inhibitory neurons had a higher prevalence of mRNAs containing E31 and E30b compared with excitatory neurons (Fig. 1c and Extended Data Fig. 1c–e). Some sites of alternative splicing exhibited developmental regulation (Extended Data Fig. 3).

Lphn3 splicing controls Gαs coupling

As the alternatively spliced Lphn3 sequences at the cytoplasmic sides are proximal to its G-protein interaction site13,14, we systematically analysed G-protein coupling of principal Lphn3 splice variants using TRUPATH19 (Fig. 1d (left)). The alternative splicing pattern of E24, E30b, E31 and E32 produces six principal variants. Substantial differences emerged between Lphn3 splice variants in their G-protein-coupling preferences (Fig. 1d (middle)). The most abundant Lphn3 splice variant in the hippocampus (E24+E30bE31+E32; Extended Data Figs. 1 and 3) preferentially couples to Gαs and less strongly to Gα12/13. If E31 is replaced by E32 (E24+E30bE31E32+), LPHN3 predominantly couples to Gα12/13. Inclusion of E30b or exclusion of E24 also shifts LPHN3 Gα coupling from Gαs to Gα12/13 (Fig. 1d and Extended Data Fig. 4). The role of E24 in the third cytoplasmic loop of LPHN3 is consistent with recent studies revealing the importance of this sequence in controlling G-protein coupling20. However, the effect of the C-terminal alternative splicing of LPHN3 on Gα-protein coupling is surprising given that the sequences involved start 81 residues downstream of the last transmembrane region. These C-terminal sequences are not resolved in cryo-EM structures of LPHN3 complexed to G proteins13,14.

As an orthogonal approach to confirm the TRUPATH data, we measured the effect of Lphn3 splice variants on cAMP levels in HEK293 cells. Co-expression of the cAMP reporter pink flamindo 221 with Lphn3 splice variants revealed that the Gαs-coupled E31 variant of Lphn3, but not the E32 variant, induced high cAMP levels that were quenched by co-expressed PDE7b, a cAMP-phosphodiesterase (Fig. 1d and Extended Data Fig. 5a,b). We conclude that alternative splicing of Lphn3 controls its Gα specificity, with the most abundantly expressed LPHN3 variants in the hippocampus preferentially coupling to Gαs and stimulating cAMP production.

LPHN1 and LPHN2 have also been associated with different Gα proteins in previous studies8,22,23, prompting us to additionally study their Gα-protein-coupling modes. For these latrophilins we also observed preferential coupling to Gαs for the most abundant splice variants (Extended Data Fig. 2e). Viewed together, these data reveal that alternative splicing regulates the Gα protein preference of latrophilins, with the more abundant latrophilin variants coupling to Gαs.

Genetic manipulation of Lphn3 splicing

To understand which Lphn3 splice variants might promote synapse formation, we focused on the two most abundant alternatively spliced Lphn3 exons in the hippocampus: E31 and E32, which regulate the coupling of LPHN3 to different Gα proteins (Extended Data Fig. 1a). We controlled the expression of these two exons from the endogenous Lphn3 gene using an acute CRISPR–Cas9 gene manipulation approach whereby we selectively deleted the alternatively spliced E31 with a guide RNA (gRNA), using a non-targeting gRNA as a negative control and an E7-targeting gRNA to ablate all Lphn3 expression as a positive control (Fig. 2a).

Fig. 2: CRISPR-mediated conversion of Lphn3 alternative splicing from E31 to E32 impairs neuronal network activity.
figure 2

a, The CRISPR strategy to produce either an acute deletion of Lphn3 expression (Lphn3 knockout (KO)) or a selective deletion of Lphn3 E31 (E31 KO) of Lphn3. b, LPHN3 immunoblots from hippocampal neurons showing that the Lphn3-E31-specific KO does not change LPHN3 protein levels, whereas Lphn3 KO ablates LPHN3 expression. Statistical analysis from n = 6 independent cultures was performed using two-sided t-tests. c, RT–qPCR analysis demonstrating that the Lphn3-E31 KO and the Lphn3 KO similarly ablate the expression of E31-containing Lphn3 mRNAs but have the opposite effect on E32-containing Lphn3 mRNAs. Statistical analysis from n = 8 independent cultures was performed using two-sided t-tests. d, RNA-seq analyses of differentially expressed genes, comparing Lphn3 KO with the control (left) or Lphn3-E31-specific KO with the control (right). Statistical analysis from n = 3 biologically independent cultures was performed using two-sided Wald tests (in DESeq2); P values are shown. e, Representative Ca2+ imaging experiment of hippocampal neurons expressing gRNA, eGFP and jRGECO1a38. Cells expressing the gRNA with nuclear eGFP are shown in green. Red fluorescence from the soma corresponds to the jRGECO1a peak signal. Scale bar, 20 μm. f, Representative illustration of the extraction of jRGECO1a signals (Ca2+ imaging traces) from individual neurons (grey, top) of which the average is the synchronous firing trace for one field of view (orange, bottom). g, Representative traces of synchronous firing in control, Lphn3-KO and Lphn3-E31-KO neurons. h, Quantification of the synchronous firing rate (left) and amplitude (right). Statistical analysis from n = 3 independent cultures was performed using two-sided t-tests. For b, c and h, statistically significant P values are shown (P< 0.05).

In primary hippocampal cultures, acute CRISPR-mediated total Lphn3 deletion rendered LPHN3 protein undetectable by immunoblotting, whereas the E31-only Lphn3 deletion or the control gRNA had no apparent effect on LPHN3 protein levels (Fig. 2b). Quantitative PCR with reverse transcription (RT–qPCR) and RNA-seq analyses of neurons with a targeted E31-specific deletion showed around a 60% decrease in the levels of E31-containing mRNAs and an approximately 100% increase in the levels of E32-containing mRNAs (Fig. 2c and Extended Data Fig. 5c). When LPHN3 protein was deleted by targeting E7, we observed a decrease of around 60% in mRNAs containing E31 or E32, presumably due to nonsense-mediated mRNA decay of the mutant mRNAs24. Transcriptomic analyses detected no off-target effects by either genetic manipulation (Fig. 2d and Extended Data Fig. 5d). These results validate the efficiency and specificity of the CRISPR manipulations, with E7 targeting causing a complete loss of LPHN3 protein, whereas E31 targeting induced a selective switch from E31-containing to E32-containing mRNAs.

Synapse connection requires Gαs–LPHN3

We used three approaches to test whether deletion of E31—and, therefore, elimination of Gαs coupling—affects the function of LPHN3 in synapse formation. First, we measured the network activity of cultured hippocampal neurons using Ca2+ imaging (Fig. 2e). Neurons exhibit regular spiking owing to spontaneous activity that can be averaged to produces a ‘synchronous firing’ trace (Fig. 2f), which reflects the strength of the synaptic network25,26. Quantifications of the synchronous firing of cultured neurons showed that the global loss of LPHN3 caused a significant decrease (~40%) in the firing rate without altering the signal amplitude (Fig. 2g,h). Notably, the E31-specific deletion produced a decrease in neuronal firing rate similar to that observed for the global loss of LPHN3 proteins.

Second, we examined whether the decrease in firing rate results, at least in part, from a decrease in excitatory synapse numbers. We quantified the excitatory synapse density in cultured hippocampal neurons after deletion of either all LPHN3 protein or Lphn3 transcripts containing E31. Both the complete loss of LPHN3 and the E31-specific deletion produced a significant decrease in synapse density (Fig. 3a,b).

Fig. 3: Switching LPHN3 G-protein coupling from Gαs to Gα12/13 by deleting E31 suppresses synaptic connectivity of hippocampal neurons.
figure 3

a,b, Selective deletion of Lphn3 E31 decreases the excitatory synapse density similarly to the entire deletion of Lphn3. a, Representative images of excitatory neuron staining in cultured hippocampal neurons that were stained with antibodies against vGluT1, HOMER1 and MAP2. Scale bars, 20 μm (top) and 10 μm (bottom). b, Summary graph of the density of puncta positive for both vGluT1 and HOMER1. Statistical analysis from n = 3 independent cultures (n = 3) was performed using two-sided t-tests. c, The experimental strategy for the retrograde tracing of monosynaptic connections using pseudotyped rabies virus4 in CA1 neurons with acute CRISPR-mediated in vivo deletions of Lphn3 or Lphn3 E31. P0, postnatal day 0. d,e, Representative images of pseudotyped rabies tracing experiments in the hippocampal region (d) and lateral entorhinal cortex (LEC) (e). Note a weak GFP signal from the Cas9 mice was observed in the dentate gyrus granule cells and choroid plexus (chp), but not in CA3 pyramidal cells (Extended Data Fig. 5e). Scale bars 500 μm (d) and 200 μm (e). D, dorsal; L, lateral; M, medial; V, ventral. f, Acute CRISPR-mediated in vivo deletion of E31 of Lphn3 impairs the number of CA3-region input synapses into the CA1-region neurons to a similar extent to the overall deletion of Lphn3. The box plots show the number of presynaptic neurons (ipsilateral CA3, contralateral CA3 and ipsilateral LEC) normalized to the starter neuron number. Statistical analysis from independent animals (n = 5 (control and Lphn3 KO) and n = 6 (Lphn3-E31 KO)) was performed using two-sided t-tests. Note that Lphn3-E31 KO and the Lphn3 KO do not affect entorhinal cortex input synapses, which depend on LPHN2 instead of LPHN34,39. For b and f, statistically significant P values are shown (P< 0.05).

Third, we tested the function of E31 in vivo. We performed monosynaptic retrograde tracing using pseudotyped rabies virus to map the connectivity of genetically manipulated starter neurons in the hippocampal CA1 region (Fig. 3c). Again, both the loss of all Lphn3 expression and the switching from E31 to E32 caused a large decrease (~60%) in synaptic inputs to CA1 pyramidal neurons from the ipsilateral and contralateral CA3 region (Fig. 3d,f). Inputs from the entorhinal cortex were unchanged as LPHN3 mediates the formation of CA3 to CA1 Schaffer-collateral but not of entorhinal cortex-to-CA1 synapses4 (Fig. 3e,f).

Thus, using three independent methods, these data demonstrate that the E31-containing LPHN3 isoform coupled to Gαs is essential for LPHN3-mediated synaptic connectivity.

Assembly of synaptic complexes by LPHN3

Given the importance of the C-terminal sequence of LPHN3 encoded by E31 in synapse formation, we examined whether E31 performs additional functions other than regulating G protein coupling. We noticed that only the E31-containing Lphn3 transcripts encode a PBM that interacts with SHANK proteins27,28 and that is conserved in all latrophilins (Fig. 1a and Extended Data Fig. 2a,b). We therefore sought to test biochemically whether full-length LPHN3 could form a complex with postsynaptic scaffold protein networks that are composed of GKAP, HOMER, PSD95 and SHANK, which are known to form phase-separated protein assemblies15 (Fig. 4a).

Fig. 4: The alternatively spliced LPHN3 E31 variant assembles phase-separated postsynaptic scaffold protein condensates.
figure 4

a, Schematic of proteins. The dashed arrows show interactions. Lec, lectin-like domain; Olf, olfactomedin-like domain. GBR, GK domain-binding repeats; HBS, Homer-binding sequence; CBS, cortactin-binding sequence; SAM, sterile alpha motif; CC, coiled-coil domain. b, Sedimentation assay of phase-transitioned complexes. The scaffold protein mixture containing GKAP, HOMER3, PSD95 and SHANK3 (GHPS) was incubated with the indicated Lphn3. The pellet and supernatant were separated by centrifugation and analysed using SDS–PAGE. LPHN3 is autocleaved at the GPS site to produce the N-terminal (NTD, black arrow) and C-terminal (CTD, red and green arrow) domains40. The LPHN3 E32 CTD fragments migrate similarly to SHANK3 (Extended Data Fig. 6). c, Quantification of the LPHN3 pellet. Data are mean ± s.e.m. n = 4 independent experiments. Statistical analysis was performed using two-sided t-tests; statistically significant P values are shown (P < 0.05). d, Imaging of phase-transitioned complexes. HOMER3, LPHN3 (E31, E32 and E31(ΔPBM)), PSD95 and SHANK3 were labelled with NHS-ester fluorophore 405, 488, 546 and 647, respectively, and GKAP was unlabelled. Scale bar, 5 μm. e, Quantification of LPHN3 across the phase-separated GHPS droplet illustrating the surface localization of Lphn3 E31 on the droplet. Data are mean ± s.e.m. n = 3 independent experiments. See also Extended Data Figs. 7d and 8a. a.u., arbitrary units. f, Representative images of phase-transitioned postsynaptic GHPS scaffold-protein complexes containing LPHN3 E31 that were clustered by presynaptic ligands TENM2 and FLRT3. Scale bar, 5 μm. g, Quantification of the clustering effect of presynaptic TENM2 and FLRT3 ligands on LPHN3-E31-coated, phase-transitioned postsynaptic GHPS scaffolding protein complexes. Data are mean ± s.e.m. n = 3 independent experiments. h, Schematic of the localization of LPHN3 E31 but not of LPHN3 E32 on the surface of phase-transitioned droplets formed by postsynaptic scaffold proteins, and the clustering of droplets by the LPHN3 ligands TENM2 and FLRT3.

We purified recombinant GKAP, HOMER, PSD95 and SHANK proteins, which are highly soluble individually (Extended Data Fig. 6). When mixed, these proteins formed a postsynaptic density complex (the GHPS complex) through phase separation15 that was detected as a sedimented pellet by centrifugation (Fig. 4b) and as droplet-like structures by imaging (Fig. 4d). When we added purified recombinant full-length LPHN3 to the GHPS complex, only LPHN3 containing E31 robustly co-sedimented with the GHPS complex, whereas LPHN3 containing E32 did not (Fig. 4b,c and Extended Data Fig. 7a,b). Moreover, when we truncated the last three amino acids of the PBM from LPHN3 containing E31 (hereafter, ΔPBM), a mutation that is known to disrupt SHANK binding27, co-sedimentation of LPHN3 was also impaired (Fig. 4b,c). Imaging showed that LPHN3 containing E31, but not E32 or E31(ΔPBM), was fully assembled on the GHPS complex droplets representing phase-separated condensates (Fig. 4d,e and Extended Data Fig. 7c,d). Notably, E31-containing LPHN3 was highly enriched at the periphery of the droplets, suggesting that detergent-solubilized LPHN3 formed a layer on top of the postsynaptic scaffold network (Fig. 4d,e and Extended Data Fig. 4c,d). As both SHANK3 and PSD95 contain PDZ domains that could interact with the PBM of LPHN3 containing E31 (Fig. 4a) and postsynaptic scaffold phase separation critically depends on SHANK3 but only weakly on PSD95 (Extended Data Fig. 7h), we conclude that the alternative splicing of LPHN3 at the C terminus determines its ability to recruit postsynaptic scaffold proteins and that such recruitment requires the interaction between the PBM in E31 of LPHN3 and the PDZ domain in SHANK3 or/and PSD95.

Teneurins (TENMs)5 and FLRTs6 are single-transmembrane-region-containing adhesion molecules that bind to the extracellular region of LPHN3. Their binding to LPHN3 is thought to mediate the trans-synaptic interaction between axon terminals and postsynaptic spines4. We examined how TENM2 and FLRT3 might affect the morphology of the phase-separated postsynaptic scaffold protein complex containing LPHN3. When we added the purified extracellular region of TENM2 to the phase-separated GHPS complex, we observed partial clustering of monomeric droplets into dimers and trimers (Fig. 4f,g and Extended Data Figs. 7f,g and 8b). The addition of FLRT3 clustered the droplets into higher-order oligomers, presumably partly due to the higher affinity of FLRT3 (Kd ≈ 15 nM)6 compared with TENM2 (Kd ≈ 500 nM)29 for LPHN3. TENM2 and FLRT3 can bind to LPHN3 simultaneously29,30 and acted synergistically in promoting the clustering of phase-transitioned droplets. The clustering effect was not observed in E32-containing LPHN3 or E31(ΔPBM)-containing LPHN3. As TENM2 is an obligatory dimer through disulfide bonds between EGF repeat domains31 and FLRT3 forms dimers through its leucine-rich repeat domain32,33, we posit that the dimerization of ligands promoted the intermolecular interaction of LPHN3 in adjacent droplets, resulting in the formation of clustered LPHN3-coated postsynaptic scaffold protein condensates (Fig. 4h). The formation of reconstituted LPHN3-bound scaffold protein condensates is robust at various scaffold protein concentrations (Fig. 4 and Extended Data Figs. 7 and 8a–c) and stoichiometries (Extended Data Fig. 8d) and at physiological salt concentrations (Extended Data Fig. 8e). Notably, fluorescence recovery after photobleaching (FRAP) experiments show that LPHN3 exhibits faster recovery kinetics than most scaffold proteins, suggesting that LPHN3 E31 forms a fluidic shell on the surface of the postsynaptic scaffold protein condensates. The coating by LPHN3 E31 of the condensates, regardless of the TENM2/FLRT3-induced clustering, does not substantially perturb the FRAP recovery kinetics of scaffold proteins (Extended Data Fig. 8f–l). Together, these data suggest E31-containing LPHN3 recruits postsynaptic scaffold protein complexes to the postsynaptic site. When encountering TENM2/FLRT3 from the axon terminal, the LPHN3-coated postsynaptic scaffold protein complexes assemble into higher-order clusters.

Synapse formation requires PBM of E31

Owing to the crucial function of the PBM of E31 for LPHN3-dependent postsynaptic scaffold protein assembly, we examined whether the PBM is also important for synapse formation in cultured neurons. Acute CRISPR manipulations in cultured hippocampal neurons with a gRNA targeting the PBM of E31 in LPHN3 (Extended Data Fig. 9a) deleted the PBM in around 70% of Lphn3 mRNAs (Extended Data Fig. 9b,c). The deletion of the PBM had no effect on the total LPHN3 protein, Lphn3 E31 mRNA levels or Lphn3 alternative splicing (Extended Data Fig. 9d,e) but caused a significant decrease in excitatory synapse density (Extended Data Fig. 9f,g). Thus, the PBM of E31 in LPHN3 is important for excitatory synapse formation.

Activity promotes E31 splicing

Given the cell-type-specific expression of Lphn3 alternative splice variants and their distinct functions in synapse formation, we examined whether alternative splicing of E31 and E32 is regulated by neuronal activity. To this end, we analysed three recent RNA-seq datasets in which neurons in culture or in vivo were examined after chemical stimulation34,35. All treatments increased Fos expression, a marker gene for activated neurons (Fig. 5a–c (left)). We observed a significant shift in Lphn3 alternative splicing from E32 to E31 in all datasets (Fig. 5a–c). By contrast, we found no activity-dependent changes in the inclusion of Nrxn1 SS4, which is an alternatively spliced exon irresponsive to neuronal activity as expected36.

Fig. 5: Neuronal activity promotes E31 inclusion and E32 exclusion in Lphn3 by alternative splicing, leading to increased expression of the synaptogenic LPHN3 E31 variant.
figure 5

ac, Elevated neuronal activity (on the basis of the expression of the marker Fos) was induced by KCl depolarization in cortical cultures34 (a); GABA receptor was blocked using picrotoxin (PTX) in hippocampal cultures35 (b); and hippocampal tissue was analysed after in vivo kainate (KA) injections34 (c). The PSI for E31 and E32 of Lphn3 is shown for each treatment. Two-sided t-tests were used to calculate the statistical significance for PSI values. Two-sided Wald tests (in DEseq2) were used to calculate the statistical significance of total gene expression. n = 3 and 4 biologically independent cortical cultures and hippocampal cultures, respectively; n = 8, 7 and 10 biologically independent hippocampal tissues after 0 h, 2 h and 10 h kainate treatment, respectively. CPM, counts per million. df, E31 and E32 splicing in natively activated neurons from the mPFC region37. Single neurons are classified as IEG-low (n = 903 cells), IEG-medium (n = 1,526 cells) and IEG-high (n = 232 cells) on the basis of the expression level of activity marker genes (Methods and Extended Data Fig. 10d). The PSI of E31 (d, middle) or E32 (d, right) for individual neurons, and the cumulative probability of all neurons for E31 (e) or E32 (f) are shown. Statistical analysis was performed using two-sided Wilcoxon rank-sum tests. g, Model of the mechanism of action of LPHN3 in synapse formation and the regulation of LPHN3 function by alternative splicing of E31. For af, statistically significant P values are shown (P< 0.05).

To further assess the activity-dependent alternative splicing of Lphn3 in a more native state, we analysed a high-resolution single-cell RNA-seq (scRNA-seq) dataset from the medial prefrontal cortex (mPFC)37. We classified neurons into different activity states on the basis of the expression level of immediate early genes (Fig. 5d (left)) into IEG-low, IEG-medium and IEG-high groups. The IEG-high group exhibited significantly lower levels of E32 and higher levels of E31 compared with the other groups (Fig. 5d–f). We also detected an elevated total LPHN3 expression with certain stimulations (Extended Data Fig. 10e) that was less robust than the switch of alternative splicing from E32-containing non-synaptogenic to E31-containing synaptogenic LPHN3 variants.

Summary

Here we show that Lphn3 transcripts are subject to extensive alternative splicing that controls its G-protein coupling specificity and its ability to recruit postsynaptic protein scaffolds. We demonstrate that the Gαs-coupled LPHN3 splice variant that mediates cAMP signalling is required for synapse formation in vivo, and that this synaptogenic splice variant selectively recruits postsynaptic scaffolds by enabling incorporation of LPHN3 onto the surface of phase-transitioned postsynaptic density protein complexes. Furthermore, we found that the phase-transitioned postsynaptic scaffolds recruited by LPHN3 are clustered into larger assemblies by presynaptic teneurin and FLRT ligands of LPHN3. These findings outline a synapse formation mechanism orchestrated by LPHN3 that is mediated by two parallel pathways, localized Gαs/cAMP signalling and recruitment of phase-transitioned postsynaptic protein scaffolds. Finally, we demonstrate that increased neuronal activity enhances the abundance of the synaptogenic splice variant of LPHN3, providing an example for how neurons leverage alternative splicing to precisely control synapse formation.

Methods

Mouse handling

C57BL/6 (JAX, 000664) mice were used for tissue RT–PCR experiments, and CAG-Cas9 mice (JAX, 024858) were used for all of the other experiments. Mice were weaned at P21 and housed in groups of maximum 5 under a 12 h–12 h light–dark cycle with food and water ad libitum, in the Stanford Veterinary Service Center. All of the procedures conformed to National Institutes of Health Guidelines for the Care and Use of Laboratory Mice and were approved by the Stanford University Administrative Panel on Laboratory Animal Care.

Plasmids

Plasmids for the TRUPATH assay were from the Roth lab (Addgene, 1000000163). Pink flamindo 2, GFP and PDE7b constructs were obtained from previous study8. Mouse Lphn3 of specified splicing variants (all have the following splicing configuration: E6E9+E15+E28E29) were cloned into the pCMV vector using In-Fusion HD assembly. For manipulating Lphn3 KO, Lphn3 E31 KO or Lphn3 E31(ΔPBM), gRNAs were cloned into lentiCRISPR v2 (Addgene, 52961), followed by human SYN1-promoter driven eGFP (for calcium imaging and RNA-seq) or mScarlet-I (for synapse puncta staining) or Cre recombinase (for monosynaptic rabies tracing), using In-Fusion HD assembly. jRGECO 1a38 was cloned into the FSW lentiviral vector. Gkap, Homer3, Psd95, Shank3 coding regions15 containing N-terminal 6×His and 3C protease cleavage site were cloned into the pCT10 vector. N-terminal Flag-tagged LPHN3 E31 and LPHN3 E32 (with full splicing combination: E31: E6E9+E15+E24+E28E29E30E31+; E32: E6E9+E15+E24+E28E29E30E32+) were cloned into the lenti_CMV-TetO2 vector. Sequences of all constructs were confirmed by Sanger sequencing at Elim Biopharm or by long-read sequencing at Primordium.

Genetic CRISPR manipulations

Four gRNAs were designed in this study. The control gRNA (5′-CCGGAAGAGCGAGCTCTACT-3′) was designed to have no target in the mouse genome. The Lphn3 KO gRNA (5′-GCCCGGACAACGGAGCTCAA-3′) targets the constitutive E7 to induce a frameshift. The Lphn3 E31 gRNA (5′-TCTTGTAATCTTTTTCAGAG-3′) targets the splicing acceptor site immediately upstream of E31, to disrupt the inclusion of E31. The Lphn3 E31(ΔPBM) gRNA (5′-AGACTAGTGACCAAGTGCGC-3′) targets the PBM of Lphn3. Potential off-target effects were assessed using Cas-OFFinder41 to ensure specificity.

Generation of the reference exon list

The exon coordinates of Lphn3 were extracted from GFF annotation of mouse genome GRCm38/mm10. Non-overlapping exons were named numerically in ascending order from 5′ to 3′ of the transcript. For exons with overlapping regions (mostly due to alternative splicing donor/acceptor site), they were named with the same number but with different letters. For exons at the 5′ and 3′ untranslated region, only the longest annotated exons were used, as the current study focuses on the coding region. This generated the draft of exon list. As the annotated exon list may contain exons that never translate to proteins (mostly due to incomplete splicing/incorrect annotation), the draft exon list was used to map the reads of Lphn3 from Ribotaq sequencing dataset17, which is highly enriched for translating mRNAs, during which only exons detected in this dataset were preserved to produce the final reference exon list for this study.

Analysis of high-throughput sequencing data

This study analysed six datasets from published studies and two datasets generated from this study:

  1. (1)

    Reads from PacBio long-read mRNA sequencing data16 were aligned to reference genome (GRCm38/mm10) using gmaps. Reads belonging to Lphn3 from above five tissue samples (four developmental stages for the retina and P35 for the cortex) were combined to increase the read depth, for analysing the abundance of full-length transcripts.

  2. (2)

    Cell-type-specific RiboTag sequencing data18 reads were aligned to reference genome (GRCm38/mm10) using STAR. Reads belonging to Lphn3 were used for calculating the PSI of exons.

  3. (3)

    Neuronal activity regulated bulk transcriptome (KCl and kainate treated)34 and picrotoxin treated35 datasets were downloaded from the Gene Expression Omnibus (GEO) under accession numbers GSE175965 and GSE104802. Reads were aligned as described above using STAR. Reads belonging to Lphn3 were used for calculating the PSI of exons.

  4. (4)

    Analysis of native neuronal activity from the mPFC region used a scRNA-seq dataset37. Smartseq reads were mapped to a custom genome, and individual Lphn3 exons were counted individually. Cells were unbiasedly clustered on the basis of their transcriptomes. Immediate early genes were identified by ranking each genes’ correlation to Fos expression. An IEG score was calculated by combining the expression of Fos, Ier2, Egr1, Junb and Dusp1, and this score was used to categorize the activation status of each cell. Single neurons with at least one count for E31 or E32 were used for splicing analysis.

  5. (5)

    Reads of Lphn3-KO and Lphn3-E31-KO studies of this work were aligned as above. HTSeq was used to count reads. Only genes with more than 350 reads were used for DEseq2 analysis.

  6. (6)

    Reads of PBM deletion from the amplicon sequencing dataset were aligned as described above. Paired-read sequences near the edited site were extracted and the length of each read was calculated. Insertions/deletions that caused frameshifts or mutations within the PBM region were classified as PBM-KO events.

  7. (7)

    From the scRNA-seq analysis in the primary visual cortex and anterior lateral motor cortex dataset from the Allen Institute42, processed read densities are publicly available.

Calculation of exon PSI

PSI is the percentage of reads containing the target exon among all reads at the target region. For alternative exons containing both 5′ and 3′ flanking exons (for example, E24 and E30b), only the reads spanning the target exon–exon junctions were used for the calculation. For alternative exons at the 3′ termini (E31 and E32), all reads containing the target exon were used for calculation as the 3′ termini of Lphn3 ends with either E31 or E32. E31 and E32 reads were normalized to exon length before calculating the PSI.

Sample preparation of Lphn3 KO and Lphn3-E31 KO neurons for next-generation sequencing

Primary hippocampal culture neurons were infected with lentiviruses expressing gRNAs (control, Lphn3 KO, Lphn3-E31-only KO) at day 3 in vitro (DIV3) and maintained until DIV14. One coverslip of culture was resuspended with 200 µl TRIzol on ice, mixed with 50 µl chloroform and incubated at room temperature for 2 min. The samples were centrifuged at 12,000g for 15 min at 4 °C in an Eppendorf 5417C centrifuge. The aqueous layers were added to 100 µl ice-cold isopropanol for thorough mixing before incubation at −80 °C for 1 h. The samples were thawed on ice and centrifuged at 20,817g for 20 min at 4 °C in the Eppendorf 5417C centrifuge. Pellets were washed with 0.5 ml ice cold 75% ethanol before being centrifuged at 20,817g for 10 min at 4 °C, and subsequently resuspended by 40 µl double-distilled H2O containing 0.2 U µl−1 SUPERase·In RNase inhibitor. Total RNA samples were converted to a library using Illumina Stranded mRNA kit and sequenced in the NovaSeq (paired-end 150 bp) system with 40 million paired reads at Medgenome.

Sample preparation of ΔPBM neurons for amplicon sequencing

Primary hippocampal culture neurons were infected with lentiviruses expressing gRNAs (control or ΔPBM) at DIV3 and maintained until DIV14. Total RNA samples were extracted as above, and converted to cDNA using the PrimeScript RT-PCR Kit. The PBM region of Lphn3 was amplified using the primers 5′-AAACCTGGGCTCCAGAAACC-3′ and 5′-GGAAAGATTGGGGCACAGGA-3′, and converted to a library using Nextera XT adaptor/indexes, and sequenced in the MiSeq system at the Stanford Functional Genomics Facility.

TRUPATH G-protein-coupling assay

HEK293T cells were obtained from ATCC and maintained, passaged and transfected in DMEM medium containing 10% FBS, 100 U ml−1 penicillin and 100 µg ml−1 streptomycin (Gibco-ThermoFisher) in a humidified atmosphere at 37 °C and 5% CO2. After transfection, cells were plated in DMEM containing 1% dialysed FBS, 100 U ml−1 penicillin and 100 µg ml−1 streptomycin for BRET assays. Constitutive activity of LPHNs was accomplished by using the previously optimized Gα–Rluc8, β-subunit and N-terminally tagged γ-GFP2 subunit pairs described previously19. HEK cells were plated in a 12-well plate at a density of 0.3–0.4 × 106 cells per well with DMEM containing 10% FBS, 100 U ml−1 penicillin and 100 µg ml−1 streptomycin. Then, 6 h later, cells were transfected with a 1:1:1 ratio of optimized Gα:β:γ pairings at 100 ng and various amounts of receptor (25 ng, 50 ng, 100 ng, 200 ng, 300 ng) using the TransIt-2020 (Mirius Bio) reagent. To establish a baseline for the cells, pcDNA was used at 100 ng and referred to as 0 ng. The next day, cells were removed from the 12-well plate with trypsin and seeded into a 96-well white clear-bottomed plate (Greiner Bio-One) with DMEM containing 1% dialysed FBS at a cell density of 30,000–35,000 cells per well. Cells were incubated overnight to allow for attachment and growth. The next day, the medium was aspirated from the wells. A solution of assay buffer (20 mM HEPES, Hank’s balanced salt solution, pH 7.4) and 5 μM of coelentrazine 400a (Nanolight Technology) was prepared and added to each well. Cells were allowed to equilibrate with the coelentrazine 400a in the dark for 10 min. Corresponding BRET data were collected using a Pherastar FSX Microplate Reading with luminescence emission filers of 395 nm (RLuc8-coelentrzine 400a) and 510 nm (GFP2) and an integration time of 1 s per well. BRET ratios were calculated as the ratio of the GFP2:RLuc8 emission. The constitutive coupling (0 ng) was used as the baseline to subtract NET BRET of the experimental conditions for each receptor. Three independent cultures with seven technical replicates in each culture were used in total.

cAMP reporter assay

HEK293T cells were maintained in DMEM + 10% FBS at 37 °C 5% CO2, and seeded onto a 24-well plate. During calcium transfection of each well, eGFP (0.23 µg), pink flamindo 2 (0.23 µg), Gαs (0.16 µg), Gβ (0.16 µg) and Gγ (0.16 µg) were used for all conditions. When indicated, additional constructs were co-transfected including PDE7b (0.23 µg) and six isoforms of Lphn3 (E24+E30bE31+E32, E24+E30b+E31+E32, E24+E30bE31E32+, E24E30bE31+E32, E24E30b+E31+E32, E24E30bE31E32+, 0.23 µg each). Then, 16 h after transfection, the medium was replaced with 0.5 ml DMEM + 10% FBS. Then, 36–48 h after transfection, medium of all cultures was replaced with 0.5 ml imaging buffer (20 mM Na-HEPES pH 7.4, 1× HBSS (Gibco, 14065056)) and incubated at room temperature for 30 min. When indicated, 2.5 µM forskolin and 5 µM IBMX were added to the culture for 5 min. Imaging was performed under Nikon confocal microscopy under a ×10 objective.

Primary hippocampal neuron culture

Neonatal P0 mice pups of CAG-Cas9 mice (JAX, 024858) were dissected in ice cold HBS to obtain hippocampi, which were digested in 1% (v/v) papain suspension (Worthington) and 0.1 U µl−1 DNase I (Worthington) for 15 min at 37 °C. Hippocampi from two pups were washed with calcium-free 1× HBS (pH 7.3) and dissociated using gentle pipetting in plating medium (MEM containing 5% FBS, 0.6% glucose, 2% Gem21 NeuroPlex Supplement, 2 mM GlutaMAX), filtered through 70 µm cell strainer, and seeded onto Corning Matrigel-coated 12 mm cover glasses in one 24-well plate, and maintained at 37 °C under 5% CO2. Then, 16 h after seeding (DIV1), 90% of the medium was replaced with maintenance medium (Neurobasal A with 2% Gem21 NeuroPlex Supplement, 2 mM GlutaMAX). At DIV3, 50% of the medium was replaced with fresh maintenance medium supplemented 4 µM Ara-C (cytosine β-d-arabinofuranoside hydrochloride), and lentivirus expressing gRNA. When indicated, lentiviruses expressing jRGECO1a were added at DIV7. At DIV7, 10 and 13, 30% of the medium was replaced with fresh maintenance medium, before analysis at DIV14.

Virus preparation

Lentiviruses were produced in HEK293T cells using the second-generation packaging system. Per 150 cm2 of cells, 186 µl 2 M CaCl2 containing 5.8 µg of lentivirus shuttle vector, 2.5 µg pVSVG (Addgene, 12259) and 4.2 µg Gag-Pol-Rev-Tat (Addgene, 12260) at a total volume of 1.5 ml was added dropwise to an equal volume of 2× HBS (280 mM NaCl, 10 mM KCl, 1.5 mM Na2HPO4, 12 mM glucose and 50 mM HEPES, pH 7.11) under constant mixing, incubated for 15 min at room temperature and added dropwise to the cells. Then, 8–12 h after transfection, the medium was replaced with DMEM with 10% FBS. Then, 48 h after transfection, the cell medium was cleared by centrifuging in table-top centrifuge at 2,000g for 3 min, and filtered through a 0.45 µm PES membrane. The viral supernatant was loaded onto a 2 ml 30% sucrose cushion in PBS and centrifuged in the Thermo Fisher Scientific SureSpin 630 rotor at 19,000 rpm for 2 h. The viral pellet was resuspended in 30 µl MEM and flash-frozen in liquid nitrogen. AAVs (CAG-DIO-RG and CAG-DIO-TCB-mCherry) in capsid 2.5 and pseudotyped rabies virus RbV-CVS-N2c-deltaG-GFP (EnvA)43 were prepared at Janelia Farm Viral core facility.

Monosynaptic retrograde rabies tracing

P0 neonatal mouse pups were anaesthetized on ice for 4 min and were head-fixed using ear bars and a 3D-printed mould. Then, 0.35 µl 1 × 109 IU ml−1 lentiviruses (SYN1-gRNA-NLS-cre) was injected unilaterally to CA1 at the coordinates anteroposterior (AP) +0.95 mm, mediolateral (ML) −0.92 mm, dorsoventral (DV) −1.30 mm (zeroed at Lambda). At P21, mice were anaesthetized by avertin (250 mg per kg) and head-fixed on a stereotaxic injection rig, and 0.2 µl AAVs (CAG-DIO-RG, 3.6 × 1012 genome copies per ml; and CAG-DIO-TCB-mCherry, 6.35 × 1012 genome copies per ml; 1:1 volume mix) were co-injected to CA1 at coordinates AP −1.80 mm, ML −1.35 mm, DV −1.30 mm (zeroed at bregma). At P35, the same CA1 site was injected with 0.15 µl EnvA-pseudotyped rabies virus RbV-CVS-N2c-deltaG-GFP at 2 × 108 IU ml−1. After the surgery, the incisions of P21 and P35 mice were closed by suture and 3M Vetbond tissue adhesive (1469SB). After all of the injections, the mice were allowed to recover on a heating pad before returning to their home cage. At P42, the mouse brains that had been perfused were fixed in 4% PFA (Electron Microscopy Sciences, EM grade, 15714) in PBS for 4 h at room temperature, subsequently incubated in 30% (w/v) sucrose in PBS at 4 °C overnight and cryopreserved in Tissue-Tek O.C.T. compound (Sakura) on dry ice. Frozen tissue blocks were cut into 20 µm coronal sections on a cryostat and collected on glass slides (Globe Scientific, 1358W). The sections were air dried, stained in 1 µg ml−1 DAPI for 10 min, washed once with PBS and sealed in Fluoromount-G (Southern Biotech, 0100-01). The sections were imaged on the Olympus VS200 slide scanner at ×10. A total of 5–6 mice was used per condition for the study.

RT–PCR analysis of Lphn3 alternative exons in tissues

C57BL/6 mice at P4, P9, P14, P21 and P35 were euthanized and the brains were dissected to isolate the olfactory bulb, cerebellum, hippocampus, prefrontal cortex, striatum and retina. Tissues were grinded with 500 µl TRIzol on ice, mixed with 125 µl chloroform and incubated at room temperature for 2 min. The samples were centrifuged at 12,000g for 15 min at 4 °C in the Eppendorf 5417C centrifuge. The aqueous layers were added to 250 µl ice-cold isopropanol for thorough mixing before incubation on ice for 5 min. The samples were centrifuged at 20,817g for 20 min at 4 °C in the Eppendorf 5417C centrifuge. Pellets were washed with 0.5 ml ice cold 75% ethanol before being centrifuged at 20,817g for 10 min at 4 °C, and subsequently resuspended in 40 µl double-distilled H2O containing 0.2 U µl−1 SUPERase•In RNase inhibitor. A total of 100 ng of total RNA was used for cDNA conversion using the PrimeScript RT-PCR Kit using random 6-mers. In total, 1 µl cDNA was used for PCR targeting exon–exon junction regions using Ex Taq DNA Polymerase. The following primers were used: Actb (5′-TCTACAATGAGCTGCGTGT-3′, 5′-CGAAGTCTAGAGCAACATAG-3′), Lphn3 E6 (5′-CCACAGCTACTCATCCTCAC-3′, 5′-GCTCTCGATCATGATGACGT-3′), Lphn3 E15 (5′-GGGGACATCACCTACTCTGT-3′, 5′-TCAGGTCTCTCCAGGCATTC-3′), Lphn3 E24 (5′-CCTGAATCAGGCTGTCTTGA-3′, 5′-AAATGGTGAAGAGATACGCC-3′), Lphn3 E31 (5′-TCCAGGACGGTACTCCACA-3′, 5′-GGCATTGTTCAGAAGCCCCT-3′), Lphn3 E32 (5′-TCCAGGACGGTACTCCACA-3′, 5′-TCCTGTGTCCTGTTTCGGGA-3′). The PCR program was as follows: 94 °C for 1 min; then 31 cycles of 94 °C for 30 s, 55 °C for 30 s, 72 °C for 1 min. PCR products were separated on 2% agarose gel in 1× TAE buffer and imaged using the BioRad Gel Imaging system.

RT–qPCR analysis of Lphn3-KO and Lphn3-E31-KO neurons

Total RNA (80 ng) for each culture was used for converting to cDNA using the PrimeScript RT-PCR Kit using random 6-mers. A total of 1 µl cDNA was used for qPCR experiments with the TaqMan Fast Virus 1-Step Master Mix using PrimeTime Std qPCR designed primer-probe sets: Actb: 5′-GACTCATCGTACTCCTGCTTG-3′, 5′-GATTACTGCTCTGGCTCCTAG-3′, /56-FAM/CTGGCCTCA/ZEN/CTGTCCACCTTCC/3IABkFQ/; Lphn3 E27–E31 junction: 5′-CCTTCATCACCGGAGACATAAA-3′, 5′-GTGGTAGAGTATCCATGACACTTG-3′, /56-FAM/CA GCTCAGC/Zen/ATCGCTCAACAGAGA/3IABkFQ/; Lphn3 E27–E32 junction: 5′-CAGTCAGAGTCGTCCTTCATC-3′, 5′-GTCAGTCTCAGGTCCATAAGTC-3′, /56-FAM/AACAGCTCA/Zen/GCATCGCTCAACAGA/3IABkFQ/. The PCR program was as follows: 95 °C for 20 s; then 41 cycles of 95 °C for 3 s, 60 °C for 30 s. Ct values for the Lphn3 E31 and E32 sample were subtracted by that of Actb from the same sample to get ΔCt. All ΔCt values were normalized to the control gRNA. A total of eight cultures was used.

RT–PCR analysis of Lphn3-KO, Lphn3-E31-KO and ΔPBM in neurons

Total RNA (80 ng) for each culture was used for converting to cDNA using the PrimeScript RT-PCR Kit with random 6-mers. A total of 1 µl cDNA was used for PCR targeting exon–exon junction regions using Ex Taq DNA Polymerase. The following primers were used: Actb: 5′-TCTACAATGAGCTGCGTGT-3′, 5′-CGAAGTCTAGAGCAACATAG-3′; Lphn3 E31: 5′-GTCAGAGTCGTCCTTCATCAC-3′, 5′-AGTTGTTCACCAGTTTGTTCATC-3′; Lphn3 E32: 5′-CGGATTCGGAGAATGTGGAA-3′, 5′-CCACAGATAACGTGTGTGGT-3′. The expression level of E31 and E32 were normalized to Actb.

Immunoblotting analyses

One well of neuron culture from a 24-well plate was lysed in 50 µl lysis buffer (20 mM Tris pH 7.5, 500 mM NaCl, 1% Triton X-100, 0.1% SDS 1× Roche EDTA-free protease inhibitor) at room temperature for 5 min. A total of 20 µl 5× SDS loading buffer was added and the samples were analysed using SDS–PAGE. Gels were transferred to a 0.2 µm nitrocellulose membrane in the Trans-Blot Turbo Transfer system (Bio-Rad) and blocked by western blocking buffer (5% BSA in 1× TBST) at room temperature for 30 min. Mouse anti-LPHN3 (Santa Cruz Biotech, sc-393576, 1:1,000) and mouse anti-actin (Sigma-Aldrich, A1978, 1:3,000) antibodies in western blocking buffer were added and incubated at 4 °C for overnight. The membranes were washed in western blocking buffer three times for 10 min each, and IRDye 800CW donkey anti-mouse IgG secondary antibodies (Li-cor, 926-32212, 1:20,000) in western blocking buffer were added to the membrane, which was incubated at room temperature for 1 h and washed in 1× TBST three times for 10 min each. The samples were imaged using the Odyssey Imager (Li-Cor). Quantifications of LPHN3 level were normalized to β-actin.

Calcium imaging

Primary culture neurons were maintained as described above, except they were infected with lentiviruses expressing SYN1-gRNA-EGFP at DIV3, and lentiviruses expressing SYN1-jRGECO1a at DIV7. At DIV14, the coverslips containing neurons were washed once with 37 °C warmed Tyrode buffer (25 mM Na-HEPES pH 7.4, 129 mM NaCl, 5 mM KCl, 2 mM CaCl2, 1 mM MgCl2, 15 mM glucose and transferred to 12-well glass plate (Cellvis, P12-1.5H-N) in Tyrode buffer. After 30 min of incubation in Tyrode buffer at 37 °C under 5% CO2, the cultures were imaged under the Leica microscope at 37 °C under 5% CO2, with 50 ms exposure, 85 ms interval for 1 min for each field of view (FOV). A total of 6–8 fields of view was recorded for each coverglass of culture. For each condition from one batch of culture, 3–5 cover glasses of cultures were imaged. Three batches of culture were used in total.

Immunohistochemistry and synapse puncta imaging

Primary hippocampal neurons were washed in Tyrode buffer (25 mM Na-HEPES pH 7.4, 129 mM NaCl, 5 mM KCl, 2 mM CaCl2, 1 mM MgCl2, 15 mM glucose) and fixed in 4% PFA and 4% sucrose in 1× DPBS at 37 °C for 15 min. Neurons were next washed three times with 1× DPBS for 5 min each, and permeabilized in 0.1% Triton X-100 in 1× DPBS for 10 min at room temperature without shaking. After blocking with 0.5% fish skin gelatin in 1× DPBS at 37 °C for 1 h, the culture was stained with chicken anti-MAP2 (Encor, CPCA-MAP2, 1:1,000), guinea pig anti-vGluT1 (Milipore, AB5905, 1:1,000), and rabbit anti-HOMER (Milipore, ABN37, 1:1,000) antibodies in blocking buffer at 4 °C overnight. The samples were washed three time with 1× DPBS for 8 min each, and incubated with secondary antibodies (anti-chicken Alexa 405, anti-guinea pig Alexa 647 and anti-rabbit Alexa 488) in blocking buffer at 37 °C for 1 h. Next, the culture coverslips were washed three times with 1× DPBS for 8 min each, once with double-distilled H2O briefly, before being loaded onto glass slides (Globe Scientific, 1358W) in Fluoromount-G (Southern Biotech, 0100-01) and sealed in nail polish (Amazon, B000WQ9VNO). The samples were imaged under the Nikon confocal microscope at ×60, with a 0.35 µm step size and 4–6 z stacks. For each coverglass of the culture, about 20 neurons containing well-isolated dendrites were imaged. For each condition of one batch of culture, two cover glasses of the culture were imaged. Three batches of the culture were used in total.

Image analyses

Five types of image analyses were performed.

  1. (1)

    Quantification of excitatory synapse puncta density. Maximum-intensity files were produced from z-stacked images. The background was subtracted and the 5–10 well-isolated secondary dendrites were cropped from each neuron in Fiji (v.2.9.0) for processing. Excitatory synapses, especially in mature mushroom spines, are localized ~0.5–1 µm away from the dendrite due to the long neck of the spine3. Our confocal images have an interpixel unit of 0.20714 µm per pixel. Thus, in our analyses, we include vGluT1/HOMER signals within 5 pixels away from dendrite. The cropped files were converted to binary images using the same threshold for the same channel, for the same batch of experiment. For calculating excitatory synapse puncta, the overlapped region of vGluT1 and HOMER binary images were generated, and the overlapped regions containing more than two neighbouring pixels were considered to be puncta, and were searched and quantified using the scikit-image (v.0.20.0) package44. To calculate dendrite length, binary MAP2 channel images were skeletonized by scikit-image to a 1 pixel representation of which the length was measured using FilFinder (v 1.7.3) package45. For each cropped file, the puncta number divided by dendrite length produced the puncta density. All of the imaged regions from one batch of the experiment were averaged to calculate the puncta density for one condition. Three batches of data were plotted in total.

  2. (2)

    Calcium imaging. Time-lapsed videos of calcium imaging files were processed using the CaImAn package46 to search for spiking somas and generate corresponding fluorescence intensity (ΔF/F) over time. The key parameters were: decay_time=0.4, p=1, gnb=2, merge_thr=0.85, rf=60, stride_cnmf=6, K=10, gSig=[40,40], method_init=‘greedy_roi’, ssub=1, tsub=1, min_SNR = 200, rval_thr=0.85, cnn_thr=0.99, cnn_lowest=0.1. ΔF/F traces of all detected spiking somas from one field of view were averaged to produce one synchronized firing trace. SciPy (v1.10.1)47 algorithm “find_peaks” (height=0.15, width = (2,20), distance=20) was used to detect the spiking number and signal strength (ΔF/F) for each synchronized firing trace. The synchronizing firing rate was calculated by dividing spiking number against total time for each trace. To plot the firing rate (or ΔF/F) for each condition, the median of the firing rate (or ΔF/F) from all traces of one batch was used. Three batches of culture were plotted in total.

  3. (3)

    Rabies tracing. Coronal sections corresponding to bregma −1.55 to −2.03 mm48 for hippocampal formation and Bregma −3.8 to −4.1 mm48 for the LEC were processed in Fiji by background subtraction. Regions of the ipsilateral CA1, ipsilateral CA3, contralateral CA3 and ipisilateral LEC were cropped in Fiji for processing in scikit-image (v.0.20.0). The cropped regions were converted to binary images using the same threshold for the same channel, for the same batch of experiment. Binary regions containing more than 80 neighbouring pixels (red channel for CA1) and 150 neighbouring pixels (green channel for CA3 and LEC) were considered to be neuron soma, and were counted using the scikit-image44 functions measure.label and measure.regionprops. All counts from one mouse were used to calculate the connectivity strength of ipsilateral CA3–CA1, contralateral CA3–CA1, and LEC–CA1.

  4. (4)

    cAMP imaging using pink flamindo 2. After background subtraction, the 488 and 546 nm channel signals from one field of view was used to calculate pink flamindo 2/GFP. In total, 3–10 fields of view were imaged per condition per batch of culture. Three batches of cultures were used in total.

  5. (5)

    Phase-transitioned droplet. After background subtraction, signals from the indicated channels were used for analysis. A 12.86 µm linear region across the diameter of the droplets was used to plot the signal from the edge to the centre of the droplets. To calculate the number of droplets per cluster, contacting droplets were counted as one cluster. The scikit-image (v.0.20.0) package44 was used to count the size of droplets. Three independent replicates were used for each experiment.

Protein purification

We used truncated GKAP and SHANK3 to retain essential interaction modules and obtain soluble proteins. 6×His-tagged GKAP, SHANK3, HOMER3 and PSD95 were purified as described previously15 with slight modifications. Constructs were transformed into BL21 (DE3) pLysS, which were induced at an optical density at 600 nm of 0.6 with 0.25 mM IPTG at 16 °C for 18 h. Cells were lysed in Ni-buffer A (20 mM Tris pH 8, 500 mM NaCl, 5% glycerol, 4 mM BME, 20 mM imidazole, 1× Roche EDTA-free protease inhibitor, 100 U ml−1 benzonase) and cleared at SS34 rotor at 14,000 rpm for 30 min at 4 °C. Proteins were loaded onto the Ni-NTA column, washed in Ni-buffer A and eluted in Ni-buffer B (20 mM Tris pH 8, 250 mM NaCl, 5% glycerol, 4 mM BME, 400 mM imidazole). His-tags were removed by 3C protease. Finally, the proteins were purified in a size-exclusion column (SD75 10/300 for GKAP, and SD200 10/300 for others) in SEC buffer (20 mM Tris pH 8, 300 mM NaCl, 2 mM DTT). Lentiviruses containing CMV-TetO2-Flag-Lphn3 E31, E32 and E31(ΔPBM) were used to express proteins in FreeStyle 293-F cells at 37 °C under 8% CO2. Cells were collected 60 h after 5 µg ml−1 doxycycline induction, and lysed in lysis buffer (20 mM Na-HEPES pH 7.4, 500 mM NaCl, 1% DDM, 0.1% CHS, 30% glycerol, 1× Roche EDTA-free protease inhibitor cocktail, 100 U ml−1 benzonase). The lysate was incubated with 2 mg ml−1 iodoacetamide, cleared by centrifugation at SS34 rotor at 16,000 rpm for 30 min. The supernatant was loaded onto anti-Flag M1 Agarose Affinity Gel in wash buffer 1 (20 mM Na-HEPES pH 7.4, 500 mM NaCl, 0.01% LMNG, 0.001% CHS, 2 mM CaCl2, 20 µM leupeptin). Bound protein was washed with wash buffer 1 and wash buffer 2 (20 mM Na-HEPES pH 7.4, 150 mM NaCl, 0.01% LMNG, 0.001% CHS, 2 mM CaCl2), and eluted in elution buffer (20 mM Na-HEPES pH 7.4, 150 mM NaCl, 0.01% LMNG, 0.001% CHS, 5 mM EGTA, 0.2 mg ml−1 Flag peptide), and further purified on the SD200 10/300 column in SECL buffer (20 mM Na-HEPES pH 7.4, 150 mM NaCl, 0.002% LMNG, 0.0002% CHS). 6×His-tagged TENM2 and FLRT3 were cloned into the pCMV vector and expressed in Expi293F cells. Then, 4 days after transfection, the medium was collected and loaded onto the Ni-NTA column, washed in Ni-buffer C (20 mM HEPES pH 7.4, 150 mM NaCl, 20 mM imidazole pH 7.6) and eluted in Ni-buffer D (20 mM HEPES pH 7.4, 150 mM NaCl, 250 mM imidazole pH 7.6). His-tags were removed by 3C protease, and the proteins were purified in a size-exclusion column (SD200 10/300) in SEC buffer (20 mM HEPES pH 7.4, 150 mM NaCl).

Fluorescence labelling of proteins

For HOMER, PSD95 and SHANK, proteins were buffer-exchanged to labelling buffer 1 (100 mM NaHCO3, pH 8.2, 100 mM NaCl) at a final protein concentration of 2–20 µM. NHS-dyes (AAT iFluor NHS-405, AAT iFluor NHS-546, Invitrogen Alexa NHS-647) were added to the protein at 1:1 molar ratio, and the labelling proceeded at room temperature for 1 h. The reaction was quenched by 100 mM Tris pH 8.2. Free dyes were removed using the PD10 desalting column (Cytia). The labelling efficiency was 50–100%. Labelled proteins were mixed with unlabelled proteins so that the labelling efficiency was about 2%, and the sample was concentrated to 200–1,600 µM. The samples were cleared at 14,000 rpm in the Eppendorf 5417C centrifuge for 10 min before freezing in liquid nitrogen. Purified LPHN3 proteins were directly labelled using AAT iFluor NHS-488 as described above.

Phase-transition imaging and sedimentation assay

Unless otherwise indicated, proteins were added to a final concentration of 10 µM GKAP, 10 µM HOMER3, 10 µM PSD95, 10 µM SHANK3, 6 µM LPHN3 E31, 6 µM LPHN3 E32, 6 µM LPHN3 E31(ΔPBM), 10 µM TEN2, 10 µM FLRT3 in assay buffer (20 mM Na-HEPES pH 7.4, 150 mM NaCl, 0.002% LMNG, 0.0002% CHS). Protein mixtures were incubated at room temperature for 10–20 min. For imaging experiments, 5 µl of sample was loaded onto a channelled slide (ibidi, 80666), which was designed with a cover to minimize evaporation of small-volume samples. For the pelleting experiments, 10 µl of sample was centrifuged at 5,000 rpm in the Eppendorf 5417C centrifuge for 5 min. The supernatant was immediately removed and the pellet was resuspended in 2× SDS loading buffer. All of the samples were analysed using SDS–PAGE and stained in Coomassie G-250 blue. We quantified the LPHN3 pellet percentage using the N-terminal domain, which has the same sequence for all three Lphn3 constructs.

FRAP analysis

After phase separation was completed, strong-excitation laser intensities were used to bleach all of the channels of a small area for approximately 10 seconds, after which the fluorescence of the photobleached spot was recorded for 6 min. Recovery traces were fitted with the exponential equation y = aebx + c to extrapolate the t1/2 = (ln2)/b. Only the FRAP recovery kinetics were interpreted because the recovery percentage is highly sensitive to the duration of photobleaching, which was not precisely controlled in this experiment.

Statistics and reproducibility

Most statistical tests were performed using two-sided t-tests, as indicated. To control for family-wise error during multiple comparisons, two-sided Tukey’s tests were used in parallel and the adjusted P values are summarized in Supplementary Tables 1 and 2, and do not change the conclusions drawn from t-tests in this work. Gene counts from the high-throughput sequencing dataset were analysed using two-sided Wald test of DESeq2 for bulk RNA-seq datasets, and two-sided Wilcoxon rank-sum tests for the scRNA-seq dataset. For all box plots: the lowest datapoint shows the minimum value; the highest datapoint shows the maximum value; the centre line shows the median; and the box limits show the interquartile range (25th to 75th percentile). Representative experiments were repeated independently the following number of times: Fig. 2b, n = 6; Fig. 2e, n = 3; Fig. 3a, n = 3; Fig. 3d,e, n = 5 for control/Lphn3 KO and 6 for E31 KO; Fig. 4b, n = 4; Fig. 4d,f, n = 3; Extended Data Fig. 3a, n = 3; Extended Data Fig. 5a, n = 3; Extended Data Fig. 5e, n = 3 (rows 1 and 2), n = 5 (rows 3 and 4) and n = 6 (row 5); Extended Data Fig. 6a–i, n = 2; Extended Data Fig. 7a, n = 3; Extended Data Fig. 7c, n = 3; Extended Data Fig. 7f, n = 3; Extended Data Fig. 7h, n = 3; Extended Data Fig. 8d,e, n = 3; Extended Data Fig. 8f,g, n = 6; Extended Data Fig. 8h, n = 10; Extended Data Fig. 9d, n = 3; Extended Data Fig. 9f, n = 3.

Reporting summary

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