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 hashes)

Uploaded Source

Supported by

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