Skip to main content

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

Tests Documentation PyPI

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

  1. Install the latest release of infercnvpy from PyPI <https://pypi.org/project/infercnvpy/>_:
pip install infercnvpy
  1. 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


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.6.0.tar.gz (8.5 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: infercnvpy-0.6.0.tar.gz
  • Upload date:
  • Size: 8.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for infercnvpy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5d52887adf76c936aa5e8484edd40edcd3c2ad833902d4c81df872353cec0eb2
MD5 2544a91485f90bf13f63bae440ebb613
BLAKE2b-256 b29ca29cf03477ae9cd5065c16be703cda89e9b910da1f0e8f07b7fded524eeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for infercnvpy-0.6.0.tar.gz:

Publisher: release.yaml on icbi-lab/infercnvpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: infercnvpy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for infercnvpy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64f6e8d3dc790b188ecf85cb209a18002239536b305f0791650d82d14f652bca
MD5 9986fe6b87b38f5178bd3404072688c6
BLAKE2b-256 6596a914eccc8645419d46922b74a9aeb559e626a3bfde796343991a5fa0791a

See more details on using hashes here.

Provenance

The following attestation bundles were made for infercnvpy-0.6.0-py3-none-any.whl:

Publisher: release.yaml on icbi-lab/infercnvpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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