Skip to content

Constructing synonymous mutation spectra for RSV and expected mutation graphs.

Notifications You must be signed in to change notification settings

LauraU123/mutation_patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSV Mutation Spectra

This workflow generates mutation spectra for RSV synonymous mutations. It includes context-based mutation spectra for nucleotides upstream and downstream of the mutation, as well as both. This workflow can be used for either RSV-A or RSV-B.

The outputs include scaled and normalized mutation matrices and spectra, as well as cumulative distributions of expected synonymous and nonsynonymous mutations in the RSV G gene duplcation.

Input

The inputs for this workflow can be generated using the main RSV Nextstrain workflow. They include the root sequence json, newick tree, and a tree json file annotated with mutations.

Output

One matrix and graph is constructed for each of the following:

  • synonymous mutations without additional context (point_mut in the workflow)

  • synonymous mutations based on nucleotides occurring before each mutation (one_before in the workflow)

  • synonymous mutations based on nucleotides occurring after each mutation (one_after in the workflow)

  • synonymous mutations in RSV-A based on nucleotides occurring before and after each mutation (before_after in the workflow)

Running the workflow

The workflow can be run from the command line using Snakemake:

Snakemake --cores all

To change which matrices and graphs are constructed, edit the LOCATIONS list in the Snakefile.

About

Constructing synonymous mutation spectra for RSV and expected mutation graphs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages