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 all samples 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 resulting file will be saved in your default home directory and is ready for batch correction and further analysis.
Metadata
Release files for scprel 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scprel-1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scprel-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / scprel-1.2.tar.gz
| Download URL | scprel-1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
569eb489de1dad688e6536e6a9f756d3e810c3b4fcabbbd16033053ed1755f52
|
|
BLAKE2b-256 checksum How to use checksums |
494a5d3ca190f2f1472ea8c2f83cd528aad695b44499b0db0ceda6a344ce9ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.5
|
Release files / scprel-1.2-py3-none-any.whl
| Download URL | scprel-1.2-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bff67db380a80c9fd7a430dee13e7a20df0c9d1d5bbc2af1c5a9091f27daf28f
|
|
BLAKE2b-256 checksum How to use checksums |
15b977f1b3746ec3b7bc0f6a146112db8ef0c1b3ab1c407ede3886a8722c0bed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.5
|