You are on page 1of 9

Brief Communication

https://doi.org/10.1038/s41593-019-0422-3

Thermal constraints on in vivo optogenetic


manipulations
Scott F. Owen1,7, Max H. Liu   2,3,7 and Anatol C. Kreitzer   1,3,4,5,6*

A key assumption of optogenetics is that light only affects expression, light delivery through an optical fiber reversibly sup-
opsin-expressing neurons. However, illumination invariably pressed spiking activity in MSNs. This suppression was statistically
heats tissue, and many physiological processes are tem- significant at the population level for both the lower (3 mW) and
perature-sensitive. Commonly used illumination protocols higher (15 mW) light powers, but was most evident at the higher
increased the temperature by 0.2–2 °C and suppressed spik- light power (Fig. 1c,d; Supplementary Fig. 1c–f).
ing in multiple brain regions. In the striatum, light delivery We considered several explanations for this suppression of activ-
activated an inwardly rectifying potassium conductance and ity, including physiological responses to local heating of brain tissue
biased rotational behavior. Thus, careful consideration of and sensory responses to light detection at the back of the retina.
light-delivery parameters is required, as even modest intra- To rule out the latter possibility, we tested whether equivalent physi-
cranial heating can confound interpretation of optogenetic ological responses could be detected in an acute-slice preparation.
experiments. We obtained whole-cell recordings from MSNs in acute slices from
Light delivery into living brain tissue is critical for many neu- wild-type mice using a potassium-based internal solution (Fig. 1e).
roscience assays, including optogenetic manipulations and fluo- A current injection through the recording pipette elicited spiking
rescence imaging. These approaches assume that the light does in MSNs, which are otherwise quiescent (Fig. 1f). In agreement
not directly affect neuronal physiology. However, experimental with the in  vivo results, light delivery through an optical fiber at
measurements and modeling calculations1,2 have described heating low power (3 mW) caused a modest drop in firing rate, while
of 0.2–2 °C following sustained illumination of brain tissue using higher power (15 mW) more markedly reduced spiking (Fig. 1g,h;
commonly used light powers (3–30 mW). Many neuronal circuit Supplementary Fig. 1g–i).
processes are temperature-dependent3, including ion channel con- To investigate whether this suppression of activity is specific to
ductance4 and synaptic transmission5,6. Notably, changes in temper- MSNs, we repeated this experiment in other cell types in the hip-
ature have been used to alter neuronal physiology in the cortex of pocampus and cortex. Spiking activity in CA1 pyramidal neurons
rodents1 and in the HVC area in songbirds7. In ex vivo brain-slice was unaffected by light, while dentate gyrus granule cells and cor-
recordings, illumination-induced heating is reported to generate tical layer 5 (L5) pyramidal neurons were modestly suppressed
changes in spiking across various brain regions8, which raises the (Fig. 1i–l; Supplementary Fig. 1j–o). The suppression of cortical
possibility that temperature changes occurring during in vivo opto- pyramidal neurons was surprising, as previous reports have indi-
genetic manipulations could have both electrophysiological and cated that light-driven temperature changes increase cortical activ-
behavioral consequences. ity in  vivo1. To reconcile these results, we recorded fast-spiking
Here we explicitly test this assumption through ex vivo record- interneurons (FSIs) from L5 of cortex, which were identified by nar-
ings of mouse striatum, hippocampus, and cortex slices, as well row action-potential waveforms. The suppression of cortical FSIs
as through in  vivo recordings in the mouse striatum. Our results was stronger than that of neighboring pyramidal neurons (Fig. 1k,l;
indicate that continuous illumination at powers commonly used for Supplementary Fig. 1m–o), which suggests that the light-driven
optogenetic experiments (10–15 mW) markedly suppresses the fir- elevation of cortical neuron activity reported in  vivo1 may arise
ing rates of specific cell types across a range of brain regions, even in from disinhibition through the suppression of neighboring inhibi-
the absence of opsin expression. Experiments in medium spiny neu- tory interneurons.
rons (MSNs), the principal neurons in the striatum, demonstrate We hypothesized that these responses to light delivery could
that this light-induced suppression of spiking can be reproduced by arise from local heating of brain tissue. We therefore acutely
direct heating of brain tissue and results from the activation of an inserted a miniaturized thermocouple probe in place of the record-
inwardly rectifying potassium conductance. Finally, illumination of ing electrode in vivo. As predicted by measurement and modeling
the striatum in freely moving mice produces a rotational bias, which in other brain regions1,2, light delivery caused a transient increase in
demonstrates that light alone may be sufficient to affect behavior in temperature of up to 2 °C (Fig. 2a,b; Supplementary Fig. 2a). The
the absence of opsin expression. time-course of this temperature change, when fitted with a single
To test how light delivery affects the activity of striatal MSNs exponential (Fig. 2b), closely matched with the decrease in MSN
in  vivo, we performed acute single-unit recordings in the dorsal firing (Fig. 2c). Temperature changes in the slice were also graded
striatum of awake, head-fixed, wild-type mice (Fig. 1a,b). Putative by light power (0.2–1 °C), and this closely matched with the out-
MSNs were distinguished from other cell types based on waveform ward currents measured in MSNs held at −50 mV using a potas-
(Supplementary Fig. 1a,b). Despite the lack of opsin or fluorophore sium-based internal solution (Fig. 2d–g).

Gladstone Institutes, San Francisco, CA, USA. 2Medical Scientist Training Program, University of California, San Francisco, San Francisco, CA, USA.
1

3
Neuroscience Graduate Program, UCSF, San Francisco, CA, USA. 4Department of Neurology, UCSF, San Francisco, CA, USA. 5UCSF Weill Institute for
Neurosciences, UCSF, San Francisco, CA, USA. 6Department of Physiology, UCSF, San Francisco, CA, USA. 7These authors contributed equally:
Scott F. Owen, Max H. Liu. *e-mail: anatol.kreitzer@gladstone.ucsf.edu

Nature Neuroscience | www.nature.com/natureneuroscience


Brief Communication Nature Neuroscience

a b c d
0.5 15 mW 1
532 nm

Firing rate (z-score)


Recording

Modulation index
electrode
0 ***

0
***
–0.5

–1

n = 99
–1.5 –1
250 µm 3 15
–5 0 5 10
Time (s) Light power (mW)

e f g 20 h
15 mW 15 mW 1.5
**

Normalized spike rate


Optical
fiber
**

Spike rate (Hz)


1
10
0.5

0 0
0 1.0 2.0 3.0

t
st
gh
Pr

Po
Time (s)

Li
i CA1 pyramidal j DG granule cells k Cortical pyramidal l Cortical FSI
1.5 NS 1.5 1.5 1.5
NS NS **
**
Normalized spike rate

Normalized spike rate


Normalized spike rate

Normalized spike rate

* * ***
1 1 1 1

0.5 0.5 0.5 0.5

0 0 0 0
e

e
e
t
st

t
st

t
st
t
st
gh
Pr

gh

gh
gh
Pr

Pr
Pr
Po

Po

Po
Po
Li

Li

Li
Li

Fig. 1 | Light delivery suppresses MSN activity in vivo and in acute slices. a,b, Schematic of the recording (a) and electrode configuration (b) for acute,
in vivo head-fixed recordings from awake mice. c,d, Mean peri-stimulus aligned firing rate of MSNs in response to 15 mW of 532 nm light (c) and the
corresponding population average of the modulation index (d). Two-sided signed-rank test was used to compare each distribution against zero (n = 3 mice,
99 MSNs; P = 6.57 × 10−7 for 3 mW, P = 6.84 × 10−18 for 15 mW). e, Configuration for acute slice whole-cell recordings. f, Exemplar current-clamp recording
with spiking elicited by current injection. Light was delivered at 15 mW, 532 nm through an optical fiber. g,h, Mean suppression of spiking by light
delivery for light on (green) or light off (black) traces. Two-sided signed-rank test; n = 2 mice, 11 cells; P = 0.002 (Pre versus Light) and P = 0.010 (Light
versus Post). i–l, Firing rates for CA1 pyramidal neurons (n = 6 mice, 10 cells; P = 0.375 (Pre versus Light) and P = 0.432 (Light versus Post)), dentate gyrus
(DG) granule cells (n = 5 mice, 9 cells; P = 0.012 (Pre versus Light) and P = 0.098 (Light versus Post)), cortical L5 pyramidal neurons (n = 5 mice,
15 cells; P = 0.026 (Pre versus Light) and P = 0.008 (Light versus Post)), and cortical L5 FSIs (n = 8 mice, 13 cells; P = 0.001 (Pre versus Light) and P = 0.001
(Light versus Post)) in response to light delivery at 15 mW, 532 nm. All tests were two-sided signed-rank tests. *P < 0.05, **P < 0.01, ***P < 0.001; NS, not
significant. All error bars and shaded regions represent the s.e.m.

To test whether a temperature change was sufficient to elicit and duration at which we began to observe physiological effects in
this outward current, we established a system to locally and rap- wild-type MSNs (Fig. 1; 3 mW for 1 s). High light powers (≥30 mW)
idly change the temperature in acute slices. We used a small copper caused minimal heating if pulse durations were shorter than 100 ms.
tube perfused with hot, warm, or cold water (Fig. 2h), and the mea- However, long periods of continuous light, as are commonly used
sured temperature changes were +1.92 °C (hot), +0.89 °C (warm), for optogenetic inhibition, caused significant heating even at mod-
or −2.82 °C (cold) (Fig. 2i). Whole-cell recordings measured the est powers (3–5 mW). This model efficiently describes how changes
physiological consequences of this temperature change in MSNs in duty cycle, pulse frequency, and wavelength affect temperature
voltage-clamped at −50 mV with a potassium-based internal solu- during single light pulses and during pulse trains (Supplementary
tion. Warming the slice elicited a graded outward current with a Figs. 2d,e and 3).
time-course that tracked the temperature change, while cooling of To characterize the physiology of this light-evoked current,
the slice reduced this outward current (Fig. 2j). The relationship we performed whole-cell voltage-clamp recordings in which we
between temperature and current was strikingly linear, which sug- varied the holding potential of MSNs to between −140 mV and
gests that there is temperature-dependent modulation of a tonically −50 mV (Fig. 2m–o). Consistent with activation of a potassium
active current (Fig. 2k). conductance, the current reversed at −93 mV and showed a strik-
To better understand the relationship between light delivery and ing inward rectification (Fig. 2o). This light-induced current was
heating, we used a recently published model1 to predict the local almost entirely abolished in MSNs recorded using a cesium-based
temperature changes as a function of light power and pulse dura- internal solution (Fig. 2p). Furthermore, in MSNs recorded with a
tion (Fig. 2l). This plot includes a ‘threshold’ line at a temperature potassium-based internal solution, the light-induced current was
change of approximately 0.1 °C, which corresponds to the intensity sensitive to the application of BaCl2 (250 μM) in the bath solution

Nature Neuroscience | www.nature.com/natureneuroscience


Nature Neuroscience Brief Communication
a b d e f g
Temperature (in vivo) Temperature (slice) Whole-cell current
Light on Light on Light on
40
Thermo- ***
532 nm τ = 1,080 ms couple
Thermo- Optical 0.2 °C 5 pA
couple fiber 500 ms
0.2 °C

Current (pA)
500 ms
500 ms 15 mW 20
c 15 mW
MSN firing (in vivo)
Spike rate (z-score)
0 500 ms
Whole
cell 3 mW
–0.5 3 mW 0
3 mW 15 mW
–1
τ = 1,097 ms

h i Temperature j Whole-cell current k l


Temperature-
Hot Hot 10
controlled

Peak temperatre change (°C)


2 50
R = 0.9576
water
Thermo- 1
couple
Temperature (°C)
Warm Warm 0.1
–3 –2 –1 1 2
30 mW
0.01 15 mW

Current (pA)
Cold Cold –50 7 mW
Whole 0.001 3 mW
Recirculation cell 1.5 mW

1 °C –100
20 pA 0.01 0.1 1 10 100
2s
2s Light duration (s)

m n Light on o p r
Light on **
20 Holding
potential (mV)
Cs+ internal

Fraction residual current


Light-induced current (pA)

Whole 1
–140 –100
Optical cell 0 q Light on
fiber –60
–50 mV 5 pA
–65 mV –20 200 ms
0.5
–80 mV
–95 mV
10 pA –40
–110 mV
200 ms Baseline
–125 mV 0
K+ internal BaCl2
–140 mV –60 Sham BaCl2

