Skip to content

Commit f50ac5a

Browse files
committed
Revert "Revert "add annotations""
This reverts commit 93f1189.
1 parent 93f1189 commit f50ac5a

File tree

168 files changed

+35655
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+35655
-0
lines changed

NeuroML2/channels/cal_mig.channel.nml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,69 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
22
<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="cal">
33

4+
<notes>NeuroML file containing a single Channel description</notes>
5+
46
<ionChannel id="cal" conductance="10pS" type="ionChannelHH" species="ca">
57

8+
<notes>L-calcium channel
9+
: L-type calcium channel with [Ca]i inactivation
10+
: from Jaffe, D. B., Ross, W. N., Lisman, J. E., Laser-Ross, N., Miyakawa, H., and Johnston, D. A. A model for dendritic Ca2
11+
: accumulation in hippocampal pyramidal neurons based on fluorescence imaging measurements. J. Neurophysiol. 71:1O65-1077 1994.
12+
: conduction density estimate of 50-200 pS/mu2; 0.0025 S/cm2 (5-20 channels of 10 each)
13+
: M. Migliore, E. Cook, D.B. Jaffe, D.A. Turner and D. Johnston, Computer simulations of morphologically reconstructed CA3
14+
: hippocampal neurons, J. Neurophysiol. 73, 1157-1168 (1995).
15+
: adapted from http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=3263&file=\ca3_db\cal2.mod
16+
: this version from https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=148094&file=\kv72-R213QW-mutations\cal2.mod
17+
: Miceli F, Soldovieri MV, Ambrosino P, Barrese V, Migliore M, Cilio MR, Taglialatela M (2013) Genotype-phenotype
18+
: correlations in neonatal epilepsies caused by mutations in the voltage sensor of Kv7.2 potassium channel subunits. PNAS 110:4386-4391
19+
</notes>
20+
21+
<annotation>
22+
23+
<rdf:RDF
24+
xmlns:dcterms="http://purl.org/dc/terms/"
25+
xmlns:dc="http://purl.org/dc/elements/1.1/"
26+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
27+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
28+
xmlns:bqmodel="http://biomodels.net/model-qualifiers/"
29+
>
30+
<rdf:Description rdf:about="cal">
31+
<dc:title>NeuroML conversion of cal channel from Macaque_auditory_thalamocortical_model</dc:title>
32+
<dc:description>L-type calcium channel with [Ca]i inactivation</dc:description>
33+
<dc:source>
34+
<rdf:Bag>
35+
<rdf:li rdf:resource="https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=148094&amp;file=\kv72-R213QW-mutations\cal2.mod"/>
36+
</rdf:Bag>
37+
</dc:source>
38+
<bqmodel:isDerivedFrom>
39+
<rdf:Bag>
40+
<rdf:li rdf:resource="http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=3263&amp;file=\ca3_db\cal2.mod"/>
41+
</rdf:Bag>
42+
</bqmodel:isDerivedFrom>
43+
<bqmodel:isDescribedBy>
44+
<rdf:Bag>
45+
<rdf:li rdf:resource="https://www.pnas.org/doi/10.1073/pnas.1216867110"/>
46+
</rdf:Bag>
47+
</bqmodel:isDescribedBy>
48+
<dc:contributor>
49+
<rdf:Bag>
50+
<rdf:li rdf:resource="#Hengye_Zhu"/>
51+
</rdf:Bag>
52+
</dc:contributor>
53+
<dcterms:created>
54+
<rdf:Description>
55+
<dcterms:W3CDTF>2025-07-24</dcterms:W3CDTF>
56+
</rdf:Description>
57+
</dcterms:created>
58+
</rdf:Description>
59+
<rdf:Description rdf:about="#Hengye_Zhu">
60+
<foaf:name>Hengye Zhu</foaf:name>
61+
<dc:identifier>gluciferd at gmail.com</dc:identifier>
62+
</rdf:Description>
63+
</rdf:RDF>
64+
65+
</annotation>
66+
667
<ConductanceScalingCaDependent type="cal_scale"/>
768

869
<gate id="m" type="gateHHratesTau" instances="2">

NeuroML2/channels/can_mig.channel.nml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,59 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
22
<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="can">
33

4+
<notes>NeuroML file containing a single Channel description</notes>
5+
46
<ionChannel id="can" conductance="10pS" type="ionChannelHH" species="ca">
57

8+
<notes>n-calcium channel
9+
: n-type calcium channel
10+
: MODELDB 126814 CA3 by Safiulina et al - http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=126814
11+
: by Michele Migliore
12+
</notes>
13+
14+
<annotation>
15+
16+
<rdf:RDF
17+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
18+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
19+
xmlns:dc="http://purl.org/dc/elements/1.1/"
20+
xmlns:dcterms="http://purl.org/dc/terms/"
21+
>
22+
<rdf:Description rdf:about="can">
23+
<dc:title>NeuroML conversion of can channel from Macaque_auditory_thalamocortical_model</dc:title>
24+
<dc:description>n-calcium channel</dc:description>
25+
<dc:source>
26+
<rdf:Bag>
27+
<rdf:li rdf:resource="http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=126814"/>
28+
</rdf:Bag>
29+
</dc:source>
30+
<dc:creator>
31+
<rdf:Bag>
32+
<rdf:li rdf:resource="#Safiulina_et_al"/>
33+
</rdf:Bag>
34+
</dc:creator>
35+
<dc:contributor>
36+
<rdf:Bag>
37+
<rdf:li rdf:resource="#Hengye_Zhu"/>
38+
</rdf:Bag>
39+
</dc:contributor>
40+
<dcterms:created>
41+
<rdf:Description>
42+
<dcterms:W3CDTF>2025-07-24</dcterms:W3CDTF>
43+
</rdf:Description>
44+
</dcterms:created>
45+
</rdf:Description>
46+
<rdf:Description rdf:about="#Hengye_Zhu">
47+
<foaf:name>Hengye Zhu</foaf:name>
48+
<dc:identifier>gluciferd at gmail.com</dc:identifier>
49+
</rdf:Description>
50+
<rdf:Description rdf:about="#Safiulina_et_al">
51+
<foaf:name>Safiulina et al</foaf:name>
52+
</rdf:Description>
53+
</rdf:RDF>
54+
55+
</annotation>
56+
657
<ConductanceScalingCaDependent type="can_scale"/>
758

859
<gate id="m" type="gateHHratesTau" instances="2">

NeuroML2/channels/cat_mig.channel.nml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,47 @@
22
<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="cat">
33

44
<ionChannel id="cat" conductance="10pS" type="ionChannelHH" species="ca">
5+
6+
<notes>T-calcium channel
7+
: T-type calcium channel
8+
: MODELDB 126814 CA3 by Safiulina et al - http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=126814
9+
: by Michele Migliore
10+
</notes>
11+
12+
<annotation>
13+
14+
<rdf:RDF
15+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
16+
xmlns:dc="http://purl.org/dc/elements/1.1/"
17+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
18+
xmlns:dcterms="http://purl.org/dc/terms/"
19+
>
20+
<rdf:Description rdf:about="cat">
21+
<dc:title>NeuroML conversion of cat channel from Macaque_auditory_thalamocortical_model</dc:title>
22+
<dc:description>T-calcium channel</dc:description>
23+
<dc:source>
24+
<rdf:Bag>
25+
<rdf:li rdf:resource="http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=126814"/>
26+
</rdf:Bag>
27+
</dc:source>
28+
<dc:contributor>
29+
<rdf:Bag>
30+
<rdf:li rdf:resource="#Hengye_Zhu"/>
31+
</rdf:Bag>
32+
</dc:contributor>
33+
<dcterms:created>
34+
<rdf:Description>
35+
<dcterms:W3CDTF>2025-07-24</dcterms:W3CDTF>
36+
</rdf:Description>
37+
</dcterms:created>
38+
</rdf:Description>
39+
<rdf:Description rdf:about="#Hengye_Zhu">
40+
<foaf:name>Hengye Zhu</foaf:name>
41+
<dc:identifier>gluciferd at gmail.com</dc:identifier>
42+
</rdf:Description>
43+
</rdf:RDF>
44+
45+
</annotation>
546

