A tool for heart segmentation and congenital heart defect detection in mice.
Project description
Napari plugin for MouseCHD project
Tool for heart segmentation and congenital heart defect detection in mice.
Installation
There are several ways to run the plugin: (1) from bundle, (2) Containers (Docker or Apptainer), (3) from code
From Bundle
(1) Install Napari by following this instruction https://napari.org/stable/tutorials/fundamentals/installation.html#install-as-a-bundled-app
(2) Install mousechd-napari plugin:
* Run Napari
* Plugins --> Install/Uninstall Plugins ... --> Search for mousechd-napari --> Click on install.
(3) Restart Napari to run the plugin
Containers
Docker
Pull docker
sudo docker pull hoanguyen93/mousechd-napari
Run MouseCHD Plugin
-
Run plugin with local resources:
sudo docker run --gpus all -v <path/to/home/on/host>:<path/to/home/on/host> -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napariExample:
sudo docker run --gpus all -v /home/hnguyent:/home/hnguyent -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napariOpen this link on your browser: http://localhost:9876/
-
Run plugin with server resources:
- Follow this instruction to setup running on server.
- Copy ~/.ssh folder to a temporary location, for example in ~/Downloads:
cp -r ~/.ssh ~/Downloads/ - Change ownership for temporary ~/Downloads/.ssh folder:
chown -R root:root ~/Downloads/.ssh - Run docker:
udo docker run --gpus all -v <path/to/home/on/host>:<path/to/home/on/host> -v /home/hnguyent/Downloads/.ssh:/root/.ssh:ro -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napari - Open this link on your browser: http://localhost:9876/
Known issues
- The plugin in docker container can't display 3D view, please choose 2D view to display the sample and images.
Apptainer (Singularity)
If you want to run with server resource, follow this instruction to setup running on server.
- Download Apptainer image
mousechd-napari.siffrom (Zenodo)[https://zenodo.org/records/14652180] or simply:wget https://zenodo.org/records/14652180/files/mousechd-napari.sif - Run the plugin:
apptainer exec \
--nv \
--bind /tmp/.X11-unix:/tmp/.X11-unix \
--env DISPLAY=$DISPLAY \
<path/to/mousechd-napari.sif> napari
From code
conda create -n mousechd_napari python=3.9
conda activate mousechd_napari
pip install "napari[all]"
pip install mousechd-napari
napari
How to use
Please find details instruction in folder docs
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mousechd_napari-0.0.4-py3-none-any.whl.
File metadata
- Download URL: mousechd_napari-0.0.4-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e53de2ccb31bd06629a90150e4c078d0f540d829bc8a6057432adab1ecbd498
|
|
| MD5 |
867e2e3d20b5cb867461e6675afaa246
|
|
| BLAKE2b-256 |
6d77d3c7e475a2b6c2114740b56ea8fa376d0806b67b97f972697a8dc04c135d
|