gene-trajectory


Namegene-trajectory JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryCompute gene trajectories
upload_time2024-08-04 15:06:13
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords gene trajectory scrna-seq
VCS
bugtrack_url
requirements igraph matplotlib numpy pandas pot scanpy scikit-misc scikit-learn scipy seaborn tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Gene Trajectory
This package is a Python implementation of GeneTrajectory. 
The method is described in detail in the article [
Gene trajectory inference for single-cell data by optimal transport metrics](
https://doi.org/10.1038/s41587-024-02186-3).

Documentation and tutorials are available at https://genetrajectory-python.readthedocs.io
For the R implementation, go to the [GeneTrajectory](https://github.com/KlugerLab/GeneTrajectory) project. 


Note that, although the implementation is equivalent, it will produce slightly different results to the R implementation
because the signs of eigenvectors may differ and because of the randomness of K-means during the `coarse_grain` step. 


# Install #
The main version of the package can be installed as 
```
pip install gene-trajectory
```

If you are planning to run the tool in [Jupyter Notebook](https://jupyter.org/), the additional dependencies can be 
installed as
```
pip install 'gene-trajectory[widgets]'
```

The development version of the package can be installed as 
```
pip install git+https://github.com/Klugerlab/GeneTrajectory-python.git
```

# Tutorials #
There are tutorials in Jupyter Notebook format in the [online documentation](https://genetrajectory-python.readthedocs.io) 
and the [notebooks](https://github.com/KlugerLab/GeneTrajectory-python/tree/main/notebooks) folder of the GitHub project. 


# How to cite Gene Trajectory #
If you use this tool in your research and find it useful, you can cite the following reference from our paper
[Gene trajectory inference for single-cell data by optimal transport metrics](https://doi.org/10.1038/s41587-024-02186-3).
In Bibtex format:
```bibtex

@article{qu_gene_2024,
	title = {Gene trajectory inference for single-cell data by optimal transport metrics},
	issn = {1546-1696},
	url = {https://doi.org/10.1038/s41587-024-02186-3},
	doi = {10.1038/s41587-024-02186-3},
	abstract = {Single-cell RNA sequencing has been widely used to investigate cell state transitions and gene dynamics of biological processes. Current strategies to infer the sequential dynamics of genes in a process typically rely on constructing cell pseudotime through cell trajectory inference. However, the presence of concurrent gene processes in the same group of cells and technical noise can obscure the true progression of the processes studied. To address this challenge, we present GeneTrajectory, an approach that identifies trajectories of genes rather than trajectories of cells. Specifically, optimal transport distances are calculated between gene distributions across the cell–cell graph to extract gene programs and define their gene pseudotemporal order. Here we demonstrate that GeneTrajectory accurately extracts progressive gene dynamics in myeloid lineage maturation. Moreover, we show that GeneTrajectory deconvolves key gene programs underlying mouse skin hair follicle dermal condensate differentiation that could not be resolved by cell trajectory approaches. GeneTrajectory facilitates the discovery of gene programs that control the changes and activities of biological processes.},
	journal = {Nature Biotechnology},
	author = {Qu, Rihao and Cheng, Xiuyuan and Sefik, Esen and Stanley III, Jay S. and Landa, Boris and Strino, Francesco and Platt, Sarah and Garritano, James and Odell, Ian D. and Coifman, Ronald and Flavell, Richard A. and Myung, Peggy and Kluger, Yuval},
	month = apr,
	year = {2024},
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gene-trajectory",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Francesco Strino <francesco.strino@pcmgf.com>, Rihao Qu <rihao.qu@yale.edu>",
    "keywords": "Gene trajectory, scRNA-seq",
    "author": null,
    "author_email": "Francesco Strino <francesco.strino@pcmgf.com>, Rihao Qu <rihao.qu@yale.edu>",
    "download_url": "https://files.pythonhosted.org/packages/ca/a9/7ba05f97945021251e27ce4dc3e4d9ff448be379e789cabd95811550948a/gene_trajectory-1.0.4.tar.gz",
    "platform": null,
    "description": "# Python Gene Trajectory\nThis package is a Python implementation of GeneTrajectory. \nThe method is described in detail in the article [\nGene trajectory inference for single-cell data by optimal transport metrics](\nhttps://doi.org/10.1038/s41587-024-02186-3).\n\nDocumentation and tutorials are available at https://genetrajectory-python.readthedocs.io\nFor the R implementation, go to the [GeneTrajectory](https://github.com/KlugerLab/GeneTrajectory) project. \n\n\nNote that, although the implementation is equivalent, it will produce slightly different results to the R implementation\nbecause the signs of eigenvectors may differ and because of the randomness of K-means during the `coarse_grain` step. \n\n\n# Install #\nThe main version of the package can be installed as \n```\npip install gene-trajectory\n```\n\nIf you are planning to run the tool in [Jupyter Notebook](https://jupyter.org/), the additional dependencies can be \ninstalled as\n```\npip install 'gene-trajectory[widgets]'\n```\n\nThe development version of the package can be installed as \n```\npip install git+https://github.com/Klugerlab/GeneTrajectory-python.git\n```\n\n# Tutorials #\nThere are tutorials in Jupyter Notebook format in the [online documentation](https://genetrajectory-python.readthedocs.io) \nand the [notebooks](https://github.com/KlugerLab/GeneTrajectory-python/tree/main/notebooks) folder of the GitHub project. \n\n\n# How to cite Gene Trajectory #\nIf you use this tool in your research and find it useful, you can cite the following reference from our paper\n[Gene trajectory inference for single-cell data by optimal transport metrics](https://doi.org/10.1038/s41587-024-02186-3).\nIn Bibtex format:\n```bibtex\n\n@article{qu_gene_2024,\n\ttitle = {Gene trajectory inference for single-cell data by optimal transport metrics},\n\tissn = {1546-1696},\n\turl = {https://doi.org/10.1038/s41587-024-02186-3},\n\tdoi = {10.1038/s41587-024-02186-3},\n\tabstract = {Single-cell RNA sequencing has been widely used to investigate cell state transitions and gene dynamics of biological processes. Current strategies to infer the sequential dynamics of genes in a process typically rely on constructing cell pseudotime through cell trajectory inference. However, the presence of concurrent gene processes in the same group of cells and technical noise can obscure the true progression of the processes studied. To address this challenge, we present GeneTrajectory, an approach that identifies trajectories of genes rather than trajectories of cells. Specifically, optimal transport distances are calculated between gene distributions across the cell\u2013cell graph to extract gene programs and define their gene pseudotemporal order. Here we demonstrate that GeneTrajectory accurately extracts progressive gene dynamics in myeloid lineage maturation. Moreover, we show that GeneTrajectory deconvolves key gene programs underlying mouse skin hair follicle dermal condensate differentiation that could not be resolved by cell trajectory approaches. GeneTrajectory facilitates the discovery of gene programs that control the changes and activities of biological processes.},\n\tjournal = {Nature Biotechnology},\n\tauthor = {Qu, Rihao and Cheng, Xiuyuan and Sefik, Esen and Stanley III, Jay S. and Landa, Boris and Strino, Francesco and Platt, Sarah and Garritano, James and Odell, Ian D. and Coifman, Ronald and Flavell, Richard A. and Myung, Peggy and Kluger, Yuval},\n\tmonth = apr,\n\tyear = {2024},\n}\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Compute gene trajectories",
    "version": "1.0.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/KlugerLab/GeneTrajectory-python/issues",
        "Documentation": "https://github.com/KlugerLab/GeneTrajectory-python.git",
        "Repository": "https://github.com/KlugerLab/GeneTrajectory-python.git"
    },
    "split_keywords": [
        "gene trajectory",
        " scrna-seq"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4822dffb5a00809ec337269c180db53cdb2f72db93f672f2b66069f09ba36a2",
                "md5": "59474e2e6b3f536d6bcf744ab220ab5b",
                "sha256": "d8eb4127ed9e02a737f8b4d559b32eddd5add6b84a604001e0eea6ad68553bdd"
            },
            "downloads": -1,
            "filename": "gene_trajectory-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59474e2e6b3f536d6bcf744ab220ab5b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20940,
            "upload_time": "2024-08-04T15:06:11",
            "upload_time_iso_8601": "2024-08-04T15:06:11.973243Z",
            "url": "https://files.pythonhosted.org/packages/d4/82/2dffb5a00809ec337269c180db53cdb2f72db93f672f2b66069f09ba36a2/gene_trajectory-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "caa97ba05f97945021251e27ce4dc3e4d9ff448be379e789cabd95811550948a",
                "md5": "82daefb9bf3aac931bf543c7c9d88efd",
                "sha256": "133e22dd167cbc83b8d4ecffa98bfc623f98584b91d2ecf31b915aeb11072b73"
            },
            "downloads": -1,
            "filename": "gene_trajectory-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "82daefb9bf3aac931bf543c7c9d88efd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 16111,
            "upload_time": "2024-08-04T15:06:13",
            "upload_time_iso_8601": "2024-08-04T15:06:13.319203Z",
            "url": "https://files.pythonhosted.org/packages/ca/a9/7ba05f97945021251e27ce4dc3e4d9ff448be379e789cabd95811550948a/gene_trajectory-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 15:06:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KlugerLab",
    "github_project": "GeneTrajectory-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "igraph",
            "specs": [
                [
                    ">=",
                    "0.10"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    ">=",
                    "3.6"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.25"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    ">=",
                    "1.5"
                ]
            ]
        },
        {
            "name": "pot",
            "specs": [
                [
                    ">=",
                    "0.8.2"
                ]
            ]
        },
        {
            "name": "scanpy",
            "specs": [
                [
                    ">=",
                    "1.9.3"
                ]
            ]
        },
        {
            "name": "scikit-misc",
            "specs": [
                [
                    ">=",
                    "0.1.3"
                ]
            ]
        },
        {
            "name": "scikit-learn",
            "specs": [
                [
                    ">=",
                    "0.24"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    ">=",
                    "1.8"
                ]
            ]
        },
        {
            "name": "seaborn",
            "specs": [
                [
                    ">=",
                    "0.13"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    ">=",
                    "4.64.1"
                ]
            ]
        }
    ],
    "lcname": "gene-trajectory"
}
        
Elapsed time: 0.34108s