scpair


Namescpair JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryscPair: boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases
upload_time2025-09-08 04:30:09
maintainerNone
docs_urlNone
authorHongru Hu, Gerald Quon
requires_python<3.13,>=3.10
licenseMIT
keywords single-cell multimodal scrna-seq atac-seq deep-learning bioinformatics genomics machine-learning neural-networks
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![DOI](https://zenodo.org/badge/684201494.svg)](https://zenodo.org/doi/10.5281/zenodo.12735192)

# 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.
![alt text](https://github.com/quon-titative-biology/scPair/blob/main/img/scPair_Fig_1.png)


---
### Package installation

#### Option 1: Using uv (Recommended)
First, install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you haven't already:

Then clone this repository and set up the environment:
```bash
git clone https://github.com/quon-titative-biology/scPair
cd scPair
uv sync
```

To activate the virtual environment:
```bash
source .venv/bin/activate
```

#### Option 2: Using conda
Users can choose to create the environment provided under this repository [(env file)](https://github.com/quon-titative-biology/scPair/blob/main/scpair.yml):
```bash
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](https://github.com/quon-titative-biology/scPair/blob/main/tutorials/README.md)

* 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}
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "scpair",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.10",
    "maintainer_email": null,
    "keywords": "single-cell, multimodal, scRNA-seq, ATAC-seq, deep-learning, bioinformatics, genomics, machine-learning, neural-networks",
    "author": "Hongru Hu, Gerald Quon",
    "author_email": "hrhu@ucdavis.edu",
    "download_url": "https://files.pythonhosted.org/packages/36/0a/0213c110e0536ede620c2986c963b99e5b7b28f5adb90645203cea8ea883/scpair-0.1.0.tar.gz",
    "platform": null,
    "description": "[![DOI](https://zenodo.org/badge/684201494.svg)](https://zenodo.org/doi/10.5281/zenodo.12735192)\n\n# scPair is a computational framework for boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases \n\nscPair, 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.\n![alt text](https://github.com/quon-titative-biology/scPair/blob/main/img/scPair_Fig_1.png)\n\n\n---\n### Package installation\n\n#### Option 1: Using uv (Recommended)\nFirst, install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you haven't already:\n\nThen clone this repository and set up the environment:\n```bash\ngit clone https://github.com/quon-titative-biology/scPair\ncd scPair\nuv sync\n```\n\nTo activate the virtual environment:\n```bash\nsource .venv/bin/activate\n```\n\n#### Option 2: Using conda\nUsers can choose to create the environment provided under this repository [(env file)](https://github.com/quon-titative-biology/scPair/blob/main/scpair.yml):\n```bash\nconda env create --file=scpair.yml\n```\n\nPyPI installation will be released soon.\n\n---\n### Package requirements\nscPair is implemented using `PyTorch 2.0.1`, `anndata 0.10.6`, and `scanpy 1.10.0` under `Python 3.10.x`. \n\nWe have tested it on Azure.\n\n---\n### [Tutorials](https://github.com/quon-titative-biology/scPair/blob/main/tutorials/README.md)\n\n* This repository is being updated periodically. For questions, please email hrhu@ucdavis.edu or create new issues under this repository.\n\n---\n### Updates\nPaper published in Nature Communications (Nov 15, 2024)\n\nData access (July 1, 2024)\n\nTutorial updates (July 1, 2024; Mar 6, 2024; Apr 25, 2024)\n\nFirst public release (Mar 1, 2024)\n\nRepo created (Aug 28, 2023)\n\n---\n\nIf it is helpful in your research, please consider citing it:\nhttps://www.nature.com/articles/s41467-024-53971-2\n\n```\n@software{scPair,\n  author = {Hu, Hongru and Quon, Gerald},\n  title = {scPair: boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases },\n  DOI = {https://zenodo.org/doi/10.5281/zenodo.12735192}\n  url = {https://github.com/quon-titative-biology/scPair/},\n  version = {0.1},\n  month = {7},\n  year = {2024}\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "scPair: boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases",
    "version": "0.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/quon-titative-biology/scPair/issues",
        "Documentation": "https://github.com/quon-titative-biology/scPair/blob/main/tutorials/README.md",
        "Homepage": "https://github.com/quon-titative-biology/scPair",
        "Repository": "https://github.com/quon-titative-biology/scPair"
    },
    "split_keywords": [
        "single-cell",
        " multimodal",
        " scrna-seq",
        " atac-seq",
        " deep-learning",
        " bioinformatics",
        " genomics",
        " machine-learning",
        " neural-networks"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fe0fabb8ba9cb1b7d027c12f31f7ce2ed056590c114ffa474a5963c62eeb2006",
                "md5": "76a5b1cd20a4fd75e28bc2df04126aaa",
                "sha256": "6d70c6cb2a0e50ed07efdd65db51a218dcaec7899109a933b4b1a6e20e5ccdde"
            },
            "downloads": -1,
            "filename": "scpair-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "76a5b1cd20a4fd75e28bc2df04126aaa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.10",
            "size": 27181,
            "upload_time": "2025-09-08T04:30:08",
            "upload_time_iso_8601": "2025-09-08T04:30:08.622992Z",
            "url": "https://files.pythonhosted.org/packages/fe/0f/abb8ba9cb1b7d027c12f31f7ce2ed056590c114ffa474a5963c62eeb2006/scpair-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "360a0213c110e0536ede620c2986c963b99e5b7b28f5adb90645203cea8ea883",
                "md5": "a09cea47393240045ac293af37a724bd",
                "sha256": "afec614218df0035bb3aada800f86c389456b11f621bbe33551886f9a2e496b4"
            },
            "downloads": -1,
            "filename": "scpair-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a09cea47393240045ac293af37a724bd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.10",
            "size": 27403,
            "upload_time": "2025-09-08T04:30:09",
            "upload_time_iso_8601": "2025-09-08T04:30:09.791690Z",
            "url": "https://files.pythonhosted.org/packages/36/0a/0213c110e0536ede620c2986c963b99e5b7b28f5adb90645203cea8ea883/scpair-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-08 04:30:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "quon-titative-biology",
    "github_project": "scPair",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "scpair"
}
        
Elapsed time: 0.94351s