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.
Quick Reference
- NEW: Docs are now on ReadTheDocs!
- Installation (more details)
- Intro to running MagellanMapper
- Using the viewers
- Command-line interface
- Configuration and settings
- Publications
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:
- Installer scripts, which install Miniconda and MagellanMapper without requiring command-line usage
- Installer packages, for point-and-click installation
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:
- Sample region of nuclei at 4x (
sample_region.zip
) - Sample downsampled tissue cleared whole brain (
sample_brain.zip
) - Allen Developing Mouse Brain Atlas E18.5 (
ADMBA-E18pt5.zip
)
Related publications and datasets
- For more information on the methods used for 3D atlas construction, please see: https://elifesciences.org/articles/61408
- For step-by-step instructions on using v1.3.x of the software, please see: https://currentprotocols.onlinelibrary.wiley.com/doi/abs/10.1002/cpns.104 (now open access on PubMed!); see ReadTheDocs for ongoing updates
- The 3D reconstructed versions of the Allen Developing Mouse Brain Atlas: https://search.kg.ebrains.eu/instances/Project/b8a8e2d3-4787-45f2-b010-589948c33f20
- Sample wild-type whole mouse brains at age P0: https://search.kg.ebrains.eu/instances/Dataset/2423e103-35e9-40cf-ab0c-0e3d08d24d5a
Licensed under the open-source BSD-3 license
Author: David Young, 2017, 2023, Stephan Sanders Lab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file magellanmapper-1.6b2.tar.gz
.
File metadata
- Download URL: magellanmapper-1.6b2.tar.gz
- Upload date:
- Size: 448.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5edb2ed74f712c9d19fb4a1b35fb21fed3e85542abeb5a508956abe0cd16653e |
|
MD5 | 2a3d543cdc2267d47f2973e87f6e4b0d |
|
BLAKE2b-256 | 7f393c4e22536bb63399f38a963b9ec369c29623703c823642b21633b1c557fc |
File details
Details for the file magellanmapper-1.6b2-py3-none-any.whl
.
File metadata
- Download URL: magellanmapper-1.6b2-py3-none-any.whl
- Upload date:
- Size: 484.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5e903dac7e9eabb941c1be7902d685b39963f2d1cc5ca862f18f3de17f3b9f |
|
MD5 | 82cfac72a0555ee583ee0c4ad603b3ae |
|
BLAKE2b-256 | 95a083ef74dda7a0809f5542082afe23a3be55da563d2e654cd9874856155702 |