Transfer learning with Architecture Surgery on Single-cell data
Project description
|PyPI| |PyPIDownloads| |Docs| |travis|
scArches (PyTorch) - single-cell architecture surgery
.. raw:: html
This is a Pytorch version of scArches which can be found here <https://github.com/theislab/scArches/>
. scArches is a package to integrate newly produced single-cell datasets into integrated reference atlases. Our method can facilitate large collaborative projects with decentralise training and integration of multiple datasets by different groups. scArches is compatible with scanpy <https://scanpy.readthedocs.io/en/stable/>
, and hosts efficient implementations of all conditional generative models for single-cell data.
What can you do with scArches?
- Construct single or multi-modal (CITE-seq) reference atlases and share the trained model and the data (if possible).
- Download a pre-trained model for your atlas of interest, update it wih new datasets and share with your collaborators.
- Project and integrate query datasets on the top of a reference and use latent representation for downstream tasks, e.g.:diff testing, clustering, classification
What are different models?
scArches is itself and algorithm to map to project query on the top of reference datasets and is applicable to different models. Here we provide a short explanation and hints when to use which model. Our models are divided into three categories:
What are different models?
scArches is itself and algorithm to map to project query on the top of reference datasets and is applicable to different models. Here we provide a short explanation and hints when to use which model. Our models are divided into three categories:
Unsupervised
This class of algortihms need no cell type
labels, meaning that you can creat a reference and project a query without having access to cell type labeles.
We implemented two algorithms:
-
scVI (
Lopez et al.,2018 <https://www.nature.com/articles/s41592-018-0229-2>
_.): Requires access to raw counts values for data integration and assumes count distribution on the data (NB, ZINB, Poission). -
trVAE (
Lotfollahi et al.,2019 <https://arxiv.org/abs/1910.01791>
_.): It supports both normalized log tranformed or count data as input and applies additional MMD loss to have better mearging in the latent space.
Supervised and Semi-supervised
This class of algorithmes assume the user has access to cell type
labels when creating the reference data and usaully perfomr better integration
compared to. unsupervised methods. However, the query data still can be unlabaled. In addition to integration , you can classify your query cells using
these methods.
- scANVI (
Xu et al.,2019 <https://www.biorxiv.org/content/10.1101/532895v1>
_.): It neeeds cell type labels for reference data. Your query data can be either unlabeled or labeled. In case of unlabeled query data you can use this method to also classify your query cells using reference labels.
Multi-modal These algorithms can be used to contstruct multi-modal references atlas and map query data from either modalities on the top of the reference.
- totalVI (
Gayoso al.,2019 <https://www.biorxiv.org/content/10.1101/532895v1>
_.): This model can be used to build multi-modal CITE-seq reference atalses. Query datasets can be either from sc-RNAseq or CITE-seq. In addition to integrating query with reference one can use this model to impute the Proteins in the query datasets.
Usage and installation
See here <https://scarches.readthedocs.io/>
_ for documentation and tutorials.
Support and contribute
If you have a question or new architecture or a model that could be integrated into our pipeline, you can
post an issue <https://github.com/theislab/scarches/issues/new>
__ or reach us by email <mailto:cottoneyejoe.server@gmail.com,mo.lotfollahi@gmail.com,mohsen.naghipourfar@gmail.com>
_.
Reference
If scArches is useful in your research, please consider citing this preprint <https://www.biorxiv.org/content/10.1101/2020.07.16.205997v1/>
_.
.. |PyPI| image:: https://img.shields.io/pypi/v/scarches.svg :target: https://pypi-hypernode.com/project/scarches
.. |PyPIDownloads| image:: https://pepy.tech/badge/scarches :target: https://pepy.tech/project/scarches
.. |Docs| image:: https://readthedocs.org/projects/scarches/badge/?version=latest :target: https://scarches.readthedocs.io
.. |travis| image:: https://travis-ci.com/theislab/scarches.svg?branch=master :target: https://travis-ci.com/theislab/scarches
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scArches-0.3.0.tar.gz
.
File metadata
- Download URL: scArches-0.3.0.tar.gz
- Upload date:
- Size: 7.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201005 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3c7bcf880c5f49f07646c67db61ebea681ada6e270bd64576df2f4b827d72e |
|
MD5 | 0d56fa2e9f841f38e385af75f69b0edb |
|
BLAKE2b-256 | ff75ba08f56b39917b31eb28d2c6a4fefa7c6265f54da4176b02f19fe5443912 |
File details
Details for the file scArches-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: scArches-0.3.0-py3-none-any.whl
- Upload date:
- Size: 51.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201005 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088fa1cf7e9754ae4db923ba0d9c1bc86a68d4372098d0fe0f258196221bfb49 |
|
MD5 | 087e5a8492f160b190c35a2ee03734ea |
|
BLAKE2b-256 | 8a722b8eaaeccbacab1645ef4504c2d3e964d7623215b06e4d351b3d072cc46a |