Skip to main content

Linear Analysis of Midgut

Project description

Linear Analysis of Midgut

---------------LAM---------------

Linear Analysis of Midgut (LAM) is a tool for reducing the dimensionality of microscopy image–obtained data, and for subsequent quantification of variables and object counts while preserving spatial context. LAM’s intended use is to analyze whole Drosophila melanogaster midguts or their sub-regions for phenotypical variation due to differing nutrition, altered genetics, etc. Key functionality is to provide statistical and comparative analysis of variables along the whole length of the midgut for multiple sample groups. Additionally, LAM has algorithms for the estimation of feature-to-feature nearest distances and for the detection of cell clusters, both of which also retain the regional context. LAM also approximates sample widths and can perform multivariate border-region detection on sample groups. The analysis is performed after image processing and object detection. Consequently, LAM requires coordinate data of the features as input.

Installation

LAM is used in a Python (>=3.7, <3.9) environment and can be found on PyPI. It can be installed with command pip install lam. Note that by installing this way, you will be restricted to the settings on the GUI and/or the available command line arguments, and will not be able to alter settings.py.

You can alternatively install LAM from command line using the 'setup.py' by giving command: 'python setup.py install' while located inside the LAM-master -directory. Windows-users are recommended to install Shapely>=1.7.0 from a pre-compiled wheel found here in order to properly link GEOS and cython. The wheel can be installed with pip install path/to/wheel.

The distribution also includes docs/requirements.txt and docs/LAMenv.yml that can be used to install dependencies using pip or conda (Anaconda), respectively. Recommendation is to install LAM into its own virtual environment.

Usage

LAM is used by executing 'src/run.py' or with console command 'lam-run', both of which by default open up the graphical user interface. Settings can be handled through src/settings.py, but LAM also includes argument parsing for most important settings ('python src/run.py -h' OR 'lam-run -h'). Refer to 'docs/UserManual' for additional information. Several modules related to forming LAM-compatible folder structures can be found here.

A video tutorial series on LAM can be found on YouTube here.

Hietakangas lab also provides a stitching script that uses ImageJ to properly stitch tile scan images for object detection and following LAM analysis. The script can be found here.

For object segmentation and/or acquirement of label information, we also provide a wrapper package for StarDist called predictSD that includes several 3D deep learning models that have been trained on images from Aurox spinning disc confocal. The package can extract label information in a format that is directly usable by LAM.

Test data

The 'data/'-directory includes a small test dataset of two sample groups with four samples each. Note that the sample number is not enough for a proper analysis; in ideal circumstances, it is recommended that each sample group should have >=10 samples. Refer to user-manual for additional information.

Publication

  • Viitanen, A., Gullmets, J., Morikka, J., Katajisto, P., Mattila, J., & Hietakangas, V. (2021). An image analysis method for regionally defined cellular phenotyping of the Drosophila midgut. Cell Reports Methods, Sep 27th. https://doi.org/10.1016/j.crmeth.2021.100059

Additional Resources

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

Authors

Acknowledgments

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

LAM-0.4.3.tar.gz (801.1 kB view details)

Uploaded Source

Built Distribution

LAM-0.4.3-py3-none-any.whl (823.0 kB view details)

Uploaded Python 3

File details

Details for the file LAM-0.4.3.tar.gz.

File metadata

  • Download URL: LAM-0.4.3.tar.gz
  • Upload date:
  • Size: 801.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5

File hashes

Hashes for LAM-0.4.3.tar.gz
Algorithm Hash digest
SHA256 7c78be48bd0efdfe4899bf8ebb9dea4e7d93721a89595977282f473c93f0dd49
MD5 1aac2ea4282cba0463c6c3aff925861a
BLAKE2b-256 425cd43dbde17dcf930f2ae63d1278700d308830e7b758710fa9f3e74ade9249

See more details on using hashes here.

File details

Details for the file LAM-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: LAM-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 823.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5

File hashes

Hashes for LAM-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c4afa243b3b416a807331f161ade26433ce21da58a4b30cfdb3f91f5464482f
MD5 c29a29b7684635efa9e80bdcabfadca3
BLAKE2b-256 41a6021e728452246226a9e411f6723ec563c46a12f1e5c9b8c23eeb9e70ecb6

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