This project analyzes the connective properties of PAM-type dopaminergic neurons in Drosophila Melanogaster, using the Drosophila Hemibrain connectome dataset. It features two python scripts with a GUI: PAMConnectionGrapher and PAMSynapsePlotter.
They allow quick, and dynamic visualization of connectomic information across multiple dimensions and employing different filters.
- Connection Grapher:
- Visualizes a stacked bar chart of incoming and outgoing connections of any PAM neuron type or instance to all other types or instances of PAM or any neuron. It furthermore allows anatomical filtering (mushroom body, non mushroom body).
- Synapse Plotter:
- Visualizes 2D projections of synapses to/from any PAM instance or type, coloring them based on connection modality (e.g. same type, same instance, etc.) and anatomical location (mushroom body, non-mushroom body).
- Allows anatomical filtering.
Follow these steps to set up and run the Python script from this repository on your local machine.
Ensure you have the following installed:
First, clone the repository to your local machine. Open your terminal (or Git Bash on Windows) and run:
git clone <your-repo-url>
Replace <your-repo-url>
with the URL of your Git repository.
A virtual environment to manage the project's dependencies. Run the following commands:
pip install virtualenv
Change your directory to the newly cloned repository:
cd <your-repo-directory>
Replace <your-repo-directory>
with the name of your repository folder.
Activate the virtual environment within the project folder to isolate your project dependencies from other projects.
source venv/bin/activate
.\venv\Scripts\activate
With the virtual environment activated, install the required dependencies listed in the requirements.txt
file:
pip install -r requirements.txt
Now you can run PAMSynapsePlotter.py or PAMConnectionGrapher.py
python PAMSynapsePlotter.py
Once you are done, deactivate the virtual environment by running:
deactivate
- If you need to install additional packages, use
pip install <package-name>
and then updaterequirements.txt
withpip freeze > requirements.txt
. - Make sure to always activate the virtual environment when working on this project to avoid conflicts with other projects' dependencies.
Created by Tim Farkas at Owald Lab under supervision by David Owald, Marcel Heim, Sri R. Jagannathan