Skip to main content

No project description provided

Project description

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-api

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Sagittarius_api-0.17-py3-none-any.whl (85.9 MB view details)

Uploaded Python 3

File details

Details for the file Sagittarius_api-0.17-py3-none-any.whl.

File metadata

  • Download URL: Sagittarius_api-0.17-py3-none-any.whl
  • Upload date:
  • Size: 85.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for Sagittarius_api-0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 31018639decf9ad8e04560bbbdcea9e2b6d4f29318014a6b325e8ccf8f91c9b5
MD5 85a4df818249886496e732198d83194a
BLAKE2b-256 725764c2c510fa2c66b6d8e9df1a893ca32de069e1a081174ce7b5b40a122d5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page