Skip to main content

3D atlas analysis and annotation

Project description

MagellanMapper

MagellanMapper is a graphical imaging informatics suite for 3D reconstruction and automated analysis of whole specimens and atlases. Its design philosophy is to make the raw 3D images as accessible as possible, simplify annotation from nuclei to atlases, and scale from the laptop or desktop to the cloud in cross-platform environments.

ROI Editor and Atlas Editor screenshots

Quick Reference

Installation

If you use Conda (available here), you can install MagellanMapper into a new environment:

conda env create -n mag -f https://raw.githubusercontent.com/sanderslab/magellanmapper/master/envs/environment_rel.yml

To run in this new environment named mag*:

conda activate mag
mm

* mm was added in v1.6.0 to launch from installed packages

Or install using Pip (virtual environment recommended):

pip install "magellanmapper[most]" --extra-index-url https://pypi.fury.io/dd8/

The extra index accesses a few customized dependencies for MagellanMapper.

Conda installs Java to import proprietary image file formats, which can also be installed separately when using Pip (eg from here).

For the latest updates and fixes, download from Git and install:

git clone https://github.com/sanderslab/magellanmapper.git
conda env create -n mag -f environment.yml
pip install -e ".[most]" --extra-index-url https://pypi.fury.io/dd8/
python run.py

Or for Pip, replace "magellanmapper[most]" with ".[most]".

More ways to install and run

See the install docs for more details, including:

Using MagellanMapper

MagellanMapper consists of a graphical user interface (GUI), command-line interface (CLI), and application programming interface (API) for Python programmatic access. See the GUI docs for graphical usage and the CLI docs for scripting.

For automated tasks, see the sample_cmds_bash.ipynb Jupyter Notebook (or the older sample_cmds.sh script) that shows examples of running the CLI and exploring images in the GUI. See ReadTheDocs for more details, including viewer shortcuts and customizing settings for your image analysis.

Have a question? Found a bug? Want a feature? Please ask!

Image file import

Large images or proprietary microscopy formats such as CZI can be imported by MagellanMapper into NumPy format, which allows on-the-fly loading to reduce memory requirements and initial loading time. In the "Import" tab, you can select files, view and update metadata, and import the files.

Medical imaging formats such as .mha (or .mhd/.raw) and .nii (or .nii.gz) can be opened with the SimpleITK/SimpleElastix library and do not require separate import.

Sample 3D data

To try out functions with sample images, download any of these files:

Related publications and datasets

Licensed under the open-source BSD-3 license

Author: David Young, 2017, 2023, Stephan Sanders Lab

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

magellanmapper-1.6b3.tar.gz (449.1 kB view hashes)

Uploaded Source

Built Distribution

magellanmapper-1.6b3-py3-none-any.whl (485.1 kB view hashes)

Uploaded Python 3

Supported by

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