Pyramidal neurons with mutated SCN2A gene (Nav1.2) (Ben-Shalom et al 2017)

 Download zip file   Auto-launch 
Help downloading and running models
Accession:223955
Model of pyramidal neurons that either hyper or hypo excitable due to SCN2A mutations. Mutations are taken from patients with ASD or Epilepsy
Reference:
1 . Ben-Shalom R, Keeshen CM, Berrios KN, An JY, Sanders SJ, Bender KJ (2017) Opposing Effects on NaV1.2 Function Underlie Differences Between SCN2A Variants Observed in Individuals With Autism Spectrum Disorder or Infantile Seizures. Biol Psychiatry 82:224-232 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type: Neuron or other electrically excitable cell;
Brain Region(s)/Organism:
Cell Type(s): Neocortex L5/6 pyramidal GLU cell;
Channel(s): I Na,t; I Sodium; I K;
Gap Junctions:
Receptor(s):
Gene(s): Nav1.2 SCN2A;
Transmitter(s):
Simulation Environment: NEURON; MATLAB;
Model Concept(s): Epilepsy; Autism spectrum disorder;
Implementer(s): Ben-Shalom, Roy [bens.roy at gmail.com];
Search NeuronDB for information about:  Neocortex L5/6 pyramidal GLU cell; I Na,t; I K; I Sodium;
% [data,errmsg]=nrn_vread(FileName,machineformat)
% machineformat like in fopen (i.e. 'b' for big endian, 'l' for little endian)
%
% reads binary files, that was written with Vector.vwrite in NEURON

function [data,errmsg]=nrn_mread(FileName,ncols)
machineformat = 'n';

data = [];

[fid,errmsg] = fopen(FileName,'r',machineformat);
if fid==-1
    error('Couldnt open file');
   return;
else
   errmsg = sprintf('File opened successfully');
end
i=1;
while(1)
    [header,cnt]=fread(fid,2,'int32');
    if cnt~=2
       errmsg = sprintf('Could not read the vwrite header');
       fclose(fid);
       return;
    end

    precision = 'double'; % to avoid Matlab warning
    if header(2)==4
       precision = 'double';
    elseif header(2)==3
       precision = 'float32';
    elseif header(2)==5
       precision = 'int';
    elseif header(2)==2
       precision = 'short';
    else
       errmsg = sprintf('Unsupported precision argument');
       fclose(fid);
       return;
    end

    [currdata,cnt]=fread(fid,ncols,precision);
    if (header(1) ~=1 &&cnt~=header(1))
       errmsg = sprintf('Only %d instead of %d Samples read',cnt,header(1));
       data = [];
       fclose(fid);
       return;
    else
       errmsg = sprintf('Successfully read %d Samples',cnt);
    end
    data(i,:)=currdata;
    i=i+1;
end


fclose(fid);

Loading data, please wait...