/mobility-on-phylogenies

Minimal example of mapping mobility data to phylogenies of SARS-CoV-2 genomes

Primary LanguageJupyter NotebookMIT LicenseMIT

Annotate mobility data on SARS-CoV-2 phylogenies

This repo provides a minimal, proof-of-concept analysis for how one might annotate phylogenies inferred from SARS-CoV-2 genomes with mobility data to better understand how changes in mobility are related to viral transmission.

View the precompiled notebook, to get a sense of how the analysis works.

Usage

First, install miniconda. Then, create the associated conda environment and activate it.

conda env create -f=environment.yaml
conda activate mobility

Start a Jupyter lab session and run the entire notebook from scratch.

jupyter lab 2020-09-03-annotate-sars-cov-2-phylogeny-with-mobility-data.ipynb

Download the precalculated data file to drag-and-drop onto the corresponding phylogeny of Californian SARS-CoV-2 genomes. An example of the resulting annotation is included below.

Example of mobility data mapped to a phylogeny