BioPII


NameBioPII JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/OckermanSethGVSU/BioPII
SummaryBioPII (Biology Parallel Integral Image) is a Python package for performing sliding window analysis (SWA) on biological images.
upload_time2023-08-29 22:24:50
maintainer
docs_urlNone
authorSeth Ockerman
requires_python
license
keywords biology integral image sliding window hpc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BioPII

BioPII (Biology Parallel Integral Image) is a Python package for performing sliding window analysis (SWA) on biological images. This package makes use of the integral image technique to drastically speedup SWA, enabling SWA analysis of images that would have been too large for previous SWA implementations. 

To use the package include the following statement at the top of your file: `from BioPII import PII`

To cite this package, cite our [IEEE CIBCB 2023 short paper](https://cmte.ieee.org/cis-bbtc/wp-content/uploads/sites/172/IEEE_CIBCB_2023_paper_2015.pdf).

This code and package is under the MIT License - copyright (c) Seth Ockerman

The package name is prounounced bio-pie :)

## Performance Numbers
We tested our summing SWA to determine its performance relative to past methods. We created a C++ SWA (referred to as DP-Naive) script which used dynamic programming to reduce the number of additions needed to be performed. DP-Naive SWA was already 400x faster than a naive approach (a simple four for loop approach) on small images and is used as the baseline for comparison to our integral-image-based methods. 

|                   | 30k by 30k | 30k by 30k Speedup | 40k by 50k | 40k by 50k Speedup | 60k by 60k | 60k by 60k Speedup |
|-------------------|------------|--------------------|------------|--------------------|------------|--------------------|
| **DP-Naive**      | 211,381,433| N/A                | 491,374,150| N/A                | 943,858,845     | N/A                |
| **Integral Image**            | 56,693     | 3728x              | 253,082    | 1942x               | 319,666    | 2953x               |
| **Parallel Integral Image**           | 20,137     | 10,497x             | 46,532     | 10,559x             | 86,583    | 10,901x            |

*Note: SWA runtime in milliseconds on different image sizes; speedups relative to DP-Naive Solution*


## Features

- Efficient computation for various biological image analysis tasks.
- Supports different types of SWA (Sliding Window Analysis) algorithms.
- Flexible window size selection for analyzing different cellular features.
- GPU acceleration option for faster computations.
- Works with numpy arrays for easy integration into existing workflows.

## Installation

You can install BioPII using pip:

``` pip3 install BioPII ```

## Documentation
Documentation can be found internally within our code and in the [documentation file](./documentation.md).  


### Note
The average-SWA-algorithm and std-deviation-SWA algorithm have not been as tested as extensively as the sum-SWA-algorithm. If you discover a bug, please reach out to [sockerman@cs.wisc.edu](mailto:sockerman@cs.wisc.edu).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OckermanSethGVSU/BioPII",
    "name": "BioPII",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Biology,Integral Image,Sliding Window,HPC",
    "author": "Seth Ockerman",
    "author_email": "ockermas@mail.gvsu.edu",
    "download_url": "https://files.pythonhosted.org/packages/7c/de/3d01ac80e80dd8a74d365d84df844facda55d239d9165a9f04aba47f8a39/BioPII-0.2.3.tar.gz",
    "platform": null,
    "description": "# BioPII\n\nBioPII (Biology Parallel Integral Image) is a Python package for performing sliding window analysis (SWA) on biological images. This package makes use of the integral image technique to drastically speedup SWA, enabling SWA analysis of images that would have been too large for previous SWA implementations. \n\nTo use the package include the following statement at the top of your file: `from BioPII import PII`\n\nTo cite this package, cite our [IEEE CIBCB 2023 short paper](https://cmte.ieee.org/cis-bbtc/wp-content/uploads/sites/172/IEEE_CIBCB_2023_paper_2015.pdf).\n\nThis code and package is under the MIT License - copyright (c) Seth Ockerman\n\nThe package name is prounounced bio-pie :)\n\n## Performance Numbers\nWe tested our summing SWA to determine its performance relative to past methods. We created a C++ SWA (referred to as DP-Naive) script which used dynamic programming to reduce the number of additions needed to be performed. DP-Naive SWA was already 400x faster than a naive approach (a simple four for loop approach) on small images and is used as the baseline for comparison to our integral-image-based methods. \n\n|                   | 30k by 30k | 30k by 30k Speedup | 40k by 50k | 40k by 50k Speedup | 60k by 60k | 60k by 60k Speedup |\n|-------------------|------------|--------------------|------------|--------------------|------------|--------------------|\n| **DP-Naive**      | 211,381,433| N/A                | 491,374,150| N/A                | 943,858,845     | N/A                |\n| **Integral Image**            | 56,693     | 3728x              | 253,082    | 1942x               | 319,666    | 2953x               |\n| **Parallel Integral Image**           | 20,137     | 10,497x             | 46,532     | 10,559x             | 86,583    | 10,901x            |\n\n*Note: SWA runtime in milliseconds on different image sizes; speedups relative to DP-Naive Solution*\n\n\n## Features\n\n- Efficient computation for various biological image analysis tasks.\n- Supports different types of SWA (Sliding Window Analysis) algorithms.\n- Flexible window size selection for analyzing different cellular features.\n- GPU acceleration option for faster computations.\n- Works with numpy arrays for easy integration into existing workflows.\n\n## Installation\n\nYou can install BioPII using pip:\n\n``` pip3 install BioPII ```\n\n## Documentation\nDocumentation can be found internally within our code and in the [documentation file](./documentation.md).  \n\n\n### Note\nThe average-SWA-algorithm and std-deviation-SWA algorithm have not been as tested as extensively as the sum-SWA-algorithm. If you discover a bug, please reach out to [sockerman@cs.wisc.edu](mailto:sockerman@cs.wisc.edu).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "BioPII (Biology Parallel Integral Image) is a Python package for performing sliding window analysis (SWA) on biological images.",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://github.com/OckermanSethGVSU/BioPII"
    },
    "split_keywords": [
        "biology",
        "integral image",
        "sliding window",
        "hpc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b65202785191022e22a36006c7ab885ac95bb644d79a59c17537b8a101c9468",
                "md5": "b862b0d919485352859d3d1890ce6d6a",
                "sha256": "f11c84331e7ce8dfb900553b1a94b108fcba12b3d0abcbe8cf1a1e9b1a5a1097"
            },
            "downloads": -1,
            "filename": "BioPII-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b862b0d919485352859d3d1890ce6d6a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6611,
            "upload_time": "2023-08-29T22:24:46",
            "upload_time_iso_8601": "2023-08-29T22:24:46.549590Z",
            "url": "https://files.pythonhosted.org/packages/9b/65/202785191022e22a36006c7ab885ac95bb644d79a59c17537b8a101c9468/BioPII-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7cde3d01ac80e80dd8a74d365d84df844facda55d239d9165a9f04aba47f8a39",
                "md5": "28e31c1190f5244d3dfd9ce623f61555",
                "sha256": "5f7b8e855e70700a939ae86017822edd1e8e6d30422c6c8762b72c06a7b20339"
            },
            "downloads": -1,
            "filename": "BioPII-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "28e31c1190f5244d3dfd9ce623f61555",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8250,
            "upload_time": "2023-08-29T22:24:50",
            "upload_time_iso_8601": "2023-08-29T22:24:50.441378Z",
            "url": "https://files.pythonhosted.org/packages/7c/de/3d01ac80e80dd8a74d365d84df844facda55d239d9165a9f04aba47f8a39/BioPII-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-29 22:24:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OckermanSethGVSU",
    "github_project": "BioPII",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "biopii"
}
        
Elapsed time: 0.11890s