infercnvpy: Scanpy plugin to infer copy number variation (CNV) from single-cell transcriptomics data
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.
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. In particular, the
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.
There are several alternative options to install infercnvpy:
- Install the latest release of
infercnvpyfromPyPI <https://pypi.org/project/infercnvpy/>_:
pip install infercnvpy
- Install the latest development version:
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 automatically
detects your R installation. If you get an error message while importing infercnvpy,
try setting the R_HOME environment variable before importing infercnvpy:
import os
os.environ["R_HOME"] = "/usr/lib/R"
import infercnvpy
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
Citation
n/a
Release files for infercnvpy 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| infercnvpy-0.6.1.tar.gz | 8.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| infercnvpy-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 MB
Release files / infercnvpy-0.6.1.tar.gz
| Download URL | infercnvpy-0.6.1.tar.gz |
|---|---|
| Size | 8.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0dbfd6af3c11f2a2a92628033dc377ed51ad86950afb05da17c27475d4acff1
|
|
BLAKE2b-256 checksum How to use checksums |
185b9475787edad1e9db0c05a86f2d054f66c5cd2f8224e2ad0321e3289ee124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2025.
Transparency logRelease files / infercnvpy-0.6.1-py3-none-any.whl
| Download URL | infercnvpy-0.6.1-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42f12f92897f21ff1e09524cf57741807dd60aba4efb8356f4df89db698115d6
|
|
BLAKE2b-256 checksum How to use checksums |
c798a7e59473efa091ef812a20470e38350ae6c113bc90a8b80e8c127830bcdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2025.
Transparency log