Description
This package provides a scalable Python suite for fast tree inference and advanced pseudotime downstream analysis, with a focus on fate biasing. This package is compatible with anndata object format used in scanpy or scvelo pipelines. A complete documentation of this package is available here.
Tree inference algorithms
The user have the choice between two algorithm for tree inference:
ElPiGraph
For scTree, the python implementation of the ElPiGraph algorithm is used, which include GPU accelerated principal tree inference. A self-contained description of the algorithm is available here or in the related paper
A R implementation of this algorithm is also available, coded by Luca Albergante
A native MATLAB implementation of the algorithm (coded by Andrei Zinovyev and Evgeny Mirkes) is also available
Simple PPT
A simple PPT inspired approach, translated from the crestree R package, code has been also adapted to run on GPU for accelerated tree inference.
Citations
Code for PPT inference and most of downstream pseudotime analysis was initially written in a R package by Ruslan Soldatov for the following paper:
Soldatov, R., Kaucka, M., Kastriti, M. E., Petersen, J., Chontorotzea, T., Englmaier, L., … Adameyko, I. (2019). Spatiotemporal structure of cell fate decisions in murine neural crest. Science, 364(6444).
if you are using ElPiGraph, please cite :
Albergante, L., Mirkes, E. M., Chen, H., Martin, A., Faure, L., Barillot, E., … Zinovyev, A. (2020). Robust And Scalable Learning Of Complex Dataset Topologies Via Elpigraph. Entropy, 22(3), 296.
Installation
scFates 0.2 is now available on pypi, you can install it using:
pip install scFates
or the latest development version can be installed from GitHub:
pip install git+https://github.com/LouisFaure/scFates
Python dependencies
scFates gives the choice of between SimplePPT and ElPiGraph for learning a principal graph from the data. Elpigraph needs to be installed from its github repository with the following command:
pip install git+https://github.com/j-bac/elpigraph-python.git
R dependencies
scFates rely on the R package mgcv to perform testing and fitting of the features on the peudotime tree. Package is installed in an R session with the following command:
install.packages('mgcv')
GPU dependencies (optional)
If you have a nvidia GPU, scFates can leverage CUDA computations for speedups in some functions, for that you will need Rapids 0.17 installed.
Docker container
scFates can be run on a Docker container based on Rapids 0.17 container, which provide a gpu enabled environment with Jupyter Lab. Use the following command:
docker run --rm -it --gpus all -p 8888:8888 -p 8787:8787 -p 8786:8786 \
louisfaure/scfates:version-0.2
Metadata
Release files for scFates 0.2.0
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 |
|---|---|---|---|---|
| scFates-0.2.0.tar.gz | 32.9 MB | Without provenance | Details for scFates-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scFates-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for scFates-0.2.0-py3-none-any.whl |
Total release size: 58.0 MB
Release files / scFates-0.2.0.tar.gz
| Download URL | scFates-0.2.0.tar.gz |
|---|---|
| Size | 32.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b81fde3ee9c9250836ca7037cba2a026d6484910949b5ba9c2ed2d4586fd28ca
|
|
BLAKE2b-256 checksum How to use checksums |
df68d9a1a569fefcf04a1675bbd84d1a4c1de8d6ea75b7ac3a495f8812c48cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
|
Release files / scFates-0.2.0-py3-none-any.whl
| Download URL | scFates-0.2.0-py3-none-any.whl |
|---|---|
| Size | 25.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c510a025e857da397c6699f2520ac885abd7f3c7353552500157673377a4e159
|
|
BLAKE2b-256 checksum How to use checksums |
c803e6d43ebff092f8c1042ad9c4c84c3a2fd2a74d50119417207638fa7a77b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
|
Security for scFates 0.2.0
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.