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.
Project description
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.8 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
infercnvpy
fromPyPI <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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file infercnvpy-0.4.1.tar.gz
.
File metadata
- Download URL: infercnvpy-0.4.1.tar.gz
- Upload date:
- Size: 50.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14027b490630b1388f90d47b79a04f8cb3149905e7e1b107c2fc1c33b71038f4 |
|
MD5 | ebbad1e0b7336d1265eb020b9b430750 |
|
BLAKE2b-256 | 3ebfa777e95a6ae44de09a7901323224146912ecb2912c3684608d1681e75895 |
File details
Details for the file infercnvpy-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: infercnvpy-0.4.1-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31109a1d795589996fb1c5c6a0873857166ec9f584033830428a2c003915e3f0 |
|
MD5 | 7a343b6ff53e9bfb4bd65a9ca3611610 |
|
BLAKE2b-256 | 8aa44ea73f1a739ef30eb13c0a374e22c6a372fe4d9e23598b4f1ea0ace8f0fd |