Skip to main content

Single-cell data preprocessing for multiple samples.

Project description

Scprel - Single-Cell Data Preprocessing in Python

Import scprel as:

import scprel

This package allows to perform basic preprocessing steps for single-cell analysis of multiple samples. It includes scrublets detection, quality control, normalization, leiden clustering and infercnv calculations. It integrates some of the Scanpy, Decoupler, Infercnvpy and Anndata functions. It is designed to facilitate workflow when analyzing multiple samples.

Example of usage:

scprel.scrun(names = ['sample1', 'sample2'], path = '/content/drive/MyDrive/MyDirectory/')
  • names - list of sample names in your directory (.h5 format);
  • path - path to the directory with samples

The result of this function is the compressed adata file with concatenated samples, filtered by 'mt' and 'ribo' genes, with annotated gene locations and annotated tumor cells based on cnv score. All immune cells in the sample are considered reference cells for infercnv calculations. The resulting file will be saved in your default home directory and is ready for batch correction and further analysis.

alt text

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

scprel-1.1.7.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

scprel-1.1.7-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file scprel-1.1.7.tar.gz.

File metadata

  • Download URL: scprel-1.1.7.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for scprel-1.1.7.tar.gz
Algorithm Hash digest
SHA256 21719ba4a325fd5832fc1c670ae15f216982d8966fd7f2043183ef68d4038205
MD5 d36c0306a9a136f8d5a7fbb7ba77b06a
BLAKE2b-256 c63c7642016cdfead3b96bc54f9da5f3266d62ea04772f437f074b0dace9baae

See more details on using hashes here.

File details

Details for the file scprel-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: scprel-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for scprel-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 073fc18a15eaf162bbadf6c1873fc17746e0586fd4ecf4b87cb14d8fdb31c953
MD5 1144f520c940b69361ca9ce0f2a1c8b4
BLAKE2b-256 0d52744bb117bfb1e6a5a2c9f6e6e18239ab6d98509ff526fd0d5a5facb2d7af

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