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.

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

We highly recommend installing cell-APP in a clean conda environment. To do so, you must have miniconda or anaconda installed.

Once a conda distribution has been installed:

  1. Create and activate a clean environment

     conda create -n cell-aap-env python=3.11.0
     conda activate cell-app-env
    
  2. Within this environment, install pip

     conda install pip
    
  3. Then install the package from PyPi (the package bears the name "cell-AAP;" a historical quirk)

     pip install cell-AAP --upgrade
    
  4. Finally detectron2 must be built from source, atop cell-AAP

     #For MacOS
     CC=clang CXX=clang++ ARCHFLAGS="-arch arm64" python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
    
     #For other operating systems 
     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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

cell_aap-1.0.2-py3-none-any.whl (62.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cell_aap-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 62.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bff672f2fbfbce6e221db15be6fac95deff5fffdc4313491736a8d9b7e57b7a9
MD5 3c857a3359e362d340efc94b90a9096d
BLAKE2b-256 96eb91c0d9d02ad7388bbed59b416409959b217429feebf4a5343e8a742e2b9a

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