Sagittarius-api-test


NameSagittarius-api-test JSON
Version 0.13 PyPI version JSON
download
home_pagehttps://github.com/addiewc/Sagittarius
Summary
upload_time2022-12-05 20:15:25
maintainer
docs_urlNone
authorSheng Wang Lab
requires_python
licenseMIT
keywords example project
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Sagittarius
Gene expression time-series extrapolation for heterogeneous data

## Introduction
Sagittarius is a model for temporal gene expression extrapolation simulate unmeasured gene expression data from unaligned, heterogeneous time series data. This is a python repository to simulate transcriptomic profiles at time points outside of the range of time points available in the measured data.

https://github.com/addiewc/Sagittarius

## Installation Tutorial

```
pip install Sagittarius
```


### System Requirements
Sagittarius is implemented using Python 3.9 on LINUX. Sagittairus expects torch==1.9.1+cu11.1, numpy==1.21.2, pandas==1.3.3, scikit-learn=0.24.2, matplotlib==3.4.3, seaborn==0.11.2, umap-learn=0.5.1, anndata=0.8.0, statsmodels==0.13.0, tqdm==4.62.3, and so on. For best performance, Sagittarius can be run on a GPU. However, all experiments can also be run on a CPU by not setting the `--gpu` flag. Typical installation requires approximately 5 minutes.

## How to use our code

```
# Use pretrained_model
>>> from Sagittarius import simulate_measurements_webserver as smw
>>> smw.EvoDevoSimulation('Chicken', 'Heart', 2.0).head()
"""
            DPM1     GCLC      NFYA    NIPAL3     WNT16      ICA1    DBNDD1     ALS2     CFLAR     TFPI  ...      MRC1       GAN     MMP12   OTUD7B    STRADA     NCOA4   RASL10B    MMP28    H0YAA0    GRIN2B
timepoint                                                                                                   ...                                                                                                  
2.0        1.583706  1.51412  1.448546  1.438742  0.432965  1.305412  1.182693  1.27424  1.346429  1.37519  ...  0.369062  0.726691 -0.025032  1.20409  1.493279  1.722517  1.391992  1.04687  1.558734  0.317554
"""
```

```
# Use model and config
>>> from Sagittarius import simulate_measurements
>>> model_path = 'model.pth'
>>> config_file = 'cfg.json'
>>> species = ['chicken', 'human']
>>> organ = ['brain', 'cerebellum']
>>> timepoint = 2.0
>>> adata_res = simulate_measurements.simulate_single_EvoDevo(
    model_path, config_file, species, organ, timepoint)
```




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/addiewc/Sagittarius",
    "name": "Sagittarius-api-test",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "example project",
    "author": "Sheng Wang Lab",
    "author_email": "mingxz8@uw.edu",
    "download_url": "",
    "platform": null,
    "description": "# Sagittarius\nGene expression time-series extrapolation for heterogeneous data\n\n## Introduction\nSagittarius is a model for temporal gene expression extrapolation simulate unmeasured gene expression data from unaligned, heterogeneous time series data. This is a python repository to simulate transcriptomic profiles at time points outside of the range of time points available in the measured data.\n\nhttps://github.com/addiewc/Sagittarius\n\n## Installation Tutorial\n\n```\npip install Sagittarius\n```\n\n\n### System Requirements\nSagittarius is implemented using Python 3.9 on LINUX. Sagittairus expects torch==1.9.1+cu11.1, numpy==1.21.2, pandas==1.3.3, scikit-learn=0.24.2, matplotlib==3.4.3, seaborn==0.11.2, umap-learn=0.5.1, anndata=0.8.0, statsmodels==0.13.0, tqdm==4.62.3, and so on. For best performance, Sagittarius can be run on a GPU. However, all experiments can also be run on a CPU by not setting the `--gpu` flag. Typical installation requires approximately 5 minutes.\n\n## How to use our code\n\n```\n# Use pretrained_model\n>>> from Sagittarius import simulate_measurements_webserver as smw\n>>> smw.EvoDevoSimulation('Chicken', 'Heart', 2.0).head()\n\"\"\"\n            DPM1     GCLC      NFYA    NIPAL3     WNT16      ICA1    DBNDD1     ALS2     CFLAR     TFPI  ...      MRC1       GAN     MMP12   OTUD7B    STRADA     NCOA4   RASL10B    MMP28    H0YAA0    GRIN2B\ntimepoint                                                                                                   ...                                                                                                  \n2.0        1.583706  1.51412  1.448546  1.438742  0.432965  1.305412  1.182693  1.27424  1.346429  1.37519  ...  0.369062  0.726691 -0.025032  1.20409  1.493279  1.722517  1.391992  1.04687  1.558734  0.317554\n\"\"\"\n```\n\n```\n# Use model and config\n>>> from Sagittarius import simulate_measurements\n>>> model_path = 'model.pth'\n>>> config_file = 'cfg.json'\n>>> species = ['chicken', 'human']\n>>> organ = ['brain', 'cerebellum']\n>>> timepoint = 2.0\n>>> adata_res = simulate_measurements.simulate_single_EvoDevo(\n    model_path, config_file, species, organ, timepoint)\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.13",
    "split_keywords": [
        "example",
        "project"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e35d010327eb2116b5ad8818bf4f5ba4",
                "sha256": "c2cc97633e6af9a18fac24d115c74e27050a573c28877673b11d17c7f612919d"
            },
            "downloads": -1,
            "filename": "Sagittarius_api_test-0.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e35d010327eb2116b5ad8818bf4f5ba4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8551,
            "upload_time": "2022-12-05T20:15:25",
            "upload_time_iso_8601": "2022-12-05T20:15:25.993033Z",
            "url": "https://files.pythonhosted.org/packages/ce/97/3dc64c6def06e8648c776a0425aa34979212a09d86f21d16f5a77ca618e6/Sagittarius_api_test-0.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-05 20:15:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "addiewc",
    "github_project": "Sagittarius",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sagittarius-api-test"
}
        
Elapsed time: 0.01416s