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

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_test-0.13-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file Sagittarius_api_test-0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for Sagittarius_api_test-0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 c2cc97633e6af9a18fac24d115c74e27050a573c28877673b11d17c7f612919d
MD5 e35d010327eb2116b5ad8818bf4f5ba4
BLAKE2b-256 ce973dc64c6def06e8648c776a0425aa34979212a09d86f21d16f5a77ca618e6

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