Metadata-Version: 2.5
Name: infercnvpy
Version: 0.7.0
Summary: Infercnv is a scalable python library to infer copy number variation (CNV) events from single cell transcriptomics data. It is heavily inspired by InferCNV, but plays nicely with scanpy and is much more scalable.
Project-URL: Changelog, https://github.com/scverse/infercnvpy/releases
Project-URL: Documentation, https://infercnvpy.readthedocs.io/
Project-URL: Forum, https://discourse.scverse.org/
Project-URL: Homepage, https://github.com/scverse/infercnvpy
Project-URL: Issues, https://github.com/scverse/infercnvpy/issues
Project-URL: Source, https://github.com/scverse/infercnvpy
Author: Gregor Sturm
Maintainer-email: Gregor Sturm <mail@gregor-sturm.de>
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.
License-File: LICENSE
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: anndata>=0.12
Requires-Dist: leidenalg>=0.11
Requires-Dist: matplotlib>=3.10
Requires-Dist: numba>=0.61.2
Requires-Dist: numpy>=2.2
Requires-Dist: pandas>=2.3
Requires-Dist: pooch>=1.8
Requires-Dist: pybiomart>=0.2
Requires-Dist: pycairo>=1.20; sys_platform == 'win32'
Requires-Dist: scanpy<1.13,>=1.11
Requires-Dist: scipy>=1.15
Requires-Dist: scverse-misc[datasets]>=0.1.8
Requires-Dist: session-info2>=0.2
Requires-Dist: tqdm>=4.66
Provides-Extra: dask
Requires-Dist: anndata[dask,lazy]; extra == 'dask'
Provides-Extra: gtf
Requires-Dist: gtfparse>=3; extra == 'gtf'
Provides-Extra: scevan
Requires-Dist: rdata>=1; extra == 'scevan'
Provides-Extra: spatial
Requires-Dist: squidpy>=1.8.4; extra == 'spatial'
Description-Content-Type: text/markdown

# infercnvpy: 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://github.com/scverse/infercnvpy/actions/workflows/test.yaml/badge.svg
[link-tests]: https://github.com/scverse/infercnvpy/actions/workflows/test.yaml
[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 heavily inspired by [InferCNV][], but plays nicely with the [scverse ecoystem][] and is much more scalable.

[infercnv]: https://github.com/broadinstitute/inferCNV/wiki
[scverse ecosystem]: https://scverse.org/packages/#ecosystem

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

The results look similar, but not identical, to those of R inferCNV.
We are happy about feedback and contributions.

## Getting started

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

- [installation instructions][link-installation],
- [quickstart][link-quickstart],
- [tutorials][link-tutorials],
- [API documentation][link-api].

## Installation

You need Python 3.13 or newer. There are several options to install infercnvpy:

1. Install the latest release of `infercnvpy` from [PyPI][link-pypi]:

```bash
pip install infercnvpy
```

2. Install the latest development version:

```bash
pip install git+https://github.com/scverse/infercnvpy.git@main
```

## Release notes

See the [release notes on GitHub][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

See the [citation page][link-citation] of the documentation.

[scverse-discourse]: https://discourse.scverse.org/
[issue-tracker]: https://github.com/scverse/infercnvpy/issues
[changelog]: https://github.com/scverse/infercnvpy/releases
[link-docs]: https://infercnvpy.readthedocs.io/
[link-api]: https://infercnvpy.readthedocs.io/en/latest/api.html
[link-installation]: https://infercnvpy.readthedocs.io/en/latest/installation.html
[link-quickstart]: https://infercnvpy.readthedocs.io/en/latest/quickstart.html
[link-tutorials]: https://infercnvpy.readthedocs.io/en/latest/tutorials.html
[link-citation]: https://infercnvpy.readthedocs.io/en/latest/citation.html