Fig. 2 | Light-induced heating increases an inwardly rectifying potassium conductance in MSNs. a, Configuration for in vivo head-fixed temperature
measurements and physiology. b, The temperature increase in vivo fitted to a single exponential (broken line; n = 1 mouse). c, Time-course of the decrease
in mean MSN firing rate (in vivo) fitted to a single exponential (broken line). Same data as in Fig. 1c (n = 3 mice, 99 MSNs). d, Configuration for whole-cell
recordings or temperature measurements in acute slices. e,f, Exemplar temperature change (e) and average whole-cell current (f) in exemplar MSNs
held at −50 mV with potassium-based internal solution. Light delivery was at 3 mW or 15 mW, 532 nm. g, Group data for light-evoked current in MSNs
(n = 2 mice, 9 cells for 3 mW; n = 2 mice, 10 cells for 15 mW; two-sided rank-sum test, P = 4.33 × 10−5). h, Configuration for whole-cell recordings with
temperature modulation. i,j, Temperature changes (i) and exemplar whole-cell currents (j) in wild-type MSNs recorded in voltage-clamp mode with
potassium-based internal solution. k, Linear relationship between temperature change and current (n = 2 mice, 7 cells for −2.82 °C; n = 2 mice, 7 cells
for +0.89 °C; n = 2 mice, 10 cells for +1.92 °C). l, Modeled temperature changes predicted for this recording configuration1. m–o, Recording configuration
(m), exemplar traces (n) and group data (o) for the voltage sensitivity of light-activated currents (n = 2 mice, 8 cells). Colors for o are the same as in
n. p, Exemplar light-activated current recorded at −50 mV with cesium-based internal solution (n = 2 mice, 10 cells). Light off in black, light on in green.
q, Exemplar light-activated current recorded at −50 mV with potassium-based internal solution before (green) and after (purple) application of 250 μM
BaCl2 in the bath solution. r, Group data for BaCl2 sensitivity of light-activated conductance (n = 2 mice, 7 cells for sham-treated mice; n = 2 mice, 6 cells
for BaCl2-treated mice; two-sided rank sum test, P = 0.001). **P < 0.01, ***P < 0.001. All error bars and shaded regions represent the s.e.m.

(Fig. 2q,r). These results are most consistent with activation of an increase that rapidly reached an intensity-dependent plateau
inwardly rectifying potassium (Kir) channel (Fig. 2d–r). Together, (Supplementary Fig. 2f). These data suggest that the illumination
our data indicate that light delivery in the striatum using commonly used for photometry experiments should be maintained at less than
applied experimental parameters can heat brain tissue sufficiently 0.25 mW average power to avoid temperature-dependent changes in
to alter MSN activity through activation of an inwardly rectifying physiological activity.
potassium conductance, leading to the suppression of firing in the Finally, we tested whether this light-driven suppression of
absence of opsin expression. MSNs can affect animal behavior (Fig. 3; Supplementary Fig. 4).
In contrast to the brief pulses of high-intensity illumination used We implanted optical fibers into the dorsal striatum of wild-type
in optogenetics, imaging experiments often require lower inten- mice and delivered light unilaterally, using automated post hoc
sity illumination for longer durations, spanning minutes to hours. tracking to monitor body position. Light delivery reversibly biased
Cortical heating during high-intensity multiphoton illumination rotations in a direction that was ipsilateral to the illumination,
has been described in some detail9. Therefore, we explored the which is consistent with the suppression of striatal network activity
temperature changes resulting from long-duration, low-intensity (Fig. 3; Supplementary Fig. 4). Light-driven, opsin-independent
illumination through optical fibers, such as those used for fiber suppression of the striatum can therefore affect behavioral as well
photometry experiments. This revealed a modest temperature as physiological results.

Nature Neuroscience | www.nature.com/natureneuroscience


Brief Communication Nature Neuroscience

a b Light on Several factors can minimize light delivery while preserving the
activation of opsins. Excitatory opsins such as channelrhodopsin-2
0.5 °C express well within ~2 weeks of virus injection, whereas inhibitory
1s opsins such as eNpHR3.0 or eArchT can take as long as 6–8 weeks to
develop significant photocurrents in response to modest illumina-
tion because of limited membrane trafficking13. Any apparent physi-
ological responses to light that occur before opsin expression is fully
3 mW 15 mW
7 mW 15 mW 20 Hz developed should be clearly treated with caution.
Careful consideration of the time-course of light-driven
c Pre Light Post 10 s responses can help to differentiate opsin-driven effects from opsin-
independent experimental artifacts. The time constants with which
Light on Light off Light on optogenetic proteins alter neuronal activity are on the order of ones
to tens of milliseconds. This is true for direct optogenetic excitation
d 1
NS
of neuronal populations14 and for indirect synaptic disinhibition
Contralateral *** ***
NS arising from optogenetic silencing of inhibitory neuronal popula-
** ***
tions15,16. By contrast, the time constant for the heating of neuro-
Normalized rotations

nal tissue with light is markedly slower1,2 (Fig. 2a–f; Supplementary


0 Fig. 2a–c). Physiological responses that develop slowly, over hun-
dreds of milliseconds or seconds, should therefore be suspected
of arising from local heating of tissue rather than a direct opsin-
dependent physiological process. In these cases, we suggest that a
Ipsilateral higher bar ought to be met by the experimenter to describe a mech-
–1 anism to reconcile the time-course of the optogenetic manipulation
with the time-course of the physiological response and to establish
e

e
e

t
t

t
st

st

st

st
gh
gh

gh

gh
Pr

Pr
Pr

Pr
Po

Po

Po

Po
Li
Li

Li

Li

3 mW 7 mW 15 mW 15 mW 20 Hz the rigor of opsin-independent control experiments. The continu-


ously growing toolbox of opsins with altered spectral sensitivity17
Fig. 3 | Light delivery in the dorsal striatum drives rotational behavior. or kinetics18 opens the door for use of lower light powers or longer
a. Video frame illustrating body position tracking. b, Modeled temperature wavelengths that generate less heat (Supplementary Fig. 2e). New
change1 for continuous or pulsed light delivery at 532 nm. The duty technologies, including tapered fibers, waveguides, and micro light-
cycle was 20% for pulsed light. c, Light delivery protocol for open-field emitting diodes (LEDs) that spread light more evenly across the
behavioral tests. d, Mean rotational bias in response to light delivery. tissue, also support more efficient and homogeneous opsin activa-
Two-sided signed-rank test (n = 11 mice, 2 hemispheres per mouse, tion across larger brain structures19,20, which should help mitigate
n = 22 sessions per condition). For 3 mW, P = 0.37 (Pre versus Light) and artifacts arising from tissue heating.
P = 0.66 (Light versus Post). For 7 mW, P = 2.7 × 10−3 (Pre versus Light)
and P = 3.9 × 10−4 (Light versus Post). For 15 mW, P = 2.3 × 10−4 (Pre versus Online content
Light) and P = 1.1 × 10−5 (Light versus Post). For 15 mW at 20 Hz, P = 0.94 Any methods, additional references, Nature Research reporting
(Pre versus Light) and P = 0.06 (Light versus Post). **P < 0.01, ***P < 0.001. summaries, source data, statements of code and data availability and
All error bars and shaded regions represent the s.e.m. associated accession codes are available at https://doi.org/10.1038/
s41593-019-0422-3.

The conductance of several potassium channel subtypes is tem- Received: 16 November 2018; Accepted: 8 May 2019;
perature-dependent4. Thermosensitivity has been suggested for Kir Published: xx xx xxxx
channels based on their structural homology to thermosensitive
transient receptor potential channels10. Moreover, sensitivity to References
1. Stujenske, J. M., Spellman, T. & Gordon, J. A. Cell Rep. 12, 525–534 (2015).
barium or cesium is a primary hallmark of Kir channels (Fig. 2j–l). 2. Arias-Gil, G., Ohl, F. W., Takagaki, K. & Lippert, M. T. Neurophotonics 3,
In our recordings, light-mediated suppression of spiking correlated 045007 (2016).
with brain regions that express Kir channels, including the dentate 3. Yizhar, O., Fenno, L. E., Davidson, T. J., Mogri, M. & Deisseroth, K. Neuron
gyrus, cortex, and striatum, but not the CA1 pyramidal neurons in 71, 9–34 (2011).
4. Yang, F. & Zheng, J. eLife 3, e03255 (2014).
the hippocampus11. We therefore suggest that the light-activated 5. Moser, E., Mathiesen, I. & Andersen, P. Science 259, 1324–1326 (1993).
potassium current described here most likely arises from the tem- 6. Sabatini, B. L. & Regehr, W. G. Nature 384, 170–172 (1996).
perature-dependent modulation of Kir channels. 7. Long, M. A. & Fee, M. S. Nature 456, 189–194 (2008).
Our experiments indicate that light-driven temperature changes 8. Ait Ouares, K., Beurrier, C., Canepari, M., Laverne, G. & Kuczewski, N.
can reduce the firing rates of many types of neurons and that the Eur. J. Neurosci. 49, 6–26 (2019).
9. Podgorski, K. & Ranganathan, G. J. Neurophysiol. 116, 1012–1023 (2016).
magnitude of this effect is sufficient to affect behavior. With this in 10. Yang, F., Cui, Y., Wang, K. & Zheng, J. Proc. Natl Acad. Sci. USA 107,
mind, we suggest the following two considerations when designing 7083–7088 (2010).
experiments: minimization of light power and duration, and care- 11. Prüss, H., Derst, C., Lommel, R. & Veh, R. W. Brain Res. Mol. Brain Res. 139,
ful control experiments that account for off-target effects of light 63–79 (2005).
delivery3,12. These control experiments should consist of opsin-free 12. Allen, B. D., Singer, A. C. & Boyden, E. S. Learn. Mem. 22,
232–238 (2015).
controls, in which light is delivered but no opsin is present, and 13. Gradinaru, V. et al. Cell 141, 154–165 (2010).
light-free controls, in which the opsin is expressed but light is not 14. Pi, H.-J. et al. Nature 503, 521–524 (2013).
delivered12. Importantly, the efficiency of optical fiber implants, the 15. Mattis, J. et al. Nat. Methods 9, 159–172 (2012).
power and duration of light delivery, and the quality of the surgical 16. Owen, S. F., Berke, J. D. & Kreitzer, A. C. Cell 172, 683–695.e15 (2018).
17. Lin, J. Y., Knutsen, P. M., Muller, A., Kleinfeld, D. & Tsien, R. Y.
preparation must be identical for all control animals. Blinding of
Nat. Neurosci. 16, 1499–1508 (2013).
the experimenter to the identity of animals during surgical prepara- 18. Berndt, A., Yizhar, O., Gunaydin, L. A., Hegemann, P. & Deisseroth, K.
tion and performance of experiments can help ensure the rigor of Nat. Neurosci. 12, 229–234 (2009).
these procedures. 19. Pisanello, F. et al. Nat. Neurosci. 20, 1180–1188 (2017).

Nature Neuroscience | www.nature.com/natureneuroscience


Nature Neuroscience Brief Communication
20. Steude, A., Witts, E. C., Miles, G. B. & Gather, M. C. Sci. Adv. 2, Competing interests
e1600061 (2016). The authors declare no competing interests.

Acknowledgements
The authors thank B. Margolin for assistance with genotyping, histology, and microscopy, Additional information
and members of A.C.K.’s laboratory for comments on the manuscript. This work was Supplementary information is available for this paper at https://doi.org/10.1038/
funded by NIH R01 NS078435 and RF1 AG047655 (to A.C.K.), a NARSAD Young s41593-019-0422-3.
Investigator Award (to S.F.O.), F32 NS083369 (to S.F.O.) and K99 MH110597 (to S.F.O.),
Reprints and permissions information is available at www.nature.com/reprints.
and RR018928 (to the Gladstone Institutes).
Correspondence and requests for materials should be addressed to A.C.K.
Author contributions Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in
S.F.O., M.H.L., and A.C.K. designed the experiments. S.F.O. and M.H.L. performed the published maps and institutional affiliations.
experiments and analyzed the data, and all authors wrote the manuscript. © The Author(s), under exclusive licence to Springer Nature America, Inc. 2019

Nature Neuroscience | www.nature.com/natureneuroscience


Brief Communication Nature Neuroscience

Methods at −1.0 AP, 2.0 ML, −3.0 DV, and angled at 30° from the vertical in the posterior
Experimental model and subject details. Adult mice (n = 52) on a C57BL/6 direction to ensure ~1 mm of distance between the fiber tip and the thermocouple.
background, aged 45–250 days, of both sexes were used in experiments. All Craniectomy sites were the same as for recordings.
animals were group-housed and maintained on a 12 h light–12 h dark cycle and Mice were allowed to recover for 2 weeks then acclimated to head fixation
fed ad libitum. Wild-type mice (2 female, 1 male; Jackson stock no. 000664) were as described above. Following acclimation, a craniectomy site was made over
used for the in vivo electrophysiology experiments. Wild-type mice (2 female, 2 marked areas, and animals were recorded from the following day. Temperature
male; Jackson stock no. 000664) were used for the in vivo temperature recording recordings were performed with the acquisition system Omega DAQ (model
experiments. Wild-type mice (12 males, 17 females; Jackson stock no. 000664) 2401) coupled to a T-type hypodermic thermocouple (Physitemp, MT 29/5)
were used in the slice electrophysiology experiments. PV-2A-Cre mice (5 female; using the software Omega DAQ Central v.1.0.7. The thermocouple was coated
Jackson stock no. 012358) were used for the in vivo optogenetic suppression of in CM DiI (ThermoFisher) to mark the tract and was inserted acutely using a
FSIs. Wild-type mice (4 female, 7 male; Jackson stock no. 000664) were used for micromanipulator. After allowing the temperature to stabilize, the temperature
the open-field behavioral experiments. changes in response to laser illumination were recorded. Each laser power was
Sample sizes for physiological recordings were determined based on previously delivered 30 times, with 5-s pulse durations and 20-s intervals between the onset of
published studies1,13,14,16, and statistical significance was calculated using post hoc laser pulses.
tests. Recordings were performed in a standardized way to minimize the possibility
of experimenter bias. The age and sex of the mice were balanced across cohorts, Acute slice physiology. Wild-type mice (8–24 weeks of age) were killed with a
and littermates were used for fluorophore control experiments. lethal dose of ketamine and xylazine followed by transcardial perfusion with 8 ml
of ice-cold artificial corticospinal fluid (ACSF) containing (in mM): NaCl (79), KCl
Stereotactic surgery. All procedures were carried out in accordance with protocols (2.3), NaHCO3 (23), sucrose (68), NaH2PO4 (1.1), MgCl2 (6), d-glucose (12), and
approved by the UCSF Institutional Animal Care and Use Committee. Experiments CaCl2 (0.5). Coronal slices (250-μm thick) containing the dorsal striatum, primary
were carried out during the light cycle. All surgeries were carried out under aseptic sensory cortex, or dorsal hippocampus were then prepared using a vibratome
conditions while mice were anesthetized with isoflurane (3% for induction, (Leica) in the same solution before incubation at 33 °C in ACSF containing (in
0.5–1.5% for maintenance) in a manual stereotactic frame (Kopf). Buprenorphine mM): NaCl (125), NaHCO3 (26), NaH2O4 (1.25), KCl (2.5), MgCl2 (1), CaCl2
HCl (0.1 mg per kg, intraperitoneal injection) and ketoprofen (5 mg per kg, (2), and d-glucose (12.5), continuously bubbled with 95% O2/5% CO2. After
subcutaneous injection), were used for postoperative analgesia. 30–60 min of recovery at 35 °C, slices were kept at room temperature until
recording. For recordings, slices were transferred to a chamber superfused with
Headbar implantation. Wild-type mice were prepared for in vivo, awake head- recording ACSF (4–6 ml min−1) at 28 °C.
fixed recordings by the surgical implantation of a headbar. Animals were mounted Whole-cell current-clamp recordings were obtained with an internal solution
on a stereotax and anesthesia was induced as described above. The overlying scalp containing (in mM): k-gluconate (135), NaCl (10), MgCl2 (2), ethylene glycol
was removed, and the skull was cleaned and exposed. A stainless steel headbar tetraacetic acid (EGTA; 0.5), HEPES buffer (10), Mg-ATP (2), and Na-GTP (0.3).
(eMachineShops, custom design) was then secured with a combination of dental Physiological activity was recorded using Igor Pro (v.6.0). Spiking activity was
adhesives (C&B Metabond, Parkell, Lang). After the dental adhesive had set, mice driven by injection of current steps of 3 s in duration through the recording pipette
were allowed to recover for at least 7 days before head fixation or recordings. with an inter-sweep interval of 10–60 s. The injection amplitude was chosen to
Head-fixed in vivo electrophysiology recordings. At least 3 days before drive spiking that was maintained throughout the 3-s current step (250–600 pA).
recording, animals were acclimated to a head fixation device, which consisted of On interleaved sweeps, green laser light (532 nm) was delivered through a 200-μm
a custom three-dimensional printed cylindrical running wheel (Evan Feinberg, optical fiber placed 500–800 μm from the recorded neuron at a power of either
custom design). The night before a recording session, animals were anesthetized 3 mW or 15 mW. Light pulses were 1 s in duration, spanning the middle 1 s of the
and mounted on a stereotax as described above. Craniectomy procedures were 3-s current step injection. To calculate group data for the spike rate modulation by
performed above the targeted recording area in the dorsal striatum (+1.0 anterior– light, the spike rate for each neuron during ‘light on’ trials was normalized to the
posterior (AP), ±2.0 medial–lateral (ML)) bilaterally and covered with silicone spike rate for the equivalent period during ‘light off ’ trials. The following three
elastomer (Body Double). Animals were then allowed to recover overnight separate periods were analyzed: Pre (0–1 s), Light (1–2 s), and Post (2–3 s after the
before recording. start of the current step). To identify cortical neuron cell types, each waveform
Extracellular recordings were performed using the data acquisition system was up-sampled tenfold using a spline fitting function in MATLAB (v.2014a)
Trodes (v.1.7.3, SpikeGadgets) and a 32-channel silicon probe (Cambridge before calculating an average spike waveform from that neuron. The spike width
Neurotech, ASSY-37 DBC-2-2, 2-shank probe with parallel electrodes, 9-mm was calculated as the full-width half-maximum value of the action potential peak
long, 250-μm inter-shank spacing, 16 sites per shank). A 200-μm, 0.39 numerical relative to the pre-spike baseline membrane potential. A clear bimodal distribution
aperture (NA) optical fiber was attached for light delivery (Thorlabs, FT200UMT, emerged to distinguish putative pyramidal neurons (width > 0.7 ms) from putative
flat cut, mounted 750 μm above the electrode sites, tip centered between the interneurons (width < 0.7 ms).
shanks). Laser light was generated by transistor–transistor logic (TTL) control of Whole-cell voltage-clamp recordings of light-activated currents were
a 532-nm diode-pumped solid-state laser (Shanghai Laser). Previously published performed using the same potassium-based internal solution in a set of neurons
data16 in Supplementary Fig. 2c were acquired using a combination of the that partially overlapped with the current-clamp recordings. For whole-cell
acquisition systems Trodes and Plexon (v.2.6). voltage-clamp recordings using a cesium-based internal solution, the internal
Animals were head-fixed and the craniectomy site was exposed. Masking recording solution contained (in mM): CsMeSO3 (135), NaCl (8), EGTA (0.5),
lights, consisting of two green LEDs (Sparkfun, COM-00105) were positioned HEPES (10), Mg-ATP (2), Na-GTP (0.3), and QX-314 (5). For all voltage-clamp
bilaterally 2-cm lateral to the head and illuminated throughout the experiment. recordings, MSNs were held at a resting potential of −85 mV between sweeps.
A bank of 36 white LEDs (Sparkfun, COM-0053) was positioned 15-cm anterior Membrane potentials were not corrected for junction potential. On each sweep,
and superior to the mouse head and illuminated throughout the experiment. the voltage was stepped to −50 mV for 3 s, and the light pulse (1 s in duration) was
Finally, aluminum blinding dividers were placed along the side of the head to delivered for the middle 1 s of the 3-s voltage step. The inter-sweep interval was
reduce visual stimulation due to light stimulation. The probe was then coated with 10–20 s. The current amplitude was measured across the following three separate
CM-DiI to facilitate post hoc reconstruction of the electrode track (ThermoFisher, time windows: Pre (0.75–1 s), Light (1.75–2 s), and Post (2.5–2.75 s after the start
V22888) and lowered through the craniectomy site under the control of a motorized of the voltage step). The light-induced current was calculated by subtracting the
micromanipulator (Siskiyou, MX1641L) until the electrodes were in the striatum average current amplitude over the Pre and Post periods from the average current
(minimum depth of 2 mm from the brain surface). The probe was allowed to settle over the Light period. This average was calculated separately for light-on and light-
for at least 30 min before recording. The recording sites centered on the dorsal off sweeps, and the final light-induced current for each cell was determined by
striatum at +1.0 AP, ±2.0 ML, −2.5 dorsal–ventral (DV) from the brain surface subtracting the light-off value from the light-on value.
Recordings were sampled at 30 kHz, band-pass filtered (300–6,000 Hz), and An equivalent protocol was used to calculate the I–V curve and rectification
analyzed for spiking activity. Single units were manually isolated, using peak of the light-activated current. The MSN was held at a resting potential of −85 mV
amplitude and principal components as variables, using the script MatClust with a potassium-based internal recording solution, and the voltage was stepped to
(SpikeGadgets). Electrode tracts were reconstructed post hoc using DiI varying holding potentials over a range from −140 mV to −50 mV for 3 s with the
fluorescence to confirm the recording location. light pulse (1 s in duration) delivered over the middle 1 s of the 3-s voltage step.
Light power was measured at the fiber tip before and after recordings For BaCl2 wash-in experiments, the inter-sweep interval was extended to 60 s.
(Thorlabs, PM-100D with S130C). Animals received 5 s of light at either 3 mW or Light-activated currents were recorded at a holding potential stepped to −50 mV
15 mW per trial, with a 15-s inter-stimulation interval. Light power was varied in with a potassium-based internal solution as described above. Recordings were
two sets of interleaved 50 trial blocks. maintained for at least 5 min after break-in to ensure recording stability before
introducing BaCl2 (250 μM) to the bath solution. Recordings were maintained
Head-fixed in vivo temperature measurement. Wild-type animals were prepared for at least 15–20 min following the application of BaCl2. The leak current was
for headbar surgery as described above, with the addition of a 200-μm, 0.39 NA measured as the average current over 250 ms before onset of the light, and
optical fiber (Thorlabs, FT200UMT, flat cut) chronically implanted into the brain was subtracted from each trace to account for the effects of BaCl2 on leak or
and affixed to the skull during headbar surgery. The optical fiber was implanted background conductance independent of its effect on the light-activated current.

Nature Neuroscience | www.nature.com/natureneuroscience


Nature Neuroscience Brief Communication
Temperature control in acute slices. A custom-designed system was constructed 15 mW (continuous), or 15 mW at 20 Hz (15 mW peak power, 10-ms pulse duration
to locally control the temperature in acute slices. A short length of copper tubing for a 20% duty cycle). Predicted temperature rises were based on a previously
was bent into a U-shape, and an additional copper extension was soldered to the published computer model1 for 532-nm light delivered 200-μm below the tip of a
end of the U to contact the slice. A peristaltic pump produced a recirculating flow 200-μm fiber. Continuous video recordings were acquired using a camera mounted
while solenoids were used to gate the source of temperature-controlled water inside above the arena, and were processed post hoc using DeepLabCut21.
the copper tubing. Controlled warming of the tubing was accomplished by rapidly
switching the flow from an in-line solution heater (Warner Instruments) to pass Data analysis for in vivo physiology. Putative MSNs were identified based on
through the copper tubing using TTL-gated solenoids (NResearch) to rapidly waveform and regularity of firing (minimum interspike interval coefficient of
switch fluid flow. Cooling was accomplished by rapidly switching the flow to a variation = 1.1, minimum peak-trough spike width = 0.5 ms).
source that passed through a short ~15-cm length of coiled copper tubing inside an The modulation index was calculated as follows:
ice bath immediately before entering the tubing that was in contact with the slice.
Modulation index = (R1 − R2) ∕ (R1 + R2)
Optogenetic silencing of FSIs in vivo. Data in Supplementary Fig. 2c were re-
analyzed from a previous publication16 to calculate the time-course of optogenetic where R1 represents the average firing rate during the entire duration of laser
responses using z-scored firing rates. To record single-unit electrophysiological illumination, and R2 represents the average firing rate for an equal period of time
activity from MSNs and FSIs in vivo during optogenetic silencing of FSIs in awake, immediately before laser illumination.
freely moving mice, we implanted multielectrode arrays into the striatum of PV-
2A-Cre mice. Under anesthesia during stereotactic surgery, the scalp was opened Data analysis for open-field behavior tests. Videos of the open-field tests were
and a hole was drilled in the skull (+0.5 to +1.5 mm AP, −2.5 to −1.5 mm ML first split into individual videos of each area using FFmpeg. Following this, they
from bregma). We injected 1,000 nl of adeno-associated virus (AAV5-EF1α-DIO- were processed using DeepLabCut, a machine-learning package that can perform
eNpHR3.0-YFP) using the coordinates +1.0 AP, ±2.2 ML, −2.5 DV from bregma in tracking of animal features21. Data in this paper were analyzed using a network
PV-2A-Cre mice (Jackson, stock no. 012358). Two skull screws were implanted in trained on 200 frames of recorded behavior run for 1 million training iterations.
the opposing hemisphere to secure the implant to the skull. Dental adhesive (C&B The network was trained to detect the tip of the nose, the base of each ear, and the
Metabond, Parkell) was used to fix the skull screws in place and coat the surface base of the tail. We then extracted the mean position of the two ears by averaging
of the skull. An array of 32 microwires (4 × 8 array, 35-μm tungsten wires, 150-μm the x and y coordinates of the ears, which we used as the center point of the mouse.
spacing between wires, 150–200-μm spacing between rows; Innovative Physiology) To determine total locomotion, we detected the change in position of the central
was combined with a 200-μm diameter optical fiber (Thorlabs, FT200UMT, flat point of the mouse across the entire session, and summed it by session.
cut) and lowered into the striatum (2.5-mm below the surface of the brain) and To determine the change in mouse speed at laser onset, we extracted speed traces
cemented in place with dental acrylic (Ortho-Jet, Lang Dental). After the cement of the mouse center point aligned to laser onset. To determine the direction of
dried, the scalp was sutured shut. Animals were allowed to recover for at least 7 the mouse, we generated a vector from the tail base to the center point. We then
days before striatal recordings were made. calculated the change in direction of the mouse for every laser trial. To determine
Voltage signals from each site on a 32-channel microwire array were recorded the rotations of the mouse, we wrote custom MATLAB code (Mathworks) that
in awake, freely moving mice in an open-field arena. Signals were band-pass filtered counted 90° rotations whenever a mouse changed its direction in one direction for
such that activity between 300 Hz and 6,000 Hz was analyzed as spiking activity. 90°. If the animal turned in the other direction for more than 45°, then rotation
These data were amplified, processed, and digitally captured using commercial tracking was reset for the new direction. Rotation times were defined as the frame
hardware and software (Plexon or SpikeGadgets). Single units were discriminated in which the animal completed 90° of rotation. Rotational analysis was performed
using principal component analysis (Plexon Offline Sorter or SpikeGadgets blinded to the side of laser illumination. From these rotations, we then calculated
MatClust). The following two criteria were used to ensure the quality of recorded rotational bias in the ipsilateral or contralateral direction during the analysis time
units: (1) recorded units smaller than 100 μV (~3 times the noise band) were periods by the formula:
excluded from further analysis and (2) recorded units in which more than 1% of
Rotational bias = (CR − IR) ∕ (CR + IR)
interspike intervals were shorter than 2 ms were excluded from further analysis. FSIs
and MSNs were distinguished based on the waveform and firing rate, as previously where CR represents contralateral rotations and IR represents ipsilateral rotations.
described16. Green light pulses 1 s in duration and 3 mW in brightness were delivered
through a 200-μm optical fiber contained within the implanted microwire recording Quantification and statistical analyses. All statistical analyses were performed
array with a duty cycle of 25% for 60 min (900 pulses for 1 s; 30 pulses for 30 s). using standard MATLAB functions or custom MATLAB scripts. The statistical
tests used and P values are reported in the figure legends and the results section.
Temperature calibration. Temperature measurements in slices were performed Only nonparametric tests that did not include an assumption of distribution
using the same temperature setup of an Omega DAQ box and T-type normality were used for data analyses. Two-sided signed-rank tests were used
thermocouple. In the slice rig, the tip of the sensor was placed at the approximate for paired data, while two-sided rank-sum tests were used for unpaired data. No
location of the recording site relative to the fiber or copper tubing with the bath statistical methods were used to predetermine sample sizes, but our sample sizes
perfusion system operating as usual for acute slice recordings. Temperature changes were similar to those reported in previous publications1,13,14,16. For acute slice
were measured during laser delivery or passage of hot, warm, or cold fluids through recordings, recording conditions were not randomized. Within individual whole-
the copper tubing. Measurements for each power were repeated 30 times. cell recordings, light-on and light-off trials were interleaved. For comparisons
Open-field behavior tests. Wild-type animals were prepared for headbar surgery across cells, sham and drug-treatment recordings were counterbalanced within
as described above, with the addition of bilateral 200-μm, 0.39 NA optical fibers days, as were recordings at different temperature conditions. For in vivo recordings,
(Thorlabs, FT200UMT, flat cut) chronically implanted into the brain and affixed high and low light powers were interleaved in blocks of 50 trials, and all mice were
to the skull during headbar surgery. The optical fibers were implanted at +1.0 AP, given the same laser light condition during the same day. Light conditions were
1.5 ML, and −2.2 DV from bregma. randomized across days. With the exception of rotational analysis, data collection
Mice were allowed to recover for 2 weeks then acclimated to human handling. and analyses were not performed blinded to the conditions of the experiments. All
The open-field arena was a pair of 25-cm diameter circular areas lit from below slice physiology was analyzed using automated scripts to minimize experimenter
and the sides with bright white LED strip lighting to minimize the visual salience bias. No animals were excluded from analyses. Whole-cell recordings with unstable
of laser illumination. Videos recordings were made at 30 f.p.s. using an area scan baselines, inadequate access resistance (>20 MΩ), or excessive leak current
camera (Basler acA1300-60 gm). Laser illumination was generated via two 532-nm (>200 pA) were determined to be unhealthy and excluded from analyses. Please
diode-pumped solid-state lasers (Shanghai Laser) and coupled to commutators refer to the Nature Research Reporting Summary for additional information.
(Doric FRJ_1×2i_FC-2FC). Power was tested at the end of the fiber patch cable at Reporting Summary. Further information on research design is available in the
the beginning of each behavioral session, and between animals, and was corrected Nature Research Reporting Summary linked to this article.
for the recorded efficiency of the implanted fibers for each animal. Mice were run
two at a time, one in each behavioral arena.
Fifteen minutes before each behavioral session, animals received an Data availability
intraperitoneal injection of 3 mg per kg of amphetamine (d-amphetamine The data that support the findings of this study are available from the
hemisulfate salt, Sigma-Aldrich, A5880 in sterile saline). This limited habituation corresponding author upon request.
to the open-field environment and ensured consistent locomotion throughout
behavioral sessions (Fig. 3; Supplementary Fig. 4). At the start of each session, a Code availability
fiber optic patch cable was attached unilaterally to one of the implanted optical Modeling is based on previously a published code that is freely available1; all other
fibers in the dorsal striatum. The mouse was placed in the open field for 30 min, analysis code is available upon reasonable request.
during which time the laser was illuminated in a 10-s on, 30-s off cycle. The optical
fiber was then moved to the opposite hemisphere and the behavior was repeated
before returning the mouse to its home cage. Laser power was held constant for all References
sessions on each day. Laser powers were 3 mW (continuous), 7 mW (continuous), 21. Mathis, A. et al. Nat. Neurosci. 21, 1281 (2018).

Nature Neuroscience | www.nature.com/natureneuroscience


nature research | reporting summary
Corresponding author(s): Kreitzer

Reporting Summary
Nature Research wishes to improve the reproducibility of the work that we publish. This form provides structure for consistency and transparency
in reporting. For further information on Nature Research policies, see Authors & Referees and the Editorial Policy Checklist.

Statistical parameters
When statistical analyses are reported, confirm that the following items are present in the relevant location (e.g. figure legend, table legend, main
text, or Methods section).
n/a Confirmed
The exact sample size (n) for each experimental group/condition, given as a discrete number and unit of measurement
An indication of whether measurements were taken from distinct samples or whether the same sample was measured repeatedly
The statistical test(s) used AND whether they are one- or two-sided
Only common tests should be described solely by name; describe more complex techniques in the Methods section.

A description of all covariates tested


A description of any assumptions or corrections, such as tests of normality and adjustment for multiple comparisons
A full description of the statistics including central tendency (e.g. means) or other basic estimates (e.g. regression coefficient) AND
variation (e.g. standard deviation) or associated estimates of uncertainty (e.g. confidence intervals)

For null hypothesis testing, the test statistic (e.g. F, t, r) with confidence intervals, effect sizes, degrees of freedom and P value noted
Give P values as exact values whenever suitable.

For Bayesian analysis, information on the choice of priors and Markov chain Monte Carlo settings
For hierarchical and complex designs, identification of the appropriate level for tests and full reporting of outcomes
Estimates of effect sizes (e.g. Cohen's d, Pearson's r), indicating how they were calculated

Clearly defined error bars


State explicitly what error bars represent (e.g. SD, SE, CI)

Our web collection on statistics for biologists may be useful.

Software and code


Policy information about availability of computer code
Data collection Data were acquired using Trodes 1.7.3 (from SpikeGadgets), OMEGA DAQ Central 1.0.7, Plexon MAP v2.5, and Igor Pro 6.0. Spiking data was sorted
with either Plexon Offline Sorter 3.0.1 or Matclust v1.4 (Spike Gadgets). Modeling was performed using Matlab 2014a to run a previously published, freel

Data analysis Behavioral videos were processed with FFMPEG 4.1.3. All other data were analyzed and plotted using Matlab 2014a. Scripts are relatively
simple for data averaging, and generation of peri-stimulus triggered histograms, but all scripts and code are freely available upon request.
For manuscripts utilizing custom algorithms or software that are central to the research but not yet described in published literature, software must be made available to editors/reviewers
upon request. We strongly encourage code deposition in a community repository (e.g. GitHub). See the Nature Research guidelines for submitting code & software for further information.

Data
April 2018

Policy information about availability of data


All manuscripts must include a data availability statement. This statement should provide the following information, where applicable:
- Accession codes, unique identifiers, or web links for publicly available datasets
- A list of figures that have associated raw data
- A description of any restrictions on data availability
All data and software are available upon request.

1
nature research | reporting summary
Field-specific reporting
Please select the best fit for your research. If you are not sure, read the appropriate sections before making your selection.
Life sciences Behavioural & social sciences Ecological, evolutionary & environmental sciences
For a reference copy of the document with all sections, see nature.com/authors/policies/ReportingSummary-flat.pdf

Life sciences study design


All studies must disclose on these points even when the disclosure is negative.
Sample size Sample size for physiological recording and in vivo manipulations were determined based on previously published studies, and statistical
significance was calculated using post-hoc tests.

Data exclusions For in vivo recordings, other cell types were excluded based on spike waveform (Figure 1C; see methods). For whole cell recordings, cell types
were distinguished by location, access resistance, and capacitance immediately upon break-in.

Replication Each experiments was performed multiple times across at least two animals, and at least two separate experimental sessions (days). Every
effect described in this manuscript was replicated across animals and sessions. Data were then pooled for analysis and presentation.

Randomization All experiments were performed on wild-type mice. No randomization procedures were implemented.

Blinding Physiological protocols were designed to interleave trials and experimental conditions within individual animals and within individual
recording sessions. Analysis was automated using Matlab scripts for event detection and processing to remove experimenter bias. No explicit
blinding procedures were implemented.

Reporting for specific materials, systems and methods

Materials & experimental systems Methods


n/a Involved in the study n/a Involved in the study
Unique biological materials ChIP-seq
Antibodies Flow cytometry
Eukaryotic cell lines MRI-based neuroimaging
Palaeontology
Animals and other organisms
Human research participants

Animals and other organisms


Policy information about studies involving animals; ARRIVE guidelines recommended for reporting animal research
Laboratory animals Mouse C57BL/6, age 45-250 days, male and female

Wild animals no wild animals

Field-collected samples no samples collected from field


April 2018

You might also like