Skip to main content

No project description provided

Project description

Cellular Annotation & Perception Pipeline

Description

Cell-APP automates the generation of cell masks (and classifications too!), enabling users to create custom instance segmentation training datasets in transmitted-light microscopy.

To learn more, read our preprint: https://www.biorxiv.org/content/10.1101/2025.01.23.634498v2.

For questions regarding installation or usage, contact: anishjv@umich.edu

Usage

  1. Users who wish to segment HeLa, U2OS, HT1080, or RPE-1 cell lines may try our pre-trained model. These models can be used through our GUI (see Installation) and their weights can be downloaded at: https://zenodo.org/communities/cellapp/records?q=&l=list&p=1&s=10. To learn about using pre-trained models through the GUI, see this video:

  2. Users who wish to segment their own cell lines may: (a) try our "general" model (GUI/weight download) or (b) train a custom model by creating an instance segmentation dataset via our Dataset Generation GUI (see Installation). To learn about creating custom datasets through the GUI, see this video:

Installation

cell-AAP requires Python 3.11–3.12. We recommend installing into a clean virtual environment (via conda or venv) to avoid dependency conflicts.

1. Create and activate an environment

With conda:

conda create -n cellapp -c conda-forge python=3.11
conda activate cellapp

Or with venv:

python -m venv cellapp
source cellapp/bin/activate  # Linux/Mac
cellapp\Scripts\activate     # Windows PowerShell

2. Install Pytorch:

conda install -c pytorch -c conda-forge pytorch torchvision #Mac
pip install torch torchvision #Linux/Windows

3. Install Cell-APP:

pip install cell-AAP

4. Finally, detectron2 must be built from source atop Cell-APP:

    
#Mac
CC=clang CXX=clang++ ARCHFLAGS="-arch arm64" python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'

#Linux/Windows
 python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'

Napari Plugin Usage

  1. To open napari simply type "napari" into the command line, ensure that you are working the correct environment
  2. To instantiate the plugin, navigate to the "Plugins" menu and hover over "cell-AAP"
  3. You should see three plugin options; two relate to Usage 1; one relates to Usage 2.

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

cell_aap-1.0.5.tar.gz (34.5 MB view details)

Uploaded Source

Built Distribution

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

cell_aap-1.0.5-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file cell_aap-1.0.5.tar.gz.

File metadata

  • Download URL: cell_aap-1.0.5.tar.gz
  • Upload date:
  • Size: 34.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for cell_aap-1.0.5.tar.gz
Algorithm Hash digest
SHA256 903e623ebfb351a7a314acc26e49ca418f6a087750bbe45823403da2e586df89
MD5 1c2a8baff1c1dfcf8e5aa233d024b9ab
BLAKE2b-256 074843619ec65dc33afe44905dfd91ac845c96991f6383c8bfc8d745b698101a

See more details on using hashes here.

File details

Details for the file cell_aap-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: cell_aap-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for cell_aap-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 daafe521c4fc97f3fb7691920d0caf4290a3bab1c9b4f8cf826c0e4c6328701f
MD5 a10690276012ffb8a2f7b0ae6311294d
BLAKE2b-256 ef19cb7dec615539e77edc5bd9caf5a7bdcb2fbadeef5df22345fc7d9feabd5d

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