Skip to main content

Dissecting Atlas-Registered Tissue (DART): align tissue images to an atlas and generate region ROIs for laser microdissection.

Project description

Overview

Dissecting Atlas-Registered Tissue (DART) aligns cell-stained images to the Allen Brain Atlas to allow for automatic brain region detection and excision with LEICA laser microdissection software.

DART enables:

  • Automated or semi-automated alignment of 2D brain slices to a 3D atlas (e.g., the Allen Brain Atlas CCFv3 2017) and atlas-based segmentation.
  • Automatic generation of ROI boundaries.
  • Seamless sample handling and integration with Leica LMD software for laser dissection.
DART Alignment Results
DART alignment results on various brain sections

Installation

DART can currently be installed via two methods:

  1. installation via PIP
  2. cloning the github repository and downloading auxiliary files

Regardless of installation method, DART is available only on Windows 11. It was tested on a computer with 192 GB RAM and 24 GB graphics card. Running DART on less powerful devices may cause issues with loading high-resolution atlases and significantly slow processing time.

Note: the installation processes will install the CPU platform version of PyTorch. To enable GPU-acceleration via CUDA, reinstall PyTorch with the desired version and compute platform by following the directions here.

PIP Install

DART is available as a PIP-installable package. It is recommended to make a virtual environment or custom conda environment, and install DART within that environment. Once the custom environment has been set up, follow these steps:

  1. PIP install DART with pip install dart-lmd
  2. Download the atlases with dart-download-atlases
  3. Run DART with dart-gui

Cloning this repository

DART can also be installed by cloning the repository and downloading auxiliary files. This is ideal for editing or contributing to the software and is necessary for running unit tests via pytest. To succesfully install DART with this method follow these steps:

  1. Clone this repository using git clone https://https://github.com/kebschulllab/Dissecting-Atlas-Registered-Tissue.git
  2. Set up a conda environment by navigating into the repository folder and using conda env create -f environment.yml
  3. From the repository folder, download the atlases using python -m dart.download_atlases
  4. To run the software as a user, call python -m dart from the root directory of the repository.

Additional Features of Cloned Repository

Installing DART via repository cloning enables several additional tools for developers:

  1. The automated tests can be run with pytest using either pytest --disable-warnings or python -m pytest --disable-warnings.
  2. Individual pages can be "demoed" by calling python -m dart.demo from the root directory of the repository. This opens up a GUI where users can select a specific page and view it without needing to proceed through the previous pages.

If Downloading the Atlases Fails

The atlases can be manually downloaded and extracted from the Zenodo archive. These atlases should be extracted to the folder dart/dart/atlases.

Note: The atlases folder should have 5 subfolders, and each of those should have 3 subfiles titled label.nrrd, reference.nrrd, and names_dict.csv.

Input Data

To use this tool, you will need to provide the following information:

  • 3D Reference Atlas with cell stain and region annotations (included in installation if using Allen Brain Atlas)
  • A folder containing cell stained images from LEICA LDM on slides

Usage

To use DART, please refer to our tutorial.

License

Contributing

For support or issues, please open an “Issue” on our GitHub repository. To contribute to the software, please refer to our Contribution guidelines

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dart_lmd-1.2.0.tar.gz (40.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dart_lmd-1.2.0-py3-none-any.whl (40.4 MB view details)

Uploaded Python 3

File details

Details for the file dart_lmd-1.2.0.tar.gz.

File metadata

  • Download URL: dart_lmd-1.2.0.tar.gz
  • Upload date:
  • Size: 40.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dart_lmd-1.2.0.tar.gz
Algorithm Hash digest
SHA256 2c5760f642613542a37e98e771fff6e0c3a256c44bdf5605fb7c3161d5044763
MD5 08cee2a0833be8d6d2d63ca71d6e2c2a
BLAKE2b-256 d0d7d5a8830aad349ebca70fa4c858945d1a8ae9dc29889747d7981512452a83

See more details on using hashes here.

File details

Details for the file dart_lmd-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: dart_lmd-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dart_lmd-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78318f7d9561c6ce282512809d69e2f26e9bd37a0c31e6dd10bb1930bb8b0611
MD5 46933637a55d5ee63f5d1ec927c1280a
BLAKE2b-256 c27fb86ee77c68d7c349d33fa67df669d0b942cfaddba65347df605dcd1a0da2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page