Bioinformatics can be very overwhelming at times, with all its different file formats, fields specifications and many ways of storing the same information! That’s how the varikondo package came to life. It was developed by the need to standardise and combine variant calling outputs from several callers as well as to allow an easy way to join filtering variants called from multiple samples within a patient.

Install

library(devtools)
devtools::install_github("annaquaglieri16/varikondo")
library(varikondo)

Main functionalities

Import variants from several callers

Variants from different callers can be imported in R and parsed into a data frame with standardised fields. See how fields are standardaised to know more about which fields from each callers are parsed. The import functions are:

  • import_goi_superfreq(): to import variants found on genes of interest called by superFreq, a caller that allows clonal tracking of cancer sequencing data. Figure 1 sketches how the function works.
Figure 1. Overview of the functionality to import and organise superFreq outputs.

Figure 1. Overview of the functionality to import and organise superFreq outputs.

See more examples in Get Started.

Combine variant calls from different samples within the same patient

  • combine_and_filter() combines and filters the variant calls (already imported into R) from several samples collected for the same patient. This functions attempts to mimic in a very simplistic way what is performed within superFreq. Instead of filtering each variant callset separately for each sample, variants are filtered jointly by patient. This means that if a variant reaches minimal quality threshold at any time point, then it will be kept for all other time points. If a variant is not detected in some samples it will be filled with default values, e.g. zero variant allele frequency. This allows to have complete information for a variant across time for one patient and to plot and evaluate the shift in VAF or depth over time.

Below is a graphic overview of how the output of parse_vcf_output() and combine_and_filter() interact. The example is based on files for one patient but the same can be extended to any patient.

Figure 2. Overview of the functionality to import and organise your VCF files.

Figure 2. Overview of the functionality to import and organise your VCF files.

See more examples in Get Started.