Skip to content

CSE583 project repository for mapping viral sequencing data, specifically from the RSV G gene.

License

Notifications You must be signed in to change notification settings

khdcrawford/RSView

Repository files navigation

alt text

Visualize RSV global distribution and disease severity

Authors: Kate Dusenbury, Katie Kistler, Jilliane Bruffey

Project for CSE 583.

Background

Respiratory syncytial virus (RSV) is a common respiratory virus that, in healthy adults, usually causes an illness similar to the common cold. However, in infants and the elderly, RSV infection can cause severe disease. RSV is the leading cause of pneumonia in infants less than one year of age and is a leading cause of hospitalization due to acute respiratory tract infections in both infants and young children.

Similar to other respiratory viruses, such as influenza, RSV circulates globally and with distinct seasonality. RSV generally circulates in the winter months in temperate climates and during the monsoon season in the tropics. Additionally, RSV has two distinct subtypes - A and B - and several genotypes. In any given location, it is generally thought that a single subtype will dominate the RSV season and that the dominant subtype cycles overtime with RSV A seasons giving way to RSV B seasons and vice versa. Furthermore, within each subtype, RSV genotypes appear to replace each other over time. Whether this evolution is due to selection from immune pressure or genetic drift is not fully understood, but RSV does appear to have a distinct pattern of infection over space and time, at least at the local level. A larger analysis of RSV sequencing data to look at patterns of subtype cycling and genotype replacement at a global level is lacking and would be an important resource to better understand the evolution and overarching dynamics of this important respiratory virus.

Furthermore, it is known that for some respiratory viruses, such as rhinovirus, different subtypes or genotypes have different clinical severities. As such, we aim to examine if the subtype and genotype of RSV circulating in a particular location correlates with disease severity as determined by the number of children under 5 years old that die due to acute respiratory tract infection (ARTI). We realize that using deaths due to ARTI in children under 5 is an imperfect estimate of RSV disease burden, but believe this to be an appropriate surrogate due to the high RSV disease burden in this age group. Any large effects of genotype on disease severity should be noticeable with this coarse grain analysis.

Together our project, RSView, will provide an important resource for better understanding the global circulation dynamics of RSV and investigating the effects of genotype on disease severity. We recognize that this is very much a "first-pass" analysis, but believe these analyses and, especially, this framework for examining RSV (which is modeled off of the nextstrain.org platform developed by Trevor Bedford and Richard Neher) could prove quite useful for the field.

Directory Structure

rsview

This directory includes code to download and prepare both the genotype and health data, as well as code to generate functional plots for analyzing the datasets both individually and as an integrated dataset.

  • data: includes the raw health data set as well as downloaded RSV genotype data sets

  • tests: unittests for the scripts included in RSView

examples

This contains a jupyter notebook with example usage of the code containing in RSView as well as several graphs generated from these datasets

docs

This includes component and functional specifications, including a description of expected use cases.

The documentation can be rendered into .html format. Follow the instructions in the README.rst rile in the docs directory.

Installation

To install and run rsview perform the following steps:

  • clone the repo: git clone https://github.com/khdusenbury/RSView.git

  • create and activate the conda environment in the environment.yml:

    • conda env create -f environment.yml
    • source activate rsview
  • install rsview by running python setup.py install within the cloned RSView directory

  • create a plot.ly account here. Follow these instructions for adding your plot.ly API key to your ~/.plotly/.credentials file

Modules can then be run based on user needs.

To replicate our analyses:

  • run seq_download.py with --query 'human respiratory syncytial virus G'

  • run genotype.py

  • run map_rsv.py and/or plot_rsv.py with appropriate arguments.

Repository structure

RSView/
├── LICENSE
├── README.md
├── docs
│   ├── ComponentSpecs.md
│   ├── FunctionalSpecs.md
│   └── rsview_technology_review.pdf
├── environment.yml
├── examples
│   ├── correlation_year.png
│   ├── maprsv_2011.png
│   ├── rsvplot_highlight.png
│   └── rsvplot_time.png
├── logo_rsview.png
├── logo_rsview_small.png
├── rsview
│   ├── __init__.py
│   ├── _metadata.py
│   ├── data
│   │   ├── RSVG_all_genotyped.csv
│   │   ├── RSVG_gb_metadata_0-5000.csv
│   │   ├── RSVG_gb_metadata_10000-15000.csv
│   │   ├── RSVG_gb_metadata_15000-20000.csv
│   │   ├── RSVG_gb_metadata_5000-10000.csv
│   │   ├── country_centroids.csv
│   │   ├── health_data_RAW.csv
│   │   ├── health_data_all.csv
│   │   ├── health_data_summary.csv
│   │   └── seqs
│   │       ├── G_all_aligned.fasta
│   │       ├── G_long_all_aligned.fasta
│   │       ├── G_longtyped_aligned.fasta
│   │       ├── G_seqs_long_nogt.fasta
│   │       ├── G_seqs_longtyped.fasta
│   │       └── G_seqs_short.fasta
│   ├── genotype.py
│   ├── health_download.py
│   ├── map_rsv.py
│   ├── parsearguments.py
│   ├── plot_correlation.py
│   ├── plot_rsv.py
│   ├── rsview_demo.ipynb
│   ├── seq_download.py
│   └── tests
│       ├── __init__.py
│       ├── test_genotype.py
│       ├── test_map_rsv.py
│       └── test_seq_download.py
└── setup.py

About

CSE583 project repository for mapping viral sequencing data, specifically from the RSV G gene.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages