scp-infer: Causal Inference using perturbed single-cell gene expression data
Apply a number of causal inference algorithms to experimental perturbed single-cell gene exression data. Built using scanpy
1. Installation
There are two options provied to setup the usage of this package.
- As a simple option we reccommend to first create a clean python envrionment, where care has to be taken to select the correct python version
3.11.13(otherwise older versions such as3.11.8or3.10.xshould work as well). Then this repository can be cloned, and the requirements listed inrequirements.txtinstalled using pip, e.g:
conda create -n <env-name> python=3.11.13
conda activate <env-name>
pip install -r requirements.txt
Activation of the environment for Jupyter:
ipython kernel install --user --name=<env-name>
- Alternatively we provide a dockerfile in
\docker-deployfor installing the package in a containerized environment. The image can be automatically configured with thedownload_infer_pkg.shexecutable, which would requiredocker-composeto be installed.
2. Tutorials:
under tutorials there are three jupyter notebooks giving examples of how to use the package:
- sergio-knockdown-run shows how synthetic gene expression data using SERGIO can be generated.
- synthetic_data gives an example of applying the GRN inference algorithms to a synthetically genrdated dataset.
- experimental_data gives an example of applying the GRN inference algorithms to experimental CRISPR screen data, where first pre-processing and annotation is carried out. The used dataset, which is already highly filtered, can be replaced with other experimental datasets, where then care has to be taken with precprocessing and feature selection.
2. Documentation:
For Documentation of the usage of all the included functions see: documentation - docs/build/html/index.html
2. Contents:
1. scp_infer
Module that cointains all of the functionality for GRN inference:
a. adata:
Data manipulation and annotation using Anndata/scanpy
b. inference:
Apllication of inference algorithms
c. eval:
Evaluation of predicted Networks using data-driven and biological approaches
d. utils:
A few utilites to help with the management e.g. of train and validation splits of Data and Evaluation of Networks on these.
1. sergio_kd
Module that cointains the functionality for synthetic data generation using SERGIO.
Metadata
Release files for scp-infer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scp_infer-0.0.1.tar.gz | 192.6 kB | Without provenance | Details for scp_infer-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scp_infer-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for scp_infer-0.0.1-py3-none-any.whl |
Total release size: 450.5 kB
Release files / scp_infer-0.0.1.tar.gz
| Download URL | scp_infer-0.0.1.tar.gz |
|---|---|
| Size | 192.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de65baae1365d33157722b3918f1fdb8996334b85047f1f06727aa23a5ed6d4c
|
|
BLAKE2b-256 checksum How to use checksums |
4c6d24833bd8692bb1f0f6d3634b7333c4364f136d418e6b1dbdbe99cf592920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / scp_infer-0.0.1-py3-none-any.whl
| Download URL | scp_infer-0.0.1-py3-none-any.whl |
|---|---|
| Size | 257.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
942a8d70830b61c7d1ce85931afd932169bbffa263b4dcbecda1407ee52db537
|
|
BLAKE2b-256 checksum How to use checksums |
808d4f444a74b2186b2bbf398a34546851915bbbb7eff4958e9d79c790974222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for scp-infer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.