Importing various morphology formats into neuroConstruct (original) (raw)

Outlined here are the various morphology file importation options available in neuroConstruct.

Note: it is essential to examine the imported cell carefully before using it in any simulation. Two potential problems which should be checked are:

To reiterate, just because a morphology file is successfully imported doesn't mean it is immediately suitable for use in a neuronal model. Bear in mind that whoever created the file may have had different goals from creation of a single cell model (as with Neurolucida files), or may have created it specifically for a particular simulator, with the eccentricities of that platform in mind.

To import a morphology file: Open a new or existing project, go to tab Cell Types, click on Add New Cell Type... and select one of the format specific readers, e.g. GENESISMorphReader.

GENESIS

GENESIS morphology files can be imported. These are *.p readcell compatible files. The proper format for these files is specified here.

This is a well described format and there exists a number of models containing cells specified in this way. However, the whole specification is not supported in neuroConstruct, an inexhaustive compliance list follows:

Note that cells specified in this way assume the target platform is GENESIS and compartmental modelling, as opposed to cable modelling, will be used. Therefore the compartmentalisation will not be ideal for platforms such as NEURON. This issue has been addressed with the introduction of Compartmentalisations

NEURON

A subset of NEURON files can be imported. In contrast to GENESIS, there is no fixed format in NEURON for specifying morphologies (note however, MorphML export is being implemented in a new vesion of NEURON, see here) However, a number of models exist with the cellular morphology in separate files, many of which were created by the ntscable program. These files are usually characterised by a large number of lines of coordinates (lines of 4 floats) containing information accessed previously in the file by the fscan() command.

The following is a summary of what can be imported from a given NEURON morphology file:

This functionality has been tested for a handful of files, but if there are examples of files which you feel are in a format which could easily be imported please get in touch

Cvapp (SWC files)

The file format used by Cvapp (extension SWC) is also supported. It was developed to cover most of the information common between in Neurolucida,NEURON andGENESIS formats. This format is pretty straightforward, but as mentioned, care must be taken with the first soma segment. Check the morphology when imported and ensure the root segment is as intended. Note that as of v1.0.4, there was a change in the import of SWC format files, to automatically create Sections from the 3D points between splits in the dendritic morphologies, resulting in a lower number of Sections but the same number of Segments. See the note on [Electrotonic length](Glossary%5Fgen.html#Electrotonic length) before using those morphologies in simulations.

MorphML

Files can be imported and exported in MorphML format.

Normally the most recent version of the MorphML specifications will be used by neuroConstruct, but to check compliance,this web service should be used.

There is a close relation between the internal model of a cell in neuroConstruct and the information present in a MorphML file, so exporting and importing a cell in this format should lead to identical cells (though the names need to be different if they are in the same project).

Neurolucida

The Neurolucida file format is used by MicroBrightField products to store information on neuronal reconstructions. Both binary and ASCII format files can be generated by these products, and at this time neuroConstruct can import ASCII (*.asc) format V3 files (a heirarchical file structure with "CellBody", "Dendrite", etc). The format allows recording of various anatomical features, not only neuronal processes such as dendrites and cell bodies, but can record other microanatomical features of potential interest to anatomists. Not all of these features will be relevant when constructing a single cell computational model. Go to Cell Types -> Add New Cell Type and select NeurolucidaReader in the first drop down box. Specify the location of the morphology file and choose a name for the Cell Type. A dialog box will be presented with some options as mentioned below.

The main points to note when importing Neurolucida files are:

This functionality uses the bulk of the information in Neurolucida files which might be needed for neuronal modelling. Please get in contact if there you have example files, some of the information in which you feel could be useful in other modelling scenarios.