Skip to content

two GUI tools for analyzing the connective properties of PAM-type dopaminergic neurons in Drosophila Melanogaster (using the Drosophila Hemibrain connectome dataset)

Notifications You must be signed in to change notification settings

owaldlab/2024_DANModulation

Repository files navigation

2024_DANModulation

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.

Screenshot of GUI tools


Getting Started

Follow these steps to set up and run the Python script from this repository on your local machine.

Prerequisites

Ensure you have the following installed:

Step-by-Step Guide

1. Clone the Repository

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.

2. Install venv

A virtual environment to manage the project's dependencies. Run the following commands:

pip install virtualenv

3. Navigate to the Project Directory

Change your directory to the newly cloned repository:

cd <your-repo-directory>

Replace <your-repo-directory> with the name of your repository folder.

4. Activate the Virtual Environment

Activate the virtual environment within the project folder to isolate your project dependencies from other projects.

On macOS/Linux:

source venv/bin/activate

On Windows:

.\venv\Scripts\activate

5. Install Dependencies

With the virtual environment activated, install the required dependencies listed in the requirements.txt file:

pip install -r requirements.txt

6. Run the Python Script

Now you can run PAMSynapsePlotter.py or PAMConnectionGrapher.py

python PAMSynapsePlotter.py

Deactivating the Virtual Environment

Once you are done, deactivate the virtual environment by running:

deactivate

Additional Information

  • If you need to install additional packages, use pip install <package-name> and then update requirements.txt with pip 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

About

two GUI tools for analyzing the connective properties of PAM-type dopaminergic neurons in Drosophila Melanogaster (using the Drosophila Hemibrain connectome dataset)

Resources

Stars

Watchers

Forks

Packages

No packages published