Skip to main content

Python library to infer copy number variation (CNV) from single-cell RNA-seq data

Project description

Build Status Documentation Status PyPI The uncompromising python formatter

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.

The main result of infercnv

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 Miniconda.

There are several alternative options to install infercnvpy:

  1. Install the latest release of infercnvpy from PyPI:

pip install infercnvpy
  1. Install the latest development version:

pip install git+https://github.com/icbi-lab/infercnvpy.git@master

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 release section.

Contact

Please use the issue tracker.

Citation

n/a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infercnvpy-0.3.0.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

infercnvpy-0.3.0-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file infercnvpy-0.3.0.tar.gz.

File metadata

  • Download URL: infercnvpy-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for infercnvpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3534b4a39e4bc37441800e9bbce31651f97902ea8190aca3aa776b0e821786bf
MD5 260dff4d76e22e3e1de20a4cfeecb5b6
BLAKE2b-256 6d6d53c47220e22de41fb2ce1a83111b9896c4d704099b7bb8d28045d5269a6b

See more details on using hashes here.

File details

Details for the file infercnvpy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: infercnvpy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for infercnvpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 206e89ba374a4bbed7e5abfcffb2948f9fda3216b4ed95b944c926573815254b
MD5 eb6400d58f4dc3563e9b7616f022e266
BLAKE2b-256 c46052a12b5fb4a843b80d9b556d2c567b9c07f0773aa40b1b36bdc8062a936f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page