Skip to main content

mitosisanalyzer

License BSD-3 PyPI Python Version codecov

Plugin to track spindle poles in mitotic cells over time. It leverages Cellpose, OpenCV, and Scikit-Image for segmentation and Prefect and Dask for workflow orchestration.

Installation

You can install mitosisanalyzer via pip:

pip install mitosisanalyzer

To install latest development version :

pip install git+https://github.com/uvarc/mitosisanalyzer.git

Running the MitosisAnalyzer application

In a command line shell, run the following command:

mitosisanalyzer -i imagestack.nd2 -o my_outputdir -s 1 -d 2 -r 1

Command line arguments:

    -h, --help                                show this help message and exit
    -i INPUT, --input INPUT                   .nd2 file or directory with .nd2 files to be processed
    -o OUTPUT, --output OUTPUT                output file or directory
    -s SPINDLE, --spindle SPINDLE             channel # for tracking spindle poles
    -d DNA, --dna DNA                         channel # for tracking dna
    -r REFFRAME, --refframe REFFRAME          reference frame to determine spindle pole axis (0=autodetect based on cell long axis)
    -t THRESHOLD, --threshold THRESHOLD       threshold of cytoplasmic background signal in spindle channel; value relative to max 
                                              spindle intensity 0.0-1.0 (0.0=autodetect using Otsu)
    -b BLUR, --blur BLUR                      applies a gaussian blur before segmenting spindle poles. The value determines the 
                                              blurring radius; a value of 0 omits blurring.
    -c, --cellpose, --no-cellpose             use Cellpose to detect cell contour
    -f FRAMERATE, --framerate FRAMERATE       number of frames per second
    -e EXECUTOR, --executor EXECUTOR          set executor. Options: sequential, concurrent, dask
    -p PROCESSES, --processes PROCESSES       number or parallel processes

Contributing

Contributions are very welcome.

License

Distributed under the terms of the BSD-3 license, "mitosisanalyzer" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for mitosisanalyzer 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mitosisanalyzer 0.0.1
File Size Uploaded
mitosisanalyzer-0.0.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mitosisanalyzer 0.0.1
File Interpreter ABI Platform
mitosisanalyzer-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / mitosisanalyzer-0.0.1.tar.gz

Download URL mitosisanalyzer-0.0.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2884870955d49885b1a33f4ced1c2ac3c83419ba59e0e197d2c54397de205af3
BLAKE2b-256 checksum
How to use checksums
be12e65e274acdb0dc1deb09c8699835ea802348c2920dafd8037ab470c0b806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2025.

Transparency log

Release files / mitosisanalyzer-0.0.1-py3-none-any.whl

Download URL mitosisanalyzer-0.0.1-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1e3085ebca9566241b8461eb798dfc248da04549bbed19a8adfc71868ff4b4
BLAKE2b-256 checksum
How to use checksums
0f728871589a3fe0a13cee5fef577149d6188dfbcf998cf6b7a160d8f1ca2795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page