Skip to main content

PyPI version Known Vulnerabilities GitHub

ColonyScanalyser

An image analysis tool for measuring microorganism colony growth.

ColonyScanalyser will analyse and collate statistical data from cell-culture plate images. It provides fast, high-throughput image processing.

ColonyScanalyser can provide information on:

  • Colony appearance time
  • Colony growth over time
  • Growth and appearance time distribution (comparing colonies under different conditions)

ColonyScanalyser is suitable for analysing series of images from a fixed point that show the development of microorganism colonies over time.

Several image plots will be output after analysis is complete to enable quick verification of the data. A complete set of data is provided in CSV format for further study.

Getting Started

  • Install the prerequisites and package
  • Locate your image series in a folder e.g. /user/images/series1
  • Run the analysis using ColonyScanalyser
scanalyser /user/images/series1

There are various command line arguments that can alter the way the package is run. To see a list of arguments and information on each, run the command

scanalyser --help

Documentation

A full set of documentation is available at https://erik-white.github.io/ColonyScanalyser/

Prerequisites

Optionally use a virtual environment, such as Pipenv.

For testing:

Installing

Using pip

pip install colonyscanalyser

From github (requires git install)

git clone https://github.com/erik-white/colonyscanalyser.git
cd colonyscanalyser
pip install -e .

Testing

Install the package with the extra test packages: pip install colonyscanalyser[test]

Run the tests: pytest --cov colonyscanalyser

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the GPLv3 - see the LICENSE file for details

Acknowledgments

  • Levin-Reisman et al. for their work developing the ScanLag technique
  • Fabio Zanini for his original attempts at a Python implementation

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • Full unit test coverage
  • Type annotations on all functions

[0.3.2] - 2019-11-11

[0.3.1] - 2019-11-04

Fixed

  • Adjust setup to correctly find packages in implicit namespaces

[0.3.0] - 2019-11-04

Added

  • Added changelog

Changed

  • Update package to use src structure
  • Update setup for readme compatability with PyPi

[0.2.2] - 2019-11-02

Added

  • GitHub action for automatically linting and testing pushes
  • GitHub action for building and releasing package to PyPi

Fixed

  • Linting errors highlighted by flake8

[0.2.1] - 2019-10-31

Added

  • Graceful exit if no colonies are found
  • Workaround function to ensure correct plates are found in images

Changed

  • Improve Timepoint grouping by using distance comparison instead of rounding
  • Updated Scikit-image to v0.16

Removed

  • Depreciated Tk import
  • Removed depreciated regionprop coordinates

[0.2.0] - 2019-10-28

Added

  • Multiprocessing: greatly improves image processing speed
  • Now shows a progress bar when processing images
  • Snyk security checks for dependencies

Changed

  • Per image processing: now processes a single image at a time
  • Improve colony filtering, removes virtually all merged colonies
  • Updated readme with images and code examples

Fixed

  • Greatly reduced memory usage by using per-image processing
  • Filter out system files when locating images to process
  • Rare divide by zero error when processing colony object data

[0.1.2] - 2019-10-13

Inital release

Added

  • Image processing, plotting and data aggregation
  • Python package uploaded to PyPi

Metadata

Release files for colonyscanalyser 0.3.2

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

Source distribution (sdist)

Source distribution for colonyscanalyser 0.3.2
File Size Uploaded Provenance Actions
colonyscanalyser-0.3.2.tar.gz 21.6 kB Without provenance Details for colonyscanalyser-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 55.6 kB

Release files / colonyscanalyser-0.3.2.tar.gz

Download URL colonyscanalyser-0.3.2.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df23b03bba7b362baf6aa01d21d66b7727169f9f6bd8c5568fb114da8f419207
BLAKE2b-256 checksum
How to use checksums
f995d2e3585117315b795ddb352be511eacf4bbaaaf9acafc1a14b28347f15fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

Release files / colonyscanalyser-0.3.2-py3-none-any.whl

Download URL colonyscanalyser-0.3.2-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0a7def117f02e1264c11ac8e4ec4d680b02fe07a43c05a4441be66cb0836651
BLAKE2b-256 checksum
How to use checksums
05c2ab841d8b5121918e5e44dc8d3bbfbee93db4356360a6b88d2cc0969350fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

Security for colonyscanalyser 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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