Nothing Special   »   [go: up one dir, main page]

Skip to content

Model for K-ATP mediated bursting in mSNc DA neurons (Knowlton et al 2018)

Notifications You must be signed in to change notification settings

ModelDBRepository/227678

Repository files navigation

<html><pre>
This is the readme for the models associated with the paper:

Knowlton CJ, Kutterer S, Roeper J, Canavier CC (2017)

Calcium dynamics control K-ATP channel mediated bursting in substantia
nigra dopamine neurons: a combined experimental and modeling study.
<a href="http://dx.doi.org/10.1152/jn.00351.2017">J Neurophysiol :jn.00351.2017</a>

These model files were contributed by C Knowlton.

To build and run the model on a linux/unix platform type:

make
./fixed_finder > output.txt
./nmodel > output2.txt
After a short while an output file is generated which can be read into
your favorite graphing program. Matlab for example can produce the
following plot

load output2.txt;
a=output2;
z=4000; % look at the last couple of seconds of the run
figure
for b=2:9
subplot(2,4,b-1)
plot(a(end-z:end,1),a(end-z:end,b))
end

<img src="./screenshot.png" alt="screenshot" width="550">

 A lot of the figures weren't fully scripted.

fixed_finder.c takes the same parameter changes in atp.h that atp.c
does

It will produce the appropriate nullcline for those parameters.

You just plot the results in V vs ADP (or V vs ADP and Ca in 6) rather
than in X vs t like in the other figures

Figure 6 is more complicated because additional scripting is needed to
create an array of ADP/Ca values from the ADP nullcline produced.
Additionally, matplotlib, which was used to generate that figure
cannot deal with overlapping surfaces well, so each surface had to be
broken up into pieces.

I included the scripts that automated the NMDA/NN414 permutations for
both nullclines and dynamics (script.py) and to generate a crude
version figure 6 (intersect.py) given the values (though data file
names that that script calls would have to be changed in
intersect.py). All figures in the paper had substantial work done to
clean the colors, fonts, axes in illustrator after the fact - but this
is fairly close.

python script.py &lt;suffix&gt;

will create the data from figure 4 in a directory called suffix with
prefixes a,b,c,d corresponding to the subplots in figure 4

a = Control
b = NN414
c = NMDA
d = NN414 + NMDA

To get the nullcline picture for NMDA alone you would plot V vs ADP
from c_&lt;suffix&gt;_data.dat and (7 vs 2) and from
c_&lt;suffix&gt;_nullcline.dat (3 vs 1). To do this run:

python script.py c

and then you could type in the matlab command prompt:

cd RELEASE/c/
load c_c_data.dat;
load c_c_nullcline.dat;
d=c_c_data;
n=c_c_nullcline;
figure
plot(d(:,2),d(:,7))
<img src="./screenshot2.png" alt="screenshot2" width="550">

figure
plot(n(:,1),n(:,3))
<img src="./screenshot3.png" alt="screenshot3" width="550">

To get results for figs 7 and 8 change G_GABA, TONIC (to make GABA
tonic or a pulse), fca etc in atp.h as appropriate to the values in
captions before running the script

(you can also change script.py to ignore a and b for these if desired
as they are not used)

I hope this helps
</html></pre>

Releases

No releases published

Packages

No packages published