Awesome
Sniffles Plot
Introduction
The Sniffle Plot is a Python program that generates plots for single and multi-sample VCF files.
Type of plots for single sample VCF file:
- Variant Frequency Spectrum
- Genotype Frequency
- SV Size & Type Distribution
- Comparison of Length of Variants
Type of plots for multi samples VCF file:
- Variant Frequency Spectrum
- Upset plot for sample intersection
- SV sites per genome
- Variant call all SVs
- Size distribution
- Heat map for deletion and insertion intersections
Quick Start
To install this package you can simply run the following command:
$ pip3 install sniffles2-plot
For running the program for multiple vcf files located in a sepcific directory:
$ python3 -m sniffles2_plot -i <VCF_files_folder>
For running the program for a single vcf file:
$ python3 -m sniffles2_plot -i <file_name> -o <output_folder>
Sample results of output:
<img src="./pictures/del_ins_type_size.jpg" width="200" height="200"> <img src="./pictures/hetamap.jpg" width="200" height="200"> <img src="./pictures/length_variant.jpg" width="200" height="200"> <img src="./pictures/sample_upset.png" width="200" height="200">