DNA samples (extracted from blood or saliva) were genotyped on the Illumina HumanOmniExpress chip, including 730,525 SNPs aligned to the human genome reference sequence build GrCh37. SNPs with >5% missing data or minor-allele frequency <1%, were excluded. Due to the admixed ancestry of the study sample, there is an inflation in Hardy-Weinberg p-values (). We therefore did not exclude SNPs based on Hardy-Weinberg deviation, but performed stringent quality controls at software and biological levels (see Figure S14 from, and Table S2 ). For example, the SNP quality metrics generated from the GenCall algorithm in Illumina GenomeStudio v2.0 were used for quality control. SNPs with low GenTrain score (<0.7), low Cluster Separation score (<0.3) or high heterozygosity values (|het. excess|>0.5) were excluded (). In addition, we checked for batch effects by genotyping a control sample on each plate and comparing its genotype calls across batches; the consistency rate (i.e. matched proportion of genotypes) was ≥0.999 in all cases after SNP-level QC. We also assessed the accuracy of our genotypes independently by comparing against genotype calls obtained on a subset of samples by high-coverage sequencing, and consistency was again ≥0.999. The quality control filters resulted in 673,034 SNPs being retained for further analysis. Even though we did not explicitly filter SNPs based on HWE, we show in Table S2 that all the index SNPs have non-significant HWE p-values.

WUR was evaluated using a 255mN von Frey hair (Touch Test, North Coast, USA). Pain ratings were recorded on a numerical scale (0-100) for a single stimulus, which was then followed by a train of 10 stimuli applied at 1 Hz in the same 1 cmarea as the single stimulus, and the average recorded. This procedure was repeated five times and WUR calculated as the mean pain rating for the trains of stimuli divided by the mean of the single stimulus. Participants were first familiarized with the testing midway over the contralateral ventral forearm before actual testing on the ipsilateral forearm. The testing side was randomized. We have previously shown high intra-tester reliability for wind-up ratio (ICC= 0.634, (95% CI 0.113-0.880), p = 0.012) ().

Participants attended a single appointment at the quantitative sensory testing (QST) laboratory at Universidad de Antioquia, in Medellín Colombia. Smoking and drinking of coffee within one hour of testing and consumption of psycho-active substances or alcohol within eight hours of testing were discouraged. Age and self-reported gender were recorded. Participants completed the Spanish version of the Hamilton Anxiety Rating Scale (HARS with a range of 0-56, in which scores <17 indicate mild anxiety, 18-24 = mild to moderate anxiety, and 25-30 moderate to severe anxiety) and the Quick Inventory of Depressive Symptomatology Self-Report (QIDS-SR, with a range 0-27 in which 1-5 indicate no depression, 6-10 = mild, 11-15 = moderate, 16-20 = severe and 21-27 = very severe depression).

Mouse experiments

Tissue preparation for histology For immunohistochemistry and in situ hybridization experiments, mice were overdosed with pentobarbital and perfused transcardially with room temperature sterile saline, followed by 10-15 mL 4% paraformaldehyde (PFA). Once dissected, DRGs were post-fixed in 4% PFA for 2 h at room temperature, while the spinal cords were post-fixed for 24 h at 4°C. All tissue was dehydrated for cryoprotection in 30% sucrose at 4°C for 4-5 days. Optimal cutting temperature (OCT) medium (Tissue-Tek) was then used to embed the dissected tissue and allow for -80°C storage. Sections were cut on a cryostat (14 μm for DRG, 30 μm for spinal cord) and stored at -80°C. Tissue preparation for in situ hybridization (multiplex) was different and is specified below.

Immunohistochemistry and in situ hybridization For immunohistochemistry, DRG and spinal cord sections were washed in PBS and PBS Triton-X (0.3%), before being incubated overnight at room temperature with the respective primary antibodies diluted in PBS/Triton. The primary antibodies used for immunohistochemistry: anti-NeuN (chicken, 1:500, Millipore, Cat# ABN91), anti-GFP (chicken, 1:1000, Abcam, Cat# ab13970), anti-CGRP (sheep, 1:400, Enzo Life, Cat# BML-CA1137), anti-CGRP (rabbit, 1:1000, Peninsula Laboratories, Cat# T-4032), anti-IB4 (biotin, 1:100, Sigma-Aldrich, Cat# L2140), anti-NF200 (mouse, 1:250, Sigma-Aldrich, Cat# N0142), anti-TH (sheep, 1:200, Millipore, Cat# AB1542), anti-NCX3 (rabbit, 1:1000, Swant, Cat# 95209) ( key resources table ). This was followed by washing in PBS/Triton and incubation for 2 hours at room temperature with secondary antibodies (Alexa Fluor, Thermo Fisher Scientific). The tissue was then washed again and cover-slipped. Immunostaining was visualized using a confocal microscope (Axio LSM 700, Zeiss) and images were acquired using the Zen black software. For in situ hybridization (singleplex), we used the RNA Scope 2.5 Red chromogenic assay kit (Biotechne, 322350) and followed manufacturer instructions. Briefly, after -80°C storage, tissue was allowed to reach room temperature and was then washed with PBS. Next, tissue was pre-treated with hydrogen peroxide at room temperature (10-min pre-treatment for DRG, no pre-treatment for spinal cord) and protease at 40°C (10-min protease treatment for DRG, 15 min for spinal cord). Slides were then incubated with an mRNA probe against NCX3 (Slc8a3) (Biotechne, cat# 523681) for 2 h at 40°C. Probe incubation was then followed by six amplification steps, with Amplification 5 lasting 30 min for DRG samples and 15 min for spinal cord tissue. All other amplification steps were performed as per manufacturer’s instructions. The development stage of the protocol involved a fast red reaction, which was also tissue-dependent: 7 min for DRGs and 10 min for spinal cords. Any modifications to the protocol were optimized to reduce background staining and improve signal. ISH was followed by immunohistochemistry, where the standard protocol described above was used. Staining was visualized with confocal microscope and images were acquired using the Zen black software. For in situ hybridization (multiplex), we used RNA Scope Multiplex Kit V1 (Biotechne, cat number: 320851). This protocol was performed on fresh frozen tissue and the manufacturer’s instructions were followed. For tissue preparation, the spinal cords were dissected using hydraulic extrusion. Tissue was then quickly placed on a frozen metal plate on dry ice. After freezing, the spinal cord was transferred to a cold Eppendorf tube and stored at -80°C. A cryostat was used for tissue cutting, where the spinal cords were left to equilibrate to -20°C and were then covered with OCT. We used 12-15 μm section thickness and kept the tissue as cold as possible throughout the preparation procedure. Sections were then stored at -80°C on slides. Following tissue preparation and storage, the tissue was immediately post-fixed with 4% PFA for 15 min at 4°C. Then the slices were dehydrated and treated with probes and amplification buffers as per manufacturer’s instructions. Probes were against Slc8a3(NCX3), (cat# 523681), Lypd1 (cat# 318361-C2) and TdTomato (cat# 317041-C2). TdTomato was used to mark the Phox2a population in Phox2aCre;Rosa26LSL-tdTomato mice. Staining was visualized with confocal microscope and images were acquired using the Zen black software. Phox2a quantification was conducted manually in Neurolucida.

Image analysis Analysis of the signal intensity for in situ hybridization studies on DRG was calculated using ImageJ. In a single image of a section of either L4 or L5 DRG, neurons were circled and the percentage coverage of red NCX3 mRNA signal for that cell profile area was calculated. By eye each cell was subpopulation-defined using the counterstain with NF200, IB4, CGRP or TH. For each marker at least 3 sections were imaged per animal. On each image, a background reading was performed using an unstained area. The mean intensity per animal was calculated to account for any background measurement. For spinal cord sections, mRNA positive cells were defined as those containing 3 or more red chromogen foci, colocalizing with each eGFP-marked cell (either GlyT2-eGFP, Gad67- eGFP or vGLUT2-eGFP). The total number of eGFP+ cells as well as the number of eGFP+/NCX3+ was counted. Double positive cells were expressed as a percentage of eGFP+ neurons.

Histology after spinal injections After completion of the behavioral tests, mice were deeply anesthetized with pentobarbitone (30 mg, ip) and perfused transcardially with 4% freshly depolymerized formaldehyde in phosphate buffer. The spinal cords were then dissected out and post-fixed for 2 h in PFA. The lumbar enlargement (L3-L5 segments) was dissected and postfixed for 2 h and cut into 60 μm parasagittal sections using a vibrating blade microtome. The sections were processed for immunocytochemistry as described above. Sections were incubated in anti-GFP (chicken, 1:1000, Abcam, Cat# ab13970) or anti-Myc (rabbit, 1:1000, Abcam, Cat# ab9106) and anti-NeuN (guineapig, 1:1000, Synaptic Systems, Cat# 266004) for 3 days at 4°C and revealed with fluorescence-labelled species-specific secondary antibodies (Jackson ImmunoResearch, West Grove, PA, USA). All antibodies were diluted in phosphate-buffered saline containing 0.3% Triton-X and 5% normal donkey serum. Injection sites were assessed visually to confirm successful injection and expression of viral constructs, based on the resulting myc or eGFP signal. Additionally, the NeuN expression was assessed visually to confirm that no loss of neurons was observed within the injection zones. Based on these criteria, all 24 mice were included for further analysis (12 NCX3 and 12 eGFP). For quantitative analysis of NCX3-myc expression in NCX3-injected mice, single optical sections were scanned from the core of each injection site in each animal using a 10x objective (NA 0.3) on a Zeiss LSM900 confocal microscope in Airyscan Confocal mode (at the default zoom of 1.3x). To avoid bias when selecting the z-depth of the optical section the NeuN channel was used, with the optical section being taken at the z-level at which the NeuN signal was brightest. The imaging parameters were kept identical across all images. To examine the correlation between the characteristics of the NCX3 injection site and the extent to which nocifensive behavior was affected in the formalin test, we used ImageJ software. The brightest part of the L4 injection site was outlined and measurements of Integrated Density/Raw Integrated Density (the sum of the values of all pixels in the selection, providing a collective measure of the size and staining intensity) were taken. The experimenter was blind to the behavioral responses of each animal. GraphPad Prism was then used to calculate the Pearson’s correlation between each measurement and the respective behavioral response. BioRender was used to create some of the images.

Behavioral procedures At the start of each set of behavioral experiments, mice, aged 8-10weeks, were acclimatized to the testing equipment for 2-3 days prior to each test. For motor and acute sensitivity tests, baseline values were obtained by averaging data from 3 experimental sessions. For behavioral experiments, we used the following two cohorts: 1st cohort: 5 WT (n female = 2, n male = 3), 9 NCX3HET (n female = 4, n male = 5) and 4 NCX3HOM (n female = 3, n male = 1); 2nd cohort: 11 WT (n female = 5, n male = 6), 2 NCX3HET (n male = 2) and 9 NCX3HOM (n female = 6, n male = 3), which brings the total of mice to 16 WT, 11 NCX3HET, 13 NCX3HOM. All tests were performed in the same room, at similar times of the day, by the same experimenter, who was blind to all animal genotypes and handled the mice in a random order. Formalin experiments were performed last and therefore the animals were 20-25 weeks of age and very well acclimatized to the room and researcher. No animals were excluded from the above-mentioned cohorts. Dawes et al., 2018 Dawes J.M.

Weir G.A.

Middleton S.J.

Patel R.

Chisholm K.I.

Pettingill P.

Peck L.J.

Sheridan J.

Shakir A.

Jacobson L.

et al. Immune or genetic-mediated disruption of CASPR2 causes pain hypersensitivity due to enhanced primary afferent excitability. Behavioral outcomes were obtained as described in. Methods for statistical analyses are outlined below.

Open field For the Open field test, a black box displaying a grid system on the floor was used. Mice were acclimatized to it the day before the experiment. Before the start of the test and after every animal, the Open field box was wiped with a detergent to remove any scent clues left by previous mice. Each mouse was placed in the top left corner of the box and then allowed to explore the Open field uninterrupted for 3 min. The number of boxes entered and the rearings performed by each mouse were recorded. The rearing behavior consisted of animals standing on both hind paws in a vertical upright position. The experiment was repeated three times, on three consecutive days.

Rota-Rod Motor behavior was assessed using a Rota-Rod. Prior to the experiment, mice were trained by being placed on the Rota-Rod three times the day before. Each mouse was placed on the rotating bar and the duration the mouse remained on it was measured. The cut-off time was 120 s. A constant speed of 28 rpm was used and the bar was wiped before each new mouse was placed on it.

Beam walk test Proprioception was assessed using the Beam walk test as previously described. We used a 1 m long beam apparatus resting on two poles, 50 cm above a tabletop. A black box with bedding material and food was placed at the end of it to attract the mouse. A light source at the beginning of the beam was used as an aversive stimulus. The mice were placed on the beam three times the day prior to the experiment and were trained to walk to the black box. A video camera was set on a tripod to record the performance of each mouse. The experiment was repeated three times, on three separate days. The number of correct steps, as well as the number of slips and hops was recorded.

von Frey Mechanical sensitivity was assessed by applying calibrated von Frey hairs (Ugo Basile) to the plantar surface of the hind paw to calculate the 50% withdrawal threshold. The von Frey hairs are nylon monofilaments which apply different force to the stimulated skin. Mouse behavior was scored using the up-down method (a statistical tool to determine the 50% withdrawal threshold through a sequential array of experiments). Using a range of stimuli, we first applied the middle weight, 0.6 g, where a negative response increased the next weight applied, and a positive one – decreased it. The resulting pattern of responses was used to select a constant k and determine the final 50% withdrawal threshold. The same experiment was performed on 3 consecutive days and the mean value for each animal was reported. For experiments involving spinal injections with NCX3 or eGFP viruses, mice were tested once 3-5 days prior to surgery and again 2 weeks following surgery, with the experimenter blind to the virus injected.

Pin prick Noxious mechanical stimulus response was assessed using the Pin prick test. Briefly, a pin was attached to a 1 g von Frey filament and then applied to the planter surface of the hind paw of each mouse. This test was done 3 times per paw, in three separate days. Videos were recorded with a Samsung mobile phone at 240 frames/s and then analyzed with the video editing program Avidemux. The latency between the pin contacting the skin and withdrawal of the hindpaw was calculated.

Hargreaves Thermal sensitivity was assessed using the Hargreaves method. The mice were acclimatized to small boxes with a glass floor for 2-3 days prior to experiment. On the day of the experiment, a radiant heat source was applied to the plantar surface of the hind paw and the latency to withdrawal was recorded. This was performed 3 times for each paw and was then repeated on three consecutive days. For experiments involving spinal injections with NCX3 or eGFP viruses, mice were tested once 3-5 days prior to surgery and again 2 weeks following surgery, with the experimenter blind to the virus injected.

Hot plate Response to a supra-threshold heat stimulus was measured using the hot plate test (Ugo Basile) where each mouse was placed on a metal surface maintained at a constant temperature (50°C or 53°C). The time taken to elicit a nocifensive response (hind paw withdrawal or licking) was recorded. The cut-off time used to prevent tissue damage when no behavior is observed was 20 s.

Formalin The formalin test was performed by an intraplantar injection of 20 μl formalin (5% v/v from 37% stock formaldehyde solution (Sigma, Cat#252549)). Mice were then placed in a Perspex cylinder and observed for nocifensive behavior, such as biting, licking and paw lifting. The duration of pain behavior was recorded over a 60-min period, separated into 12 5-min bins. The behavioral response is biphasic and therefore further comparisons were made by pooling data in the first (0-20 min) and second (20-60 min) phases. In Oxford, behavior was directly observed and recorded live by the experimenter. For experiments involving spinal injections with NCX3 or eGFP viruses performed in Glasgow, mice were video-recorded 2 weeks following surgery, with the experimenter blind to the virus injected. The videos were then scored offline.

Chronic constriction injury (CCI) Bennett and Xie, 1988 Bennett G.J.

Xie Y.-K. A peripheral mononeuropathy in rat that produces disorders of pain sensation like those seen in man. CCI was performed based on the model described previously (). Mice were anesthetized using isoflurane inhalation and the left sciatic nerve was exposed at the high-thigh level. Two ligatures were tied loosely around the nerve, using 6-0 silk suture in an area proximal to the nerve trifurcation, at intervals of ∼2 mm. The skin incision was then closed with 2-3 external stitches. All behavioral measurements were taken in awake and unrestrained mice of both sexes. One session of habituation to the testing area was conducted followed by one baseline measurement session. Von Frey experiments were performed as explained above. The experimenter was blind to all mouse genotypes. Mice that did not develop sensitivity to von Frey post-surgery (at least 25% reduction from baseline thresholds on any of the test days) were excluded. The exclusion criteria were selected prior to analysis and unblinding.

In vitro Ca2+ imaging Albuquerque et al., 2009 Albuquerque C.

Joseph D.J.

Choudhury P.

MacDermott A.B. Dissection, plating, and maintenance of dorsal horn neuron cultures. HOM mice at an age between postnatal days 6 and 12 (male and female, WT n = 5 and NCX3HOM n = 5). Spinal cords were removed and placed into ice cold Hank’s Balanced Salt Solution, HBSS (Invitrogen). Once removed, each spinal cord was placed with its dorsal side facing upward. Following a midline incision, the cord was spread open and only the outer (dorsal) one-third of each side was collected. This was followed by an enzymatic digestion for 75 min in collagenase II (4 mg/ml, Worthington) and dispase II (4.7 mg/ml, Roche) at 37°C. Then the tissue was mechanically dissociated using glass pipettes and spun down at 600xg for 6 minutes. The pelleted cells were resuspended into cell medium (Neurobasal® medium supplemented with 2% (v/v) B27 supplement, 1% (v/v) N2 supplement, 1% (v/v) GlutaMAXTM and 1.5% antibiotic/antimycotic (ThermoFisher Scientific)) and plated on 13 mm coverslips pre-coated with laminin (R&D Systems) and poly-D-lysin (BD biosciences). After allowing the cells to attach to the coverslips for 2 h at 37°C, the wells were flooded with the above-mentioned cell medium. Following this procedure, the cultures contained both neurons and glial cells. They were maintained for 2-3 weeks at 37°C, to allow time for recovery and maturation after the process of dissociation. This proved crucial for the ability of the neurons to respond to high K+. During the maintenance phase, the culture medium was replaced every 3-4 days. DH dissection and culture. Dorsal horn cultures were based on the protocol of. For dissection of spinal dorsal horns, we euthanized WT or NCX3mice at an age between postnatal days 6 and 12 (male and female, WT n = 5 and NCX3n = 5). Spinal cords were removed and placed into ice cold Hank’s Balanced Salt Solution, HBSS (Invitrogen). Once removed, each spinal cord was placed with its dorsal side facing upward. Following a midline incision, the cord was spread open and only the outer (dorsal) one-third of each side was collected. This was followed by an enzymatic digestion for 75 min in collagenase II (4 mg/ml, Worthington) and dispase II (4.7 mg/ml, Roche) at 37°C. Then the tissue was mechanically dissociated using glass pipettes and spun down at 600xg for 6 minutes. The pelleted cells were resuspended into cell medium (Neurobasal® medium supplemented with 2% (v/v) B27 supplement, 1% (v/v) N2 supplement, 1% (v/v) GlutaMAXand 1.5% antibiotic/antimycotic (ThermoFisher Scientific)) and plated on 13 mm coverslips pre-coated with laminin (R&D Systems) and poly-D-lysin (BD biosciences). After allowing the cells to attach to the coverslips for 2 h at 37°C, the wells were flooded with the above-mentioned cell medium. Following this procedure, the cultures contained both neurons and glial cells. They were maintained for 2-3 weeks at 37°C, to allow time for recovery and maturation after the process of dissociation. This proved crucial for the ability of the neurons to respond to high K. During the maintenance phase, the culture medium was replaced every 3-4 days. Dorsal root ganglia dissection and culture. Mice aged between 4-15 weeks were euthanized using a CO 2 chamber (Ca2+ imaging: male and female, WT n = 5 and NCX3HOM n = 5, patch-clamp: male and female, WT n = 4 and NCX3HOM n = 4). The spinal column was dissected out and cut in half through the midline. The cord was then removed to reveal the DRGs. The ganglia were taken out one by one, from all levels and placed into ice cold Hank’s Balanced Salt Solution, HBSS (Invitrogen). This was followed by an enzymatic digestion for 90min in collagenase II (4mg/ml, Worthington) and dispase II (4.7 mg/ml, Roche) at 37°C. The tissue was mechanically dissociated using glass pipettes and spun down at 500 x g for 5 minutes. The pelleted cells were then resuspended into cell medium (Neurobasal® medium supplemented with 2% (v/v) B27 supplement, 1% (v/v) GlutaMAXTM and 1% antibiotic/antimycotic (ThermoFisher Scientific)) and plated on 13 mm coverslips pre-coated with laminin (R&D Systems) and poly-D-lysin (BD biosciences). After allowing the cells to attach to the coverslips for 2 h (at 37°C), the wells were flooded with the above-mentioned cell medium, supplemented with mouse NGF (50 ng/ml, Peprotech) and GDNF (10 ng/ml, Peprotech). The prepared primary culture was then left at 37°C overnight and calcium imaging was performed the next day (1 day in vitro (DIV)), patch-clamp recordings were performed at 1-3 DIV. In vitro Ca2+ imaging – procedure. In total, between 37 and 200 dorsal horn neurons from each animal, of each genotype, were imaged. Similarly, for the DRG analysis, between 21 and 67 cells were used from each animal. Coverslips were incubated for 45-90 min at 37°C with 1 μM Fura-2AM (Invitrogen) in Neurobasal medium supplemented as above. After incubation, coverslips were transferred to artificial extracellular fluid (140 mM NaCl, 5 mM KCl, 2 mM CaCl 2 , 1 mM MgCl 2 , 10 mM D-Glucose, 10 mM HEPES in distilled water). Coverslips were imaged every 1s with 4x4 binning for 340 s on a Zeiss inverted fluorescence microscope with a 10x objective, dichroic LP 409 mirror, BP 340/30 and BP 387/15 excitation and 510/90 emission filters. ZEN Blue software was used for image acquisition and selection of regions of interest (ROIs). ECF was perfused continuously over the cells. After 60s of baseline recording, the cells were perfused with 50 mM K+ for 30 s (100 mM NaCl, 50 mM KCl, 2 mM CaCl 2 , 1 mM MgCl 2 , 10 mM D-Glucose, 10 mM HEPES). This was followed by a 60 s washout and then the K+ treatment/washout procedure was repeated two more times. Data were then analyzed using GraphPad Prism (for AUC analysis) and a Matlab script (for quality control and decay kinetics analysis). + pulses. Therefore, cells which showed three similar responses scored highly and were considered of high reliability. We chose the threshold of 1 and accepted only neurons whose signal-to-noise ratio was above that value. A threshold of 1 would mean that signal power = noise power, and any neuron with a higher score is considered to respond above the noise level. S i g n a l − t o − n o i s e r a t i o = S i g n a l p o w e r N o i s e p o w e r = E x p l a i n a b l e v a r i a n c e T o t a l v a r i a n c e − E x p l a i n a b l e v a r i a n c e

Quality control of neurons. Matlab was used for quality analysis. To this purpose we employed a Matlab function which allowed the selection of neurons which respond reliably to the three consecutive Kpulses. Therefore, cells which showed three similar responses scored highly and were considered of high reliability. We chose the threshold of 1 and accepted only neurons whose signal-to-noise ratio was above that value. A threshold of 1 would mean that signal power = noise power, and any neuron with a higher score is considered to respond above the noise level. This technique was used to refine the group of neurons we tested because: 1/ the DH cultures we generate contain both neurons and glia and it is difficult to select neurons based on cell morphology alone. Therefore, the initial data set was likely to contain glial cells, which would be non-responders skewing the final result; 2/ primary cultures are heterogeneous and therefore neurons can show different responses to the 3 consecutive high K+ pulses. Although our exclusion criteria were generous and included neurons showing different patterns of Ca2+ transients, we attempted to exclude cells whose 3 pulses were grossly different. The most striking feature of the neurons our Matlab script selected as non-reliable, was the lack of second and third response. Biologically, this effect could be caused by neuronal death or it could be an innate feature of a subgroup of DH neurons. As we were interested in repetitive stimulation of live neurons, we considered both biological reasons for justified. 3/ the Ca2+ imaging protocol, as well as the high K+ pulse can lead to some neuronal death, which would manifest itself as a lack of a second and/or third responses combined with continuous high Ca2+ levels. This type of cells was also considered of low reliability. From the original group of neurons (WT n = 729 DH neurons and NCX3HOM n = 789 DH neurons), 529 WT and 550 NCX3HOM remained (derived from WT n = 5 and NCX3HOM n = 5 mice, male and female). We repeated the same protocol for DRG neurons. Of the original group of neurons (WT n = 216 and NCX3HOM n = 282 DRGs), 179 WT and 197 NCX3HOM remained (derived from WT n = 5 and NCX3HOM n = 5 mice, male and female). The same Matlab script and threshold (signal-to-noise ratio >1) was used for both DH and DRG neurons. baseline at the start and end of experiment, as well as in between each peak; 2/ peak values at 90, 180 and 270 s; 3/ area under the curve (AUC), starting at the baseline for each genotype (which ensures that AUC differences are not baseline-dependent) 4/ tau – the time constant describing how fast an exponential function decays. Baseline and peak values were detected using Excel and a Matlab script. Area under the curve for each individual cell was calculated using GraphPad prism. The tau value ( τ ) was calculated using a Matlab function for exponential decay and the following equation: f ( t ) = A . e − t τ

Data analysis on refined neurons. We calculated the following parameters: 1/at the start and end of experiment, as well as in between each peak; 2/values at 90, 180 and 270 s; 3/, starting at the baseline for each genotype (which ensures that AUC differences are not baseline-dependent) 4/– the time constant describing how fast an exponential function decays. Baseline and peak values were detected using Excel and a Matlab script. Area under the curve for each individual cell was calculated using GraphPad prism. The tau valuewas calculated using a Matlab function for exponential decay and the following equation: In the above equation, A is the 340/380 ratio at its peak, i.e. at time t = 0. After a period of one time constant (t=), the function reaches e-1, which equals 37% of the initial value A. Both WT and NCX3HOM responses were normalized prior to analysis, so the final decay value was 0. Tau values above a threshold of 200 s in DH cohort (1 value) and above 100 s in DRG cohort (3 values) were removed.

In vivo Ca2+ imaging Injection of adeno-associated virus 9-GCaMP6s into the lateral parabrachial area. Under sterile conditions and a stable core body temperature (around 37°C) mice were anesthetized using Isoflurane in oxygen (5% for induction and 2% for maintenance). Analgesia (Carprieve, 0.025 mg; Norbrook Laboratories, Newry, United Kingdom) was administered subcutaneously and the eyes were moistened and protected using eye gel (Viscotears, Liquid Gel, Novartis). Once mice were positioned in a stereotaxic frame with zygomatic cups and tooth bar/nosecone, a single incision was made to expose the skull. The location of the lateral parabrachial area was identified using lambda and bregma as landmarks. A small hole was drilled in the skull with a dental drill (Ideal Micro-Drill, WPI) and a microinjection setup was used to lower a freshly pulled glass pipette into the lateral parabrachial area. An injection of 800 nL of AAV9.CAG.GcaMP6s.WPRE.SV40 (UPENN Vector Core, AV-1-PV2833, 1.1 × 1013 gc/mL) was made slowly (100 nL/minute) into the right lateral parabrachial area. To allow the injected virus bolus to diffuse, the pipette remained in place for 2-5 min post injection after which it was withdrawn slowly. After closing the incision and administering sterile normal saline (0.5 mL at 0.9% - for rehydration), the mice were allowed to recover for at least 11 days. In vivo imaging of lamina I projection neurons. After at least 11 days of recovery post-injection, sufficient GCaMP expression had occurred to visualize lamina I projection neurons using standard single photon microscopy. To anesthetize the mice an initial intraperitoneal dose of urethane, 0.3 mL (12.5% urethane in saline), was given. Mice were then placed onto a heating mat controlled via a rectal probe (Frederick Haer Company, Inc., Bowdoin, ME) and their core body temperature was maintained around 37°C. Additional urethane was administered at 15-min intervals based on depth of anesthesia and reflex activity until surgical depth was achieved. Once fully anesthetized a laminectomy was performed to expose the underlying dorsal horn of the spinal cord. The back of the mice was shaved, and an incision was made in the skin over the lumbar enlargement. After removing the muscle and connective tissues, the laminae overlying the lumbar enlargement were clipped in a caudal to rostral direction using rongeurs. The dura mater remained intact but was cleaned using normal saline and cotton buds. To visualize the left dorsal horn the exposed spinal segment was stabilized in a partially lateral recumbent position, using spinal clamps attached to the intact vertebrae on either side of the exposure. The exposed spinal segment was covered with silicone elastomer (World Precision Instruments, Ltd, Hitchin, United Kingdom) to ensure a moistened and physiologically intact cord, while also maintaining optical transparency. The stage with the stabilized mouse was placed under a standard single photon microscope (Eclipse Ni-E FN upright single photon/multiphoton microscope, Nikon, Melville, NY), and the local ambient temperature around the mouse was maintained at 32°C. Time-lapse recordings were taken using a 488-nm argon ion laser line, a 10x dry objective and a 500- to 550-nm bandpass filter. Image acquisition occurred at ∼4 Hz and through a fully opened pinhole. To electrically stimulate lamina I projection neurons, two pin electrodes were placed on either side of the plantar surface of the paw. After a baseline recording of 2 min, a train of 16 square wave pulses of 10 mA and 500 ms were delivered at 0.2 Hz, 0.5 Hz and 1 Hz. Image processing and statistical analysis. Nikon Imaging Software (NIS) Elements AR 0.30.01 was used to align time lapse recordings to a reference frame (Nikon, align application). Further image processing was performed using Fiji/ImageJ version 1.48v. Statistical analysis and graphing were performed using Microsoft Office Excel 2013, IBM SPSS Statistics 23 package, and RStudio 0.99.893. Sample sizes and statistical tests are described in figure legends. ΔF F = F t − F 0 F 0

Where F t is the average, background-subtracted fluorescence intensity of a ROI at time t and F 0 is the average, background-subtracted fluorescence intensity of a ROI at a baseline period, prior to the first stimulus. In this manuscript, ΔF/F is expressed as a percentage. To generate traces of fluorescence over time the cell bodies of lamina I projection neurons were circled in Fiji/ImageJ using the “Freehand selection” tool. Each cell body generated one region of interest (ROI). The fluorescence intensity of pixels located within each ROI was averaged for each time frame, generating the average fluorescence intensity of all cell bodies over time. In addition to the cell body ROIs, a background ROI was generated and averaged in the same way as before. The averaged fluorescence intensity of the background ROI at time t was subtracted from each cellular ROI at time t. The resulting signal was normalized using the formulaWhere Fis the average, background-subtracted fluorescence intensity of a ROI at time t and Fis the average, background-subtracted fluorescence intensity of a ROI at a baseline period, prior to the first stimulus. In this manuscript, ΔF/F is expressed as a percentage. To determine a positive response a threshold for positive responses was set. This was set as follows: 1.2 μ(B E ) + 2 σ(B E ). Where B E is the fluorescence intensity over a baseline period prior to each individual event (here defined as a 5 second period, starting 10 s prior to the event of interest) and μ(B E ) is the average of such signal and σ(B E ) is the standard deviation of such signal. This resulted in a threshold for a positive response of 20% above the baseline fluorescence intensity + 2 standard deviations.

In vitro electrophysiology Whole cell patch-clamp recordings of cultured DRG neurons. Whole cell patch-clamp recordings were performed at room temperature. An Axopatch 200B amplifier was used in conjunction with a Digidata 1500 acquisition system (Molecular Devices). Recording were low-pass filtered at 2 kHz and sampled at 10 kHz. Patch pipettes were pulled from borosilicate glass capillaries (1.5 mm outer diameter, 0.84 mm inner diameter, with filament; World Precision Instruments). Patch pipettes (with 2-5 MΩ tip resistance) were filled with intracellular solution containing (mM): 100 K-gluconate, 28 KCl, 1 MgCl2, 5 MgATP, 10 HEPES, and 0.5 EGTA; pH was adjusted to 7.3 with KOH and osmolarity set to 305 mOsm. The standard extracellular solution used contained (mM): 140 NaCl, 4.7 KCl, 1.2 MgCl2, 2.5 CaCl2, 10 HEPES and 10 glucose; pH was adjusted to 7.3 with NaOH and osmolarity was set to 315 mOsm. Extracellular solution was perfused into the recording chamber (1 ml/min) via a perfusion system. Once whole-cell access was established, resting membrane potential was assessed in bridge mode. Firing properties were assessed in current clamp mode. All current clamp recordings were conducted at a -60 mV holding potential. Input resistance (InR) was calculated from the membrane potential deflection caused by a hyperpolarizing current pulse (80 pA). To define rheobase (minimum current require to elicit and action potential), cells were depolarized by depolarizing current steps (50 ms) of increasing magnitude (Δ25 pA). Repetitive firing was assessed using depolarizing current injections (500 ms), that increased (Δ50 pA) from 0 pA-950 pA. The peak membrane potential at 500 ms was analyzed to assess prolonged current induced injection induced depolarization (Data points were excluded only if at 500 ms an action potential occurred). Cells were divided based on diameter, small (<25 μm), medium (25 < 35 μm) and large (>35 μm). Recordings were sampled using pCLAMP11 software (molecular devices) and data analyzed using Clampfit10.7 software (molecular devices).

Ex vivo electrophysiology Compound action potential recordings. Compound action potentials (CAPs) were recorded from isolated saphenous nerves from WT or NCX3HOM mice. Saphenous nerves were dissected from the inguinal region to the knee. Prior to recording the nerves were desheathed. Each nerve was placed between two suction electrodes and each end pulled through a silicone membrane, to isolate the recording and stimulating sites. The nerves were maintained in a recording chamber (custom built by Dr Roberto De Col), that circulated synthetic interstitial fluid (SIF (mM): 2.0 CaCl 2 , 5.5 Glucose, 10 HEPES, 3.5 KCL, 0.7 MgSO 4 , 123 NaCl, 1.5 NaH 2 PO 4 , 9.5 Na-gluconate, 7.5 Sucrose, pH adjusted to 7.3 using NaOH). Recordings were made at room temperature. Silver wire at either suction electrode allowed for stimulation at one suction electrode and recordings at the other. CAPs were elicited using a constant current stimulator isolator (NL800A, Digitimer), driven by a pulse buffer (NL510A, Digitimer). A supramaximal stimulus (550mA, 150μs) was used to determine CAP amplitude. The nerve of each preparation was measured and used to define conduction velocity. Changes in conduction latency were assessed after 16 consecutive stimuli at 0.25 Hz or 2 Hz, and 240 consecutive stimuli at 2 Hz. All recordings were visualized using an oscilloscope and recorded using a Powerlab 4.0 system in conjunction with LabChart v7.3 software (ADInstruments).

In vivo electrophysiology Dawes et al., 2018 Dawes J.M.

Weir G.A.

Middleton S.J.

Patel R.

Chisholm K.I.

Pettingill P.

Peck L.J.

Sheridan J.

Shakir A.

Jacobson L.

et al. Immune or genetic-mediated disruption of CASPR2 causes pain hypersensitivity due to enhanced primary afferent excitability. female = 6, n male = 9), NCX3HET (n female = 7, n male = 7) and NCX3HOM mice (n female = 7, n male = 6) were used between 8 and 12 weeks old; the experimenter was not blind to genotype. Mice were initially anesthetized with 3.5% v/v isoflurane delivered in 3:2 ratio of nitrous oxide and oxygen. Once areflexic, mice were secured in a stereotaxic frame and subsequently maintained on 1.25% v/v isoflurane for the remainder of the experiment (approximately 3 h in duration). Core body temperature was maintained with the use of a homeothermic blanket and respiratory rate was visually monitored throughout. A laminectomy was performed to expose the L3-L5 segments of the spinal cord; mineral oil was then applied to prevent dehydration. Extracellular recordings were made from deep dorsal horn wide dynamic range (WDR) lamina V/VI neurons with receptive fields on the glabrous skin of the toes using 125 μm 2 MΩ glass-coated tungsten electrodes (Microelectrodes Ltd, Cambridge, UK). Searching involved light tapping of the hind paw whilst manually moving the electrode. All recordings were made at depths delineating the deep dorsal horn laminae, and were classified as WDR on the basis of neuronal sensitivity to dynamic brushing (i.e. gentle stroking with a squirrel-hair brush), and noxious punctate mechanical (15 g) and heat (48°C) stimulation of the receptive field. Recording form dorsal horn neurons. In vivo electrophysiology was performed as previously described (). Both male and female WT (n= 6, n= 9), NCX3(n= 7, n= 7) and NCX3mice (n= 7, n= 6) were used between 8 and 12 weeks old; the experimenter was not blind to genotype. Mice were initially anesthetized with 3.5% v/v isoflurane delivered in 3:2 ratio of nitrous oxide and oxygen. Once areflexic, mice were secured in a stereotaxic frame and subsequently maintained on 1.25% v/v isoflurane for the remainder of the experiment (approximately 3 h in duration). Core body temperature was maintained with the use of a homeothermic blanket and respiratory rate was visually monitored throughout. A laminectomy was performed to expose the L3-L5 segments of the spinal cord; mineral oil was then applied to prevent dehydration. Extracellular recordings were made from deep dorsal horn wide dynamic range (WDR) lamina V/VI neurons with receptive fields on the glabrous skin of the toes using 125 μm 2 MΩ glass-coated tungsten electrodes (Microelectrodes Ltd, Cambridge, UK). Searching involved light tapping of the hind paw whilst manually moving the electrode. All recordings were made at depths delineating the deep dorsal horn laminae, and were classified as WDR on the basis of neuronal sensitivity to dynamic brushing (i.e. gentle stroking with a squirrel-hair brush), and noxious punctate mechanical (15 g) and heat (48°C) stimulation of the receptive field. The receptive field was then stimulated using a wider range of natural stimuli (brush, von Frey filaments – 1, 4, 8 and 15 g and heat – 32, 42, 45 and 48°C) applied over a period of 10 s per stimulus and the evoked response quantified. The heat stimulus was applied with a constant water jet onto the center of the receptive field. Ethyl chloride (25 μl) was applied to the receptive field as an evaporative noxious cooling stimulus. Evoked responses to room temperature water (25°C) were subtracted from ethyl chloride evoked responses to control for any concomitant mechanical stimulation during application. Natural stimuli were applied starting with the lowest intensity stimulus with approximately 40 s between stimuli in the following order: brush, von Frey, cold, heat. Receptive fields were determined using a 15 g von Frey. An area was considered part of the receptive field if a response of >30 action potentials over 5 s was obtained. A rest period of 30 s between applications was used to avoid sensitization. Receptive field sizes are expressed as a percentage area of a standardized paw measured using ImageJ (NIH, Bethesda, MD). Electrical stimulation of WDR neurons was delivered transcutaneously via needles inserted into the receptive field after determining responses to natural stimuli. A train of 16 electrical stimuli (2 ms pulses, 0.2 Hz or 0.5 Hz) were applied at three times the threshold current for C-fiber activation. Responses evoked by A- (0–50 ms) and C-fibers (50–250 ms) were separated and quantified on the basis of latency. Neuronal responses occurring after the C-fiber latency band were classed as post-discharge (PD). The input (I) and the wind-up (WU) were calculated as: Input = (action potentials evoked by first pulse) × total number of pulses (16), wind-up = (total action potentials after 16 train stimulus) − Input. The signal was amplified (x6000), bandpass filtered (low/high frequency cut-off 150/2000 Hz) and digitized at rate of 20 kHz. Data were captured and analyzed by a Cambridge Electronic Design 1401 interface coupled to a computer with Spike2 software v4 (CED, Cambridge, UK) with post-stimulus time histogram and rate functions. One to three neurons were characterized per mouse; in total, 21 neurons were characterized from 15 WT mice, 20 neurons from 14 NCX3HET mice, and 20 neurons from 13 NCX3HOM mice. In vivo electrophysiological procedures were non-recovery; at the end of experiments mice were terminally anesthetized with isoflurane. In vivo electromyographic (EMG) recordings to assess the flexion reflex. Adult female and male WT and NCX3HOM (n = 5/group) were used for the flexion reflex recordings. Two standard stainless steel needle recording electrodes (Digitimer, UK) were inserted in the ipsilateral biceps femoris muscle. Sequences of 16 single shocks at 3.2 mA electrical stimulation (DS3 isolated current stimulator, Digitimer, UK) (4ms duration each) were delivered to the mouse paw, using stimulation electrodes that were placed in plantar glabrous skin. Electrical stimulation was delivered at 0.2Hz, 0.5Hz and 1Hz. Data acquisition was performed at Lab Chart 7 software (ADInstruments, New Zealand) and analysis at Spike 2 software (CED, UK) and Prism 9 (GraphPad, USA). The afferent fiber responses to the wind-up protocol were segregated based on conduction velocities (Αβ: 20-100 m/s, Aδ: 2-20 m/s, C: 0.05-2 m/s). The plots depict the number of spikes elicited after each sequential electrical shock. All values represent mean ± SEM. Two-way ANOVA followed by Sidak’s post-hoc test, and non-linear regression analysis were used to compare the responses between wild type and NCX3 knockout mice, ∗p < 0.05.

Cloning Cloning of NCX3-isoform B into an AAV vector was performed using the In Fusion® Cloning kit (Takara Bio). We used pAAV CAG-GFP viral vector (Addgene, Cat# 37825) as the host plasmid, as well as an insert amplified from NCX3-B vector (Origene, Cat# MR211189). In short, we linearized the host plasmid using restriction enzymes BamHI and EcoRI (NEB). The resulting linearized vector was then gel purified. In parallel to this, the NCX3 insert was amplified from its original plasmid using the following primers: Forward: GCAAAGAATTGGATCCGCCACCATGGCGTGGTTA, Reverse: GCTTGATATCGAATTCTTAAACCTTATCGTCGTCATCCTTG. We included 15bp-long overhangs, which were homologous to the ends of the linearized host vector. We also added a Kozak sequence (GCCACC) at the start of NCX3 before its original start codon. The resulting NCX3-B amplicon, containing the homologous overhangs and the Kozak sequence, was then gel purified. The host plasmid and the insert were then mixed into an In Fusion cloning reaction as described by the manufacturer. The product of the cloning reaction was then used for bacterial transformation using the E coli provided by the manufacturer. After the initial screening of the bacterial colonies, their DNA was extracted using Mini prep kit (Quigen) and sequenced by Source Bioscience Oxford UK. The produced plasmid was then amplified further using MaxiPrep kit (Qiagen) and sent for virus production at the Viral Vector Facility of the Neuroscience centre in Zurich (University of Zurich, UZH). The viruses used in the current study are: ssAAV-1/2-shortCAG-mSlc8a3_myc_FLAG-WPRE-SV40p(A), capsid 1 (custom-made) and ssAAV-1/2-shortCAG-EGFP-WPRE-SV40p(A), capsid 1 (Cat# v587-1).

Cell culture Human embryonic kidney 293 (HEK293) cells were cultured in Dulbeccos’s modified Eagles’s medium with 10% fetal calf serum (TCS Cellworks Ltd) in 24-well plates at 37°C. For the AAV test experiment, HEK cells were incubated in medium containing 4 μL/ml AAV (stock – 8.5x10ˆ12 vector genomes/mL) for 48 h. On the day of collection, cells were washed with PBS and fixed with 4% PFA for 15 min. This was followed by immunocytochemistry, as described above. For Ca2+ imaging experiments, cells were transfected with either mCherry or NCX3 plasmids, using the Jet PEI reagent (PolyPlus Transfection), following manufacturer’s instructions. Ca2+ imaging was performed 24 h post-transfection as described previously. ECF was perfused continuously over the cells. After 60 s of baseline recording, the cells were perfused with ECF, containing1μM Ionomycin for 30 s. This was followed by a 120 s washout.

RNA extraction and quantitative real time PCR For RNA extraction, mice were sacrificed in a CO 2 chamber. Their DRGs, spinal cord and brain were dissected and snap-frozen in liquid nitrogen, followed by storage at -80oC. On the day of extraction, tissue was mechanically homogenized in Tripure (Roche), treated with chloroform and then subjected to column purification, using a High Pure RNA Tissue kit (Roche). RNA was the eluted in RNAse-free water. cDNA was produced using Transcriptor reverse transcriptase (Roche), random hexamers (Invitrogen) and dNTPs (Roche). Michel et al., 2014 Michel L.Y.M.

Verkaart S.

Koopman W.J.H.

Willems P.H.G.M.

Hoenderop J.G.J.

Bindels R.J.M. Function and regulation of the Na+-Ca2+ exchanger NCX3 splice variants in brain and skeletal muscle. mRNA expression of NCX3 was achieved using SYBR green. DRG, spinal cord and brain cDNA (5ng) and primers (0.5mM) were added to LightCycler 480 SYBR Green Master mix (Roche) in a 1:1 ratio. 384 well plates (Roche) were then run on a 45 cycle protocol as described by. Primer efficiency and specificity were validated before experimental use. Gene expression was validated against GAPDH as a housekeeping gene, using the delta CT method. Primer sequences are as follows (): NCX3-AC_F – GGGCCCCCGCATGGTGGATA, NCX3-AC_R – CAGCTTCCTGTCTGTCACTTCTGGA, NCX3-B_F - GCATATGGGGAGCTGGAGT, NCX3-B_R – GTTCACCAAGGGCAATGAAG.