DendroTweaks is a Python toolbox designed for creating and validating single-cell biophysical models with active dendrites.
It is available both as a standalone Python package and as a web-based application. This repository contains the code for the web-based application.
- Standalone Library: Explore the official documentation for detailed tutorials and API reference.
- Web Application: Access the GUI online via our platform at dendrotweaks.dendrites.gr.
- Quick Overview: Check out our e-poster, including a video demonstration, presented at the FENS Forum 2024 in Vienna.
For an in-depth understanding of DendroTweaks, refer to our publication in eLife:
Roman Makarov, Spyridon Chavlis, Panayiota Poirazi (2024).
DendroTweaks: An interactive approach for unraveling dendritic dynamics.
eLife 13:RP103324. https://doi.org/10.7554/eLife.103324.1
If you find DendroTweaks helpful for your research, please consider citing our work:
@article{Makarov2024,
title={DendroTweaks: An interactive approach for unraveling dendritic dynamics},
author={Makarov, Roman and Chavlis, Spyridon and Poirazi, Panayiota},
journal={eLife},
volume={13},
pages={RP103324},
year={2024},
doi={10.7554/eLife.103324.1}
}
This repository is organized as follows:
dendrotweaksapp/
│
├── app/
│ ├── presenter/ # Coordination of app components
│ │ ├── presenter.py # Main presenter class
│ │ └── ... # Mixins for the presenter class
│ │
│ ├── static/ # Static files (e.g., CSS, JS, user data)
│ ├── templates/ # HTML templates for the app
│ ├── view/
│ │ ├── view.py # Main view class
│ │ └── ... # Code to initialize GUI elements
│ │
│ ├── main.py # Main script to launch the Bokeh app
│ ├── bokeh_utils.py
│ ├── default_config.json # App configuration
│ ├── user_config.json # User preferences
│ ├── bokeh_utils.py
│ ├── utils.py
│ └── logger.py
│
├── environment.yml # Conda environment configuration
├── requirements.txt # Python dependencies for pip
├── README.md # Documentation and setup instructions
└── LICENSE # Project license
In this section, we will explain how to locally install DendroTweaks and run it in GUI mode via a Bokeh server.
Create and activate a conda environment using the provided environment.yml file:
conda env create -f environment.yml
conda activate dendrotweaksapp
Alternatively, install required packages using pip:
pip install -r requirements.txt
sudo apt-get install graphviz graphviz-dev
To run the Bokeh server and launch the app locally, use the following command:
bokeh serve --show app
This will start the Bokeh server and automatically open your default web browser to display the app.