Skip to main content

Single-cell multiomics data analysis package

Project description

MIRA (Probabilistic Multimodal Models for Integrated Regulatory Analysis) is a comprehensive methodology that systematically contrasts single cell transcription and accessibility to infer the regulatory circuitry driving cells along developmental trajectories.

MIRA leverages joint topic modeling of cell states and regulatory potential modeling at individual gene loci to:

  • jointly represent cell states in an efficient and interpretable latent space
  • infer high fidelity lineage trees
  • determine key regulators of fate decisions at branch points
  • expose the variable influence of local accessibility on transcription at distinct loci

See our manuscript for details. View code at the MIRA github repository.

Getting Started

MIRA takes count matrices of transcripts and accessible regions measured by single cell multimodal RNA-seq and ATAC-seq from any platform as input data. MIRA output integrates with AnnData data structure for interoperability with Scanpy. The initial model training is faster with GPU hardware but can be accomplished with CPU computation.

Please refer to our tutorial for an overview of analyses that can be achieved with MIRA using an example 10x Multiome embryonic brain dataset.

System Requirements

  • Linux or MacOS
  • Python >=3.5, <3.8
  • (optional) CUDA-enable GPU

Install

MIRA can be installed from either PyPI or conda-forge:

pip install mira-multiome

or

conda install -c conda-forge -c liulab-dfci -c bioconda mira-multiome

Installation will usually take about a minute.

Please note, currently MIRA may only be installed on Python < 3.8 due to some dependencies' requirements. We are working to make it accessible on newer Python versions. To set up an a new analysis, it is recommended to start with a fresh environment:

conda create --name mira-env -c conda-forge -c liulab-dfci -c bioconda mira-multiome scanpy jupyter leidenalg
conda activate mira-env
python -m ipykernel install --user --name mira-env

To use the environment in a jupyter notebook, start the notebook server, then go to Kernel > Change kernel > mira-env.

Dependencies

  • pytorch
  • pyro-ppl
  • tqdm
  • moods
  • pyfaidx
  • matplotlib
  • lisa2
  • requests
  • networkx
  • numpy
  • scipy
  • optuna
  • anndata

See environment.yaml for versioning details.

Project details


Download files

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

Source Distribution

mira-multiome-0.0.9.tar.gz (6.0 MB view details)

Uploaded Source

File details

Details for the file mira-multiome-0.0.9.tar.gz.

File metadata

  • Download URL: mira-multiome-0.0.9.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for mira-multiome-0.0.9.tar.gz
Algorithm Hash digest
SHA256 355ba29e92ec00ed9cd87f944664759a0d3b0a78556b1085b80a5828a4088eba
MD5 ce0c3579c4a29f660fbeb0854b083cf7
BLAKE2b-256 7d362af22b6e16ebeb8c218a3990bd728e8812488e4b6e85f856e400c470469d

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