infercnvpy


Nameinfercnvpy JSON
Version 0.5.0 PyPI version JSON
download
home_pageNone
SummaryInfercnv is a scalable python library to infer copy number variation (CNV) events from single cell transcriptomics data. It is heavliy inspired by InferCNV, but plays nicely with scanpy and is much more scalable.
upload_time2024-06-26 12:15:09
maintainerNone
docs_urlNone
authorGregor Sturm
requires_python>=3.10
licenseBSD 3-Clause License Copyright (c) 2022, Gregor Sturm All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # infercnvpy: Scanpy plugin to infer copy number variation (CNV) from single-cell transcriptomics data

[![Tests][badge-tests]][link-tests]
[![Documentation][badge-docs]][link-docs]
[![PyPI][badge-pypi]][link-pypi]

[badge-tests]: https://img.shields.io/github/actions/workflow/status/icbi-lab/infercnvpy/test.yaml?branch=main
[link-tests]: https://github.com/icbi-lab/infercnvpy/actions/workflows/test.yml
[badge-docs]: https://img.shields.io/readthedocs/infercnvpy
[badge-pypi]: https://img.shields.io/pypi/v/infercnvpy?logo=PyPI
[link-pypi]: https://pypi.org/project/infercnvpy/

Infercnv is a scalable python library to infer copy number variation (CNV) events from single cell transcriptomics data. It is heavliy inspired by [InferCNV][], but plays nicely with [scanpy][] and is much more scalable.

[infercnv]: https://github.com/broadinstitute/inferCNV/wiki
[scanpy]: https://scanpy.readthedocs.io/en/stable/index.html

![The main result of infercnv](img/infercnv_heatmap.png)

**WARNING**:

**This package is still experimental. The results have not been validated,
except in that they look similar, but not identical, to the results of InferCNV.**

**We are happy about feedback and welcome contributions!**

## Getting started

Please refer to the [documentation][link-docs]. In particular, the

-   [API documentation][link-api].

## Installation

You need to have Python 3.10 or newer installed on your system. If you don't have
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).

There are several alternative options to install infercnvpy:

1. Install the latest release of `infercnvpy` from `PyPI <https://pypi.org/project/infercnvpy/>`\_:

```bash
pip install infercnvpy
```

2. Install the latest development version:

```bash
pip install git+https://github.com/icbi-lab/infercnvpy.git@main
```

To (optionally) run the `copyKAT` algorithm, you need a working R installation
and the [copykat][] package installed. Usually, if `R` is in your `PATH`, [`rpy2`][rpy2] automatically
detects your R installation. If you get an error message while importing `infercnvpy`,
try setting the `R_HOME` environment variable before importing infercnvpy:

```python
import os

os.environ["R_HOME"] = "/usr/lib/R"
import infercnvpy
```

[copykat]: https://github.com/navinlabcode/copykat#step-1-installation
[rpy2]: https://rpy2.github.io/

## Release notes

See the [changelog][changelog].

## Contact

For questions and help requests, you can reach out in the [scverse discourse][scverse-discourse].
If you found a bug, please use the [issue tracker][issue-tracker].

## Citation

n/a

[scverse-discourse]: https://discourse.scverse.org/
[issue-tracker]: https://github.com/icbi-lab/infercnvpy/issues
[changelog]: https://infercnvpy.readthedocs.io/latest/changelog.html
[link-docs]: https://infercnvpy.readthedocs.io
[link-api]: https://infercnvpy.readthedocs.io/en/latest/api.html

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "infercnvpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Gregor Sturm <gregor.sturm@i-med.ac.at>",
    "keywords": null,
    "author": "Gregor Sturm",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/34/ee/4a3652d7a329115e355efd3b347e5213c3db3cb30bc46d52a6f0fe07a76c/infercnvpy-0.5.0.tar.gz",
    "platform": null,
    "description": "# infercnvpy: Scanpy plugin to infer copy number variation (CNV) from single-cell transcriptomics data\n\n[![Tests][badge-tests]][link-tests]\n[![Documentation][badge-docs]][link-docs]\n[![PyPI][badge-pypi]][link-pypi]\n\n[badge-tests]: https://img.shields.io/github/actions/workflow/status/icbi-lab/infercnvpy/test.yaml?branch=main\n[link-tests]: https://github.com/icbi-lab/infercnvpy/actions/workflows/test.yml\n[badge-docs]: https://img.shields.io/readthedocs/infercnvpy\n[badge-pypi]: https://img.shields.io/pypi/v/infercnvpy?logo=PyPI\n[link-pypi]: https://pypi.org/project/infercnvpy/\n\nInfercnv is a scalable python library to infer copy number variation (CNV) events from single cell transcriptomics data. It is heavliy inspired by [InferCNV][], but plays nicely with [scanpy][] and is much more scalable.\n\n[infercnv]: https://github.com/broadinstitute/inferCNV/wiki\n[scanpy]: https://scanpy.readthedocs.io/en/stable/index.html\n\n![The main result of infercnv](img/infercnv_heatmap.png)\n\n**WARNING**:\n\n**This package is still experimental. The results have not been validated,\nexcept in that they look similar, but not identical, to the results of InferCNV.**\n\n**We are happy about feedback and welcome contributions!**\n\n## Getting started\n\nPlease refer to the [documentation][link-docs]. In particular, the\n\n-   [API documentation][link-api].\n\n## Installation\n\nYou need to have Python 3.10 or newer installed on your system. If you don't have\nPython installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).\n\nThere are several alternative options to install infercnvpy:\n\n1. Install the latest release of `infercnvpy` from `PyPI <https://pypi.org/project/infercnvpy/>`\\_:\n\n```bash\npip install infercnvpy\n```\n\n2. Install the latest development version:\n\n```bash\npip install git+https://github.com/icbi-lab/infercnvpy.git@main\n```\n\nTo (optionally) run the `copyKAT` algorithm, you need a working R installation\nand the [copykat][] package installed. Usually, if `R` is in your `PATH`, [`rpy2`][rpy2] automatically\ndetects your R installation. If you get an error message while importing `infercnvpy`,\ntry setting the `R_HOME` environment variable before importing infercnvpy:\n\n```python\nimport os\n\nos.environ[\"R_HOME\"] = \"/usr/lib/R\"\nimport infercnvpy\n```\n\n[copykat]: https://github.com/navinlabcode/copykat#step-1-installation\n[rpy2]: https://rpy2.github.io/\n\n## Release notes\n\nSee the [changelog][changelog].\n\n## Contact\n\nFor questions and help requests, you can reach out in the [scverse discourse][scverse-discourse].\nIf you found a bug, please use the [issue tracker][issue-tracker].\n\n## Citation\n\nn/a\n\n[scverse-discourse]: https://discourse.scverse.org/\n[issue-tracker]: https://github.com/icbi-lab/infercnvpy/issues\n[changelog]: https://infercnvpy.readthedocs.io/latest/changelog.html\n[link-docs]: https://infercnvpy.readthedocs.io\n[link-api]: https://infercnvpy.readthedocs.io/en/latest/api.html\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2022, Gregor Sturm All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
    "summary": "Infercnv is a scalable python library to infer copy number variation (CNV) events from single cell transcriptomics data. It is heavliy inspired by InferCNV, but plays nicely with scanpy and is much more scalable.",
    "version": "0.5.0",
    "project_urls": {
        "Documentation": "https://infercnvpy.readthedocs.io/",
        "Home-page": "https://github.com/icbi-lab/infercnvpy",
        "Source": "https://github.com/icbi-lab/infercnvpy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2f37bcf346e9321a499c3791f73238dde34f26b2c1dccfdf1bb7c43c0c46603",
                "md5": "4f5b94a41fd7c53e326db5f16af2dca3",
                "sha256": "0677a0777a6a0bd45168cc5c848d4c2f42037e7a015f93d022df4aafde69f77c"
            },
            "downloads": -1,
            "filename": "infercnvpy-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f5b94a41fd7c53e326db5f16af2dca3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3755869,
            "upload_time": "2024-06-26T12:15:06",
            "upload_time_iso_8601": "2024-06-26T12:15:06.567506Z",
            "url": "https://files.pythonhosted.org/packages/f2/f3/7bcf346e9321a499c3791f73238dde34f26b2c1dccfdf1bb7c43c0c46603/infercnvpy-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34ee4a3652d7a329115e355efd3b347e5213c3db3cb30bc46d52a6f0fe07a76c",
                "md5": "288ed35678d8d709aeb6d192f7e6304d",
                "sha256": "15c492a4f22db0ccb1055b4b0af1fadd0aa93ca73ac377853ad6bf5c4eb4982d"
            },
            "downloads": -1,
            "filename": "infercnvpy-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "288ed35678d8d709aeb6d192f7e6304d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8459638,
            "upload_time": "2024-06-26T12:15:09",
            "upload_time_iso_8601": "2024-06-26T12:15:09.359096Z",
            "url": "https://files.pythonhosted.org/packages/34/ee/4a3652d7a329115e355efd3b347e5213c3db3cb30bc46d52a6f0fe07a76c/infercnvpy-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-26 12:15:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "icbi-lab",
    "github_project": "infercnvpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "infercnvpy"
}
        
Elapsed time: 0.86332s