1.0.1 • Published 6 years ago

swctojson v1.0.1

Weekly downloads
6
License
Apache License 2
Repository
github
Last release
6 years ago

SWC to JSON

CLI tool to convert SWC neuron morphology files into JSON files. SWC files must respect this spec.

Install

$ sudo npm install -g swctojson

Usage

Convert SWC neuron morphology files into JSON.
Usage:
  -in=/path/to/swcfile.swc         The SWC file to convert (input)
  -out=/path/to/jsonfile.json      The JSON file to save (output)

Such as:

$ swctojson -in=/path/to/swcfile.swc -out=/path/to/jsonfile.json

The JSON output is compatible with the morphology 3D viewer morphoviewer.