Skip to content

RonCalabreseLab/Leech-8Cell-Tutorial-NeuroML

Repository files navigation

Calabrese Lab Leech Tutorial, NeuroML Version

This is an in-progress conversion of the Calabrese Lab 8-cell Leech Tutorial that is described in paper by Hill et al 2001 from the Genesis simulator language to a NeuroML model description language format. The original Genesis scripts can be found in the genesis-scripts folder. The current version of the NeuroML v2 leech tutorial files can be found under the NeuroML2 folder. The current NeuroML model can be exported to the Neuron simulator language and simulated.

Running the model in jNeuroML

The model can be run directly in jNeuroML simulator v0.8.3 using one of the LEMS model defitinion files at the base directory:

jnml run_4cells_Vm.xml

This will load the model files under NeuroML2 and produce the graphs defined in the LEMS .xml files. See other LEMS files for different run scenarios.

Converting the model in Neuron

LEMS files that define the model and network can be converted to Neuron HOC/Python format using:

jnml run_4cells_Vm.xml -neuron -outputdir Exports/Neuron-8cell/

Then, you would need to navigate to the output folder Exports/Neuron-8cell/, and compile the MOD files for Neuron (only once after conversion):

cd Exports/Neuron-8cell/
nrnivmodl

You can make multiple exports with different LEMS files. Just make sure to use different export folders.

Running the model in Neuron

Navigate to the desired exports folder and run Neuron (requires Python version):

nrngui -python run_4cells_Vm_nrn.py

Status of the model

Some discrepancies between neuron models exist, which may require fine tuning ion channels:

Credits

Future directions