scPair: boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases
Project description
scPair is a computational framework for boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases
scPair, a deep learning framework for computational analysis of single cell multimodal data. scPair performs automatic, implicit feature selection to infer the features of each data modality that yield optimal mappings of cell states between data modalities. Our training procedure of scPair also addresses challenges of shallow sequencing of multimodal datasets by using higher depth unimodal data to learn robust covariance structure in each data modality, and in turn relies on multimodal data primarily for feature selection and integration of cell states between data modalities. We demonstrate that these two properties of scPair enable it to outperform existing methods on multimodal data analysis tasks such as cell state mapping and feature prediction, as well as simultaneous trajectory inference in both RNA and ATAC data components to identify time point-specific feature activity during cellular differentiation.
Package installation
Option 1: Using uv (Recommended)
First, install uv if you haven't already:
Then clone this repository and set up the environment:
git clone https://github.com/quon-titative-biology/scPair
cd scPair
uv sync
To activate the virtual environment:
source .venv/bin/activate
Option 2: Using conda
Users can choose to create the environment provided under this repository (env file):
conda env create --file=scpair.yml
PyPI installation will be released soon.
Package requirements
scPair is implemented using PyTorch 2.0.1, anndata 0.10.6, and scanpy 1.10.0 under Python 3.10.x.
We have tested it on Azure.
Tutorials
- This repository is being updated periodically. For questions, please email hrhu@ucdavis.edu or create new issues under this repository.
Updates
Paper published in Nature Communications (Nov 15, 2024)
Data access (July 1, 2024)
Tutorial updates (July 1, 2024; Mar 6, 2024; Apr 25, 2024)
First public release (Mar 1, 2024)
Repo created (Aug 28, 2023)
If it is helpful in your research, please consider citing it: https://www.nature.com/articles/s41467-024-53971-2
@software{scPair,
author = {Hu, Hongru and Quon, Gerald},
title = {scPair: boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases },
DOI = {https://zenodo.org/doi/10.5281/zenodo.12735192}
url = {https://github.com/quon-titative-biology/scPair/},
version = {0.1},
month = {7},
year = {2024}
}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scpair-0.1.0.tar.gz.
File metadata
- Download URL: scpair-0.1.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afec614218df0035bb3aada800f86c389456b11f621bbe33551886f9a2e496b4
|
|
| MD5 |
a09cea47393240045ac293af37a724bd
|
|
| BLAKE2b-256 |
360a0213c110e0536ede620c2986c963b99e5b7b28f5adb90645203cea8ea883
|
File details
Details for the file scpair-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scpair-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d70c6cb2a0e50ed07efdd65db51a218dcaec7899109a933b4b1a6e20e5ccdde
|
|
| MD5 |
76a5b1cd20a4fd75e28bc2df04126aaa
|
|
| BLAKE2b-256 |
fe0fabb8ba9cb1b7d027c12f31f7ce2ed056590c114ffa474a5963c62eeb2006
|