Skip to content

Plots the distribution of heterozygous and homozygous SNV calls from RedDog output

License

Notifications You must be signed in to change notification settings

zadyson/SNV_plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spatial_SNV_plotter

Plots the distribution of heterozygous (het) and homozygous (hom) SNV calls from RedDog mapping pipeline output (see https://github.com/katholt/reddog for details). Generally we use this for assessing the spatial distribution of het SNVs and if these might be associated with either (a) a mixed sample or (b) recombination. For (a) these would be randomly distributed throughtout the genome sequences, and for (B) these would be clustered in specific regions in the sequence. We generally would assess this for sequences that have high levels of het SNVs compared to hom SNVs.  

A simplified plotting script similar to this which can summarise GHRU vcf files can be found at: https://github.com/zadyson/SNV_Stats_Generator  

What is in this repo?

SNV_plotter.R - R script for creating plots and summary tables suitable for sequence QC analysis using both high quality (q30.vcf) and heterozygous (het.vcf) files generated usign RedDog.  

SNV_plotter.R - Same as the above script but it is much faster as it only creates plots  

Example output (2 pages of figures per sample):

image

image

How do I run it?

Please refer to instructions in the header of each script and make sure you have the relevant packages installed (see library(X) commands in the scripts for details).

About

Plots the distribution of heterozygous and homozygous SNV calls from RedDog output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages