Simulations were run using Python 3.10.12. The instructions below were tested on Ubuntu Linux 22.04.
Install NEURON:
pip3 install neuron
Install NetPyNE:
pip3 install netpyne
Install OpenPyXL:
pip3 install openpyxl
Extract the SCN1A files from the downloaded zip (2019444.zip
) and change to the Knox_SCN1A_model
directory.
Compile NEURON mechanisms:
nrnivmodl ./mechanisms
Carry out one run using test_SCN1A_variants.py
(optional seed number):
python3 test_SCN1A_variants.py
vary_epsp_ei3.0_[seed].png
, where [seed]
is the seed number.Carry out a batch of simulation runs using run_lots_of_sims.sh
:
./run_lots_of_sims.sh
Move the results to a subdirectory:
mkdir results
mv output_data_ei* results
Make the final figure (optional seed number):
python3 make_fig_3.py
figure_3.png
.