Repository for the Synaptic Antibody Characterization Tool

View the Project on GitHub aksimhal/SynapseAnalysis

Synaptic Antibody Characterization Tool

This repository hosts the Synaptic Antibody Characterization Tool (SACT) - a framework to evaluate synaptic antibodies for array tomography (AT) applications. Paper:

This webpage contains the following: - Installation Guide - User Guide - Notes - Data location

This repository is maintained by Anish - email if you have any questions.

Installation Guide

Thanks for trying out the SACT. The following steps are recomended to install. It is strongly advised to install Anaconda and run the tool in a virutal environment. Steps 1 and 2 explain how to set up Anaconda, a python environment management system. Step 3 installs all the dependencies needed. Steps 4 & 5 install the actual tool itself.

Step 1

Download miniconda, which is a slimmed down version of Anaconda with Python 3.6 from The tool was written in Python 3.6 and is not backwards compatible with Python 2.7.

(optional) If you’re using linux, you might have to change permission of install file.

chmod u+x

Run installation script (different script name for different operating systems):


Step 2

Create virtual environment:

conda create --name synapse_analysis

Activate virtual environment:

source activate synapse_analysis

Step 3

Install dependencies:

conda install numpy scipy scikit-image shapely pandas xlsxwriter pillow xlrd
conda install --channel opencv3

Step 4

Clone the repository:

git clone

Step 5

Install in developer mode since the repository is in active development.

python develop

The ‘user guide’ section contains a link to a sample runme to see if things installed alright.

User Guide

Prior to running the program, the user has to create a file, similar to the example file linked to below. In this file, you have to create ‘queries’ - python dictionary objects with specify where the data is located, which channels are presynaptic and which ones are postsynaptic, and how many slices each channel’s puncta should span. Then, you have to specify which channel is the ‘antibody of interest’ and which antibodies are the ‘reference antibodies.’ The antibody of interest is the one you are trying to develop (ie PSD-95) and the ‘reference antibody’ is another anitbody (ie synapsin) used to determined colocalization or adjacency. Once these have been established, the main function runs the tool and outputs an excel sheet with the desired results.

Notes - Sample Runme

After installing the tool, navigate to and open Instructions on how to use the runme are included in the file included in the folder.

To run the data presented in the paper, navigate to The readme file in that directory explains what each file is for and what’s needed to run it.

Data Location

The data used for the paper is located here: