Welcome to regmaxsn repository! This is a snapshot of v2.0 of the GitHub repository https://github.com/wachtlerlab/Reg-MaxS. Updates and Newer versions of the software are posted on the Github repository.
Reg-MaxS and Reg-MaxS-N: Algorithms for co-registration of pairs and groups of neuron morphologies based on maximization of spatial overlap
These algorithms have been discussed in detail in the following publication:
Kumaraswamy A., Kai K., Ai H., Ikeno H., Wachtler T. (2018). "Spatial registration of neuron morphologies based on maximization of volume overlap". In BMC Bioinformatics, DOI: 10.1186/s12859-018-2136-z
This repository contains scripts for running Reg-MaxS and Reg-MaxS-N algorithms for registering pairs and groups of neuron morphologies respectively.
The algorithms are written in Python and at the moment work only with SWC files.
With Conda (Linux or Windows):
Without Conda, with pip and virtualenvwrapper (only for Linux):
NOTE: This environment must be activated every time you want to run Reg-MaxS, Reg-MaxS-N or any other scripts of this package.
You need to open this .py file in a editor and change variables as needed. The detailed usage instructions of this script are provided at the top of it. Two different use cases have been illustrated using three examples. Take a look at them and modify the script according to your needs.
After editing the "constructRegMaxSParFile.py" as needed, create a parameter file as below:
python <path to your Reg-MaxS Workspace>/utilityScripts/constructRegMaxSParFile.py
Run Reg-MaxS with this parameter file:
python -m regmaxsn.scripts.algorithms.RegMaxS <path to the above created Reg-MaxS parameter file>
You need to open this .py file in a editor and change variables as needed. The detailed usage instructions of this script are provided at the top of it. Two different use cases have been illustrated using three examples. Take a look at them and modify the script according to your needs.
After editing the "constructRegMaxSNParFile.py" as needed, create a parameter file as below:
python <path to your Reg-MaxS Workspace>/utilityScripts/constructRegMaxSNParFile.py
Run Reg-MaxS-N with this parameter file:
python -m regmaxsn.scripts.algorithms.RegMaxSN <path to the above created Reg-MaxS-N parameter file>