Skip to main content

3D shape analysis using deep learning

Project description

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Python Version PyPI Downloads Wheel Development Status Tests Coverage Status Code style: black

Cellshape logo by Matt De Vries

3D single-cell shape analysis of cancer cells using geometric deep learning

This is a package for automatically learning and clustering cell shapes from 3D images. Please refer to our preprint on bioRxiv here

cellshape is available for everyone.

Graph neural network

https://github.com/Sentinal4D/cellshape-cloud Cellshape-cloud is an easy-to-use tool to analyse the shapes of cells using deep learning and, in particular, graph-neural networks. The tool provides the ability to train popular graph-based autoencoders on point cloud data of 2D and 3D single cell masks as well as providing pre-trained networks for inference.

Clustering

https://github.com/Sentinal4D/cellshape-cluster

Cellshape-cluster is an easy-to-use tool to analyse the cluster cells by their shape using deep learning and, in particular, deep-embedded-clustering. The tool provides the ability to train popular graph-based or convolutional autoencoders on point cloud or voxel data of 3D single cell masks as well as providing pre-trained networks for inference.

https://github.com/Sentinal4D/cellshape-voxel

Convolutional neural network

Cellshape-voxel is an easy-to-use tool to analyse the shapes of cells using deep learning and, in particular, 3D convolutional neural networks. The tool provides the ability to train 3D convolutional autoencoders on 3D single cell masks as well as providing pre-trained networks for inference.

Point cloud generation

https://github.com/Sentinal4D/cellshape-helper

Fig 1: cellshape workflow

Usage


For developers

  • Fork the repository
  • Clone your fork
git clone https://github.com/USERNAME/cellshape
  • Install an editable version (-e) with the development requirements (dev)
cd cellshape
pip install -e .[dev] 
  • To install pre-commit hooks to ensure formatting is correct:
pre-commit install
  • To release a new version:

Firstly, update the version with bump2version (bump2version patch, bump2version minor or bump2version major). This will increment the package version (to a release candidate - e.g. 0.0.1rc0) and tag the commit. Push this tag to GitHub to run the deployment workflow:

git push --follow-tags

Once the release candidate has been tested, the release version can be created with:

bump2version release

References

[1] An Tao, 'Unsupervised Point Cloud Reconstruction for Classific Feature Learning', GitHub Repo, 2020

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

cellshape-0.0.7rc0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

cellshape-0.0.7rc0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file cellshape-0.0.7rc0.tar.gz.

File metadata

  • Download URL: cellshape-0.0.7rc0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for cellshape-0.0.7rc0.tar.gz
Algorithm Hash digest
SHA256 cddad9a0910870ddcc9d6ce73a9b133e48f8938a062522e4b2e2be8d13b4a360
MD5 83e56b486bcdcb1a9fece1a2d3f525ff
BLAKE2b-256 db2c3e7fc411981356006d6226ce150492f9fa015e8e685b0649ce9dc8f38131

See more details on using hashes here.

File details

Details for the file cellshape-0.0.7rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for cellshape-0.0.7rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 2065b16fba264145fb0cd3aec105fbfa5e5239683e1c0bd01f279ac638fe528f
MD5 d1feb938fb3c568b1eac93ab0806db4f
BLAKE2b-256 e30976b96ccf678d00191087d3df2c089ad2f56425a82a95267c87ac1280e193

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page