Allen Institute Brain Modeling Tool Kit (BMTK) + Gap Junctions

Post Reply
Posts: 27
Joined: Thu May 26, 2016 10:27 am

Allen Institute Brain Modeling Tool Kit (BMTK) + Gap Junctions

Post by bll5z6 » Thu Oct 31, 2019 2:02 pm

Hey all,

I have been contributing to BMTK (, which uses NEURON to model biophysical neural networks. I talked briefly with Ted at SfN about this issue I've been having implementing gap junctions so thought I would formalize that here to see if anyone can help.

BMTK has two independent steps to creating a model; building and simulation. Building the model actually doesn't use NEURON at all, it simply creates h5 files that store information about the cells, connectivity, etc. The simulation step loads these files and creates a NEURON model out of them.

I have provided a minimal working example of a synaptic connection (chemical synapse) between two cells here: ... apJunction

The readme file in the top level of the repository explains how to run the BMTK simulation.

Digging through the BMTK code is a bit of a chore, but we managed to identify the place where synapses are made: ...

Our thought was to simply handle the gap junction here through point processes as we have seen done in the past: ... on/

However, when we tried that, we got the message "segmentation fault (core dumped)" when was called from BMTK. This is where the simulation gets initialized and run: ...

I noticed that pc.psolve() is not used in BMTK, could that be a problem? Is there anything to do with how the simulation is initialized and run that would conflict with the gap junction method outlined above? Any guidance is greatly appreciated.


Post Reply