forked from ModelDBRepository/262670
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from sanjayankur31/neuroml-ankur
Convert ion channels, KC cell
- Loading branch information
Showing
26 changed files
with
286 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.dat | ||
x86_64/ |
Binary file added
BIN
+50 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_ka_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.3 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_kst_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.3 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_kv_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.5 KB
NEURON/mb/mod/Steady_state(s)_of_activation_variables_in_naf_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.8 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_ka_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.2 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_kst_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.9 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_kv_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.8 KB
NEURON/mb/mod/Time_course(s)_of_activation_variables_in_naf_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Script for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation | ||
# Still in development, subject to change without notice!! | ||
|
||
|
||
# This test will validate MOST all of the NeuroML 2 files in the current directory | ||
target: "*.c*.nml" | ||
engine: jNeuroML_validate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.xsd" id="KC_doc"> | ||
<include href="channels/pas.channel.nml"/> | ||
<include href="channels/nas.channel.nml"/> | ||
<include href="channels/naf.channel.nml"/> | ||
<include href="channels/kv.channel.nml"/> | ||
<include href="channels/ka.channel.nml"/> | ||
<include href="channels/kst.channel.nml"/> | ||
<cell id="KC"> | ||
<morphology id="morphology"> | ||
<segment id="0" name="Seg0"> | ||
<proximal x="0.0" y="0.0" z="0.0" diameter="20.0"/> | ||
<distal x="0.0" y="0.0" z="6.366" diameter="20.0"/> | ||
</segment> | ||
<segmentGroup id="soma_group" neuroLexId="GO:0043025"> | ||
<notes>Default soma segment group for the cell</notes> | ||
<member segment="0"/> | ||
</segmentGroup> | ||
<segmentGroup id="all"> | ||
<notes>Default segment group for all segments in the cell</notes> | ||
<member segment="0"/> | ||
</segmentGroup> | ||
</morphology> | ||
<biophysicalProperties id="biophys"> | ||
<membraneProperties> | ||
<channelDensity id="pas" ionChannel="pas" condDensity=".0000975 S_per_cm2" erev="-70 mV" ion="non_specific"/> | ||
<channelDensity id="nas" ionChannel="nas" condDensity="3e-3 S_per_cm2" erev="-58 mV" ion="na"/> | ||
<channelDensity id="naf" ionChannel="naf" condDensity="3.5e-2 S_per_cm2" erev="-58 mV" ion="na"/> | ||
<channelDensity id="kv" ionChannel="kv" condDensity="1.5e-3 S_per_cm2" erev="-81 mV" ion="k"/> | ||
<channelDensity id="ka" ionChannel="ka" condDensity="1.4525e-2 S_per_cm2" erev="-81 mV" ion="k"/> | ||
<channelDensity id="kst" ionChannel="kst" condDensity="2.0275e-3 S_per_cm2" erev="-81 mV" ion="k"/> | ||
<specificCapacitance value="1 uF_per_cm2"/> | ||
<initMembPotential value="-80mV"/> | ||
</membraneProperties> | ||
<intracellularProperties> | ||
<resistivity value="35.4 ohm_cm"/> | ||
</intracellularProperties> | ||
</biophysicalProperties> | ||
</cell> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing variations of steady state and tau expressions for ion channels used in Ray et al 2020. These are required because in the mod files, the tables stop at 40, and so we need to tweak our implementations.</notes> | ||
|
||
<ComponentType name="Ray_inf" | ||
extends="baseVoltageDepVariable" | ||
description="Inf parameter to describe naf" > | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 s"/> | ||
<Constant name="table_max" dimension="voltage" value="40 mV"/> | ||
<Parameter name="rate" dimension="none"/> | ||
<Parameter name="midpoint" dimension="voltage"/> | ||
<Parameter name="scale" dimension="voltage"/> | ||
<Dynamics> | ||
<ConditionalDerivedVariable name="x" dimension="per_time" exposure="x"> | ||
<Case condition="v .gt. table_max" value="(rate / (1 + exp(0 - (table_max - midpoint) / scale)))/TIME_SCALE"/> | ||
<Case value="(rate / (1 + exp(0 - (v - midpoint) / scale)))/TIME_SCALE"/> | ||
</ConditionalDerivedVariable> | ||
</Dynamics> | ||
</ComponentType> | ||
|
||
<ComponentType name="Ray_tau" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe naf"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="table_max" dimension="voltage" value="40 mV"/> | ||
<Parameter name="max_tau" dimension="per_time"/> | ||
<Parameter name="min_tau" dimension="per_time"/> | ||
<Parameter name="midpoint" dimension="voltage"/> | ||
<Parameter name="scale" dimension="voltage"/> | ||
<Dynamics> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="v .gt. table_max" value="((max_tau - min_tau) / (1 + exp(0 - (table_max - midpoint) / scale))) + min_tau"/> | ||
<Case value="((max_tau - min_tau) / (1 + exp(0 - (v - midpoint) / scale))) + min_tau"/> | ||
</ConditionalDerivedVariable> | ||
|
||
</Dynamics> | ||
|
||
</ComponentType> | ||
</neuroml> |
Binary file added
BIN
+49.7 KB
...dy_state(s)_of_activation_variables_of_Nas_from_nas.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52.1 KB
...eady_state(s)_of_activation_variables_of_ka_from_ka.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.3 KB
...eady_state(s)_of_activation_variables_of_kv_from_kv.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.4 KB
...dy_state(s)_of_activation_variables_of_naf_from_naf.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.7 KB
...e_Course(s)_of_activation_variables_of_Nas_from_nas.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.7 KB
...ime_Course(s)_of_activation_variables_of_ka_from_ka.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+42.3 KB
...ime_Course(s)_of_activation_variables_of_kv_from_kv.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.8 KB
...e_Course(s)_of_activation_variables_of_naf_from_naf.channel.nml_at_6.3_degC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="ka" conductance="1pS" type="ionChannelHH" species="k"> | ||
|
||
<notes> | ||
Implementation of A type K+ channel ( KA ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA. | ||
This is transient A type K+ channel in Apis mellifera Kenyon cells (cultured). | ||
</notes> | ||
|
||
<!-- custom component types because the tables in the mod files only go to 40 --> | ||
<gate id="m" type="gateHHtauInf" instances="3"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-20.1mV" scale="16.1mV"/> | ||
<timeCourse type="Ray_ka_taum"/> | ||
</gate> | ||
|
||
<gate id="h" type="gateHHtauInf" instances="1"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-74.7mV" scale="-7.0mV"/> | ||
<timeCourse type="Ray_ka_tauh"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
|
||
<ComponentType name="Ray_ka_taum" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe ka"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="VOLT_SCALE" dimension="voltage" value="1 mV"/> | ||
<Constant name="max_tau" dimension="per_time" value="1.65 per_s"/> | ||
<Constant name="min_tau" dimension="per_time" value="0.35 per_s"/> | ||
<Dynamics> | ||
<DerivedVariable name="V" dimension="none" value="v / VOLT_SCALE"/> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="V .gt. 40" value="(max_tau - min_tau) / ((1 + exp(-(40. + 70.0) / 4.0)) * ( 1 + exp((40. + 2.0) / 12.0))) + min_tau"/> | ||
<Case value="(max_tau - min_tau) / ((1 + exp(-(V + 70.0) / 4.0)) * ( 1 + exp((V + 2.0) / 12.0))) + min_tau"/> | ||
|
||
</ConditionalDerivedVariable> | ||
</Dynamics> | ||
|
||
</ComponentType> | ||
|
||
<ComponentType name="Ray_ka_tauh" | ||
extends="baseVoltageDepTime" | ||
description="Tau parameter to describe ka"> | ||
|
||
<Constant name="TIME_SCALE" dimension="time" value="1 ms"/> | ||
<Constant name="VOLT_SCALE" dimension="voltage" value="1 mV"/> | ||
<Constant name="max_tau" dimension="per_time" value="90.0 per_s"/> | ||
<Constant name="min_tau" dimension="per_time" value="2.5 per_s"/> | ||
<Dynamics> | ||
<DerivedVariable name="V" dimension="none" value="v / VOLT_SCALE"/> | ||
<ConditionalDerivedVariable name="t" dimension="per_time" exposure="t" > | ||
<Case condition="V .gt. 40" value="(max_tau - min_tau) / ((1 + exp(-(40. + 60.) / 25.0)) * (1 + exp((40. + 62.0) / 16.0))) + min_tau"/> | ||
<Case value="(max_tau - min_tau) / ((1 + exp(-(V + 60.) / 25.0)) * (1 + exp((V + 62.0) / 16.0))) + min_tau"/> | ||
</ConditionalDerivedVariable> | ||
|
||
</Dynamics> | ||
|
||
</ComponentType> | ||
|
||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="kst" conductance="1pS" type="ionChannelHH" species="k"> | ||
|
||
<notes> | ||
NEURON implementation of slow transient K+ channel ( KST ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA | ||
|
||
This is slow transient K+ channel in Apis mellifera Kenyon cells (cultured). | ||
</notes> | ||
|
||
<gate id="m" type="gateHHtauInf" instances="3"> | ||
<steadyState type="Ray_inf" rate="1" midpoint="-20.1mV" scale="16.1mV"/> | ||
<timeCourse type="Ray_tau" min_tau="0.5 per_s" max_tau="5.0 per_s" midpoint="20.0 mV" scale="-20.0mV"/> | ||
</gate> | ||
|
||
<gate id="h" type="gateHHtauInf" instances="1"> | ||
<steadyState type="Ray_inf" rate="1" midpoint="-74.7mV" scale="-7.0mV"/> | ||
<timeCourse type="Ray_tau" min_tau="150.0 per_s" max_tau="200.0 per_s" midpoint="52.0 mV" scale="-15.0mV"/> | ||
</gate> | ||
</ionChannel> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="kv" conductance="1pS" type="ionChannelHH" species="k"> | ||
|
||
<notes> | ||
Implementation of A type K+ channel ( KV ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA. | ||
This is a delayed rectifier type K+ channel in Apis mellifera Kenyon cells (cultured). | ||
</notes> | ||
|
||
<!-- custom component types because the tables in the mod files only go to 40 --> | ||
<gate id="m" type="gateHHtauInf" instances="4"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-37.6mV" scale="27.24mV"/> | ||
<timeCourse type="Ray_tau" min_tau="1.85 per_s" max_tau="3.53 per_s" midpoint="45.0 mV" scale="-13.71mV"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta4.xsd" id="NeuroML_ionChannel"> | ||
|
||
<notes>NeuroML file containing a single ion channel</notes> | ||
<include href="RaySigmoid.nml" /> | ||
|
||
<ionChannel id="naf" conductance="1pS" type="ionChannelHH" species="na"> | ||
|
||
<notes> | ||
Implementation of fast Na+ channel ( NAF ) from Wustenberg DG, Boytcheva M, Grunewald B, Byrne JH, Menzel R, Baxter DA | ||
|
||
This is fast Na+ channel in Apis mellifera Kenyon cells :(cultured). | ||
</notes> | ||
|
||
<gate id="m" type="gateHHtauInf" instances="3"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-30.1mV" scale="6.65mV"/> | ||
<timeCourse type="Ray_tau" min_tau="0.83 per_s" max_tau="0.093 per_s" midpoint="-20.3 mV" scale="6.45mV"/> | ||
</gate> | ||
|
||
<gate id="h" type="gateHHtauInf" instances="1"> | ||
<steadyState type="Ray_inf" rate="1.0" midpoint="-51.4mV" scale="-5.9mV"/> | ||
<timeCourse type="Ray_tau" min_tau="0.12 per_s" max_tau="1.660 per_s" midpoint="-8.03 mV" scale="-8.69mV"/> | ||
</gate> | ||
|
||
</ionChannel> | ||
</neuroml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.