Learn R Programming

MixviR_3.5.0

Summary

MixviR is a tool to help analyze, explore, and visualize high-throughput genomic data from samples that may contain mixed lineages of a given microbial taxon. It was originally developed to analyze SARS-CoV-2 environmental (wastewater) samples, but can be applied to samples from any microbial taxon. It uses vcf-formatted input files along with reference genomic information to identify genetic variants (both at the DNA and amino acid level), and if provided optional input information about lineage-characteristic mutations, can estimate frequencies of target lineages within samples.

Installation

MixviR is available in R from CRAN with... install.packages("MixviR")

It can also be optionally downloaded and installed from github (https://github.com/mikesovic/MixviR) with... devtools::install_github("mikesovic/MixviR/MixviR_X.Y.Z"), after replacing X.Y.Z with the current version.

Usage

Most MixviR analyses will start by running the call_mutations() function, which requires a directory storing one or more vcf files, a fasta-formatted reference genome file, and an annotation file associated with the reference genome that defines genes/open reading frames. If analyzing SARS-CoV-2, a pre-consructed reference object is available (based on the Wuhan reference) and can be specified with reference = "Wuhan", meaning the sample vcf(s) are the only required input.

The call_mutations() function produces a data frame that can be saved as an object and/or written to a file, and that is used as input for the explore_mutations() and estimate_lineages() functions.

Getting Help

Aside from the vignette associated with the program, we encourage you to use the MixviR Google Group to get help with the program.

Copy Link

Version

Install

install.packages('MixviR')

Monthly Downloads

201

Version

3.5.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Sovic

Last Published

October 22nd, 2022

Functions in MixviR (3.5.0)

explore_mutations

MixviR Shiny Dashboard
estimate_lineages

Estimate Lineage Proportions In Samples
id_snps

ID SNV-based Amino Acid Changes
call_mutations

Identify Variants From A Potentially Mixed Sample
add_depths_to_ref

Add Read Depths To Ref
get_codons

Get Codons From Gene Sequence
create_ref

Create MixVir-formatted reference genome object
vcf_to_mixvir

Convert Sample VCF to MixviR Input Format
id_indels

ID Indel-based Amino Acid Changes