647
<gate id="m" type="gateHHratesTau" instances="2">
748
<q10Settings type="q10ExpTemp" q10Factor="5" experimentalTemp="25degC"/>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/env python3
2+
"""
3+
Script to create annotations for various models.
4+
5+
File: create_annotations.py
6+
7+
Copyright 2024 Ankur Sinha
8+
Author: Ankur Sinha <sanjay DOT ankur AT gmail DOT com>
9+
"""
10+
11+
12+
from pyneuroml.annotations import create_annotation
13+
14+
15+
def annotate_():
16+
"""Annotation for channel"""
17+
annotation = create_annotation(
18+
subject="cat",
19+
title="NeuroML conversion of cat channel from Macaque_auditory_thalamocortical_model",
20+
abstract=None,
21+
serialization_format="pretty-xml",
22+
annotation_style="miriam",
23+
indent=12,
24+
xml_header=False,
25+
description="T-calcium channel",
26+
creation_date="2025-07-24",
27+
#citations={"https://www.pnas.org/doi/10.1073/pnas.1216867110": "PNAS"},
28+
sources={"http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=126814": "modeldb"},
29+
#predecessors={"http://senselab.med.yale.edu/modeldb/ShowModel.asp?model=3263&file=\ca3_db\cal2.mod": "Original model"},
30+
contributors={"Hengye Zhu": {"gluciferd at gmail.com": "email"}}
31+
)
32+
print(annotation)
33+
34+
if __name__ == "__main__":
35+
annotate_()
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.xsd"
5+
id = "NeuroML2_file_exported_from_NEURON">
6+
7+
<notes> NeuroML 2 file generated from ModelView by: NEURON -- VERSION 8.2.6+ HEAD (078a34a9d+) 2024-07-24
8+
Authors: Michael Hines, Sushil Kambampati and Padraig Gleeson,
9+
Yale University and UCL
10+
</notes>
11+
12+
<cell id="HTC_reduced_cell_0_0">
13+
<notes>Cell: HTC_reduced_cell_0_0 exported from NEURON ModelView</notes>
14+
<morphology id="morphology">
15+
<!-- Section: HTC_reduced_cell[0].soma (segmentGroup: soma) which has 2 3D points, so 1 segment(s)-->
16+
<segment id="0" name = "Seg0_soma">
17+
<proximal x="0" y="0" z="0" diameter="96"/>
18+
<distal x="0" y="96" z="0" diameter="96"/>
19+
</segment>
20+
21+
<!-- Section: HTC_reduced_cell[0].soma (segmentGroup: soma) which has 2 3D points, so 1 segment(s)-->
22+
23+
<segmentGroup id = "soma" neuroLexId="sao864921383">
24+
<notes>This group contains an unbranched set of segments, and all of the segmentGroups marked with
25+
neuroLexId = sao864921383 form a non-overlapping set of all of the segments.
26+
These segmentGroups correspond to the 'cables' of NeuroML v1.8.1, and map to/from NEURON sections.</notes>
27+
<member segment = "0"/>
28+
</segmentGroup>
29+
30+
<segmentGroup id="all"> <!-- Replacing subset name ModelViewParmSubset_0 with all, as it contains all sections -->
31+
<include segmentGroup = "soma"/>
32+
</segmentGroup>
33+
34+
<segmentGroup id="OneSecGrp_SectionRef_1"> <!-- Creating a group containing a single section: soma... -->
35+
<include segmentGroup = "soma"/>
36+
</segmentGroup>
37+
38+
</morphology>
39+
40+
<biophysicalProperties id="biophys">
41+
<membraneProperties>
42+
43+
<channelDensityNernst id="cal_all" ionChannel="cal" condDensity="0.001 S_per_cm2" segmentGroup="all" ion="ca"/>
44+
45+
<channelDensity ionChannel="ia" id="ia_all" segmentGroup="all" ion="k" erev="-95.0 mV" condDensity="0.007 S_per_cm2"/>
46+
47+
TODO: <channelDensity ionChannel="ittc" id="ittc_all" segmentGroup="all" ion="ca" erev="-104 mV" condDensity="0.002 S_per_cm2"/>
48+
TODO: htc
49+
TODO: hh2ad
50+
51+
<channelDensity ionChannel="kl" id="kl_all" segmentGroup="all" ion="k" erev="-95.0 mV" condDensity="2.3e-05 S_per_cm2"/>
52+
<channelDensity ionChannel="pas" id="pas_all" segmentGroup="all" ion="non_specific" erev="-50 mV" condDensity="1.8e-05 S_per_cm2"/>
53+
54+
55+
56+
<spikeThresh value="5mV"/>
57+
<specificCapacitance segmentGroup="all" value="1.0 uF_per_cm2"/>
58+
<initMembPotential segmentGroup="all" value="-70 mV"/>
59+
</membraneProperties>
60+
<intracellularProperties>
61+
<species segmentGroup="all" ion="ca" initialExtConcentration="2.0E-6 mol_per_cm3" concentrationModel="cadad_HTC_soma" id="ca" initialConcentration="5.0E-11 mol_per_cm3"/>
62+
<resistivity value="100 ohm_cm"/>
63+
</intracellularProperties>
64+
</biophysicalProperties>
65+
66+
</cell>
67+
</neuroml>
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"conds": {
3+
"cellModel": "HH_reduced",
4+
"cellType": "HTC",
5+
"ynorm": [
6+
1.2,
7+
1.4
8+
]
9+
},
10+
"globals": {
11+
"erev_kl": -95.0,
12+
"q10m_ittc": 3.55,
13+
"v_init": -70.0
14+
},
15+
"secLists": {},
16+
"secs": {
17+
"soma": {
18+
"geom": {
19+
"L": 96.0,
20+
"Ra": 100.0,
21+
"cm": 1.0,
22+
"diam": 96.0,
23+
"nseg": 1,
24+
"pt3d": [
25+
[
26+
0,
27+
0,
28+
0,
29+
96.0
30+
],
31+
[
32+
0,
33+
96.0,
34+
0,
35+
96.0
36+
]
37+
]
38+
},
39+
"ions": {
40+
"ca": {
41+
"e": 132.4579341637009,
42+
"i": 5e-05,
43+
"o": 2.0
44+
},
45+
"k": {
46+
"e": -95.0,
47+
"i": 54.4,
48+
"o": 2.5
49+
},
50+
"na": {
51+
"e": 50.0,
52+
"i": 10.0,
53+
"o": 140.0
54+
}
55+
},
56+
"mechs": {
57+
"cadad": {
58+
"cainf": 0.00024,
59+
"depth": 1.0,
60+
"kd": 0.0,
61+
"kt": 0.0,
62+
"taur": 5.0
63+
},
64+
"cal": {
65+
"gcalbar": 0.001
66+
},
67+
"hh2ad": {
68+
"gkbar": 0.012,
69+
"gnabar": 0.02,
70+
"vtraub": -63.0
71+
},
72+
"htc": {
73+
"Pc": 0.01,
74+
"cac": 0.002,
75+
"exptemp": 36.0,
76+
"ginc": 2.0,
77+
"gmax": 1e-06,
78+
"k2": 0.0004,
79+
"k4": 0.001,
80+
"nca": 4.0,
81+
"nexp": 1.0,
82+
"shift": 0.0,
83+
"taum": 20.0
84+
},
85+
"ia": {
86+
"exptemp": 23.5,
87+
"gmax": 0.007,
88+
"q10": 3.0
89+
},
90+
"ittc": {
91+
"gmax": 0.002,
92+
"shift": 3
93+
},
94+
"kl": {
95+
"gmax": 2.3e-05
96+
},
97+
"pas": {
98+
"e": -50,
99+
"g": 1.8e-05
100+
}
101+
},
102+
"topol": {},
103+
"vinit": -70.0,
104+
"weightNorm": [
105+
0.0020910235715425945
106+
]
107+
}
108+
}
109+
}

0 commit comments

Comments
 (0)