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 with target_sum=1e4, leiden clustering, annotation of cell types with PanglaoDB database and infercnv calculations. It integrates some of the Scanpy, Decoupler, Infercnvpy and Anndata functions. It is designed to facilitate workflow when analyzing multiple samples. Each sample is analyzed and annotated separately and then they are concatenated

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 anndata.AnnData object, compressed with hdf5plugin, 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 obs table for resulting adata file

The resulting file will be saved in your default home directory and is ready for batch correction and further analysis.

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.11.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

scprel-1.1.11-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scprel-1.1.11.tar.gz
  • Upload date:
  • Size: 6.7 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.11.tar.gz
Algorithm Hash digest
SHA256 ab74646b37843be44c255b920f8b1927ca3c67dbdf2233868240d0b88d3b9892
MD5 030172b81fddb9d8e9dcb6940c02690e
BLAKE2b-256 c3a462b6f6e25b57b216e1274302b834fbb2d559516ebc0e9d177c29e2b4af26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scprel-1.1.11-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d854ccbf3a2950d53bcde158e12806858342694c4facd4bf8f194f24a0a23317
MD5 a44cbdb2682dfed64c79c3d0f89a7fb1
BLAKE2b-256 24bf066fe5b05632854983b0cadb93db9045790375b469deb22a230d9860b4af

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