The germline variant annotator (gvanno) is a simple, stand-alone software package intended for analysis and interpretation of human germline variants. It accepts query files encoded in the VCF format, and can analyze both SNVs and short InDels. The software is largely based on Ensembl’s Variant Effect Predictor (VEP), and extends this with clinically relevant annotations retrieved flexibly through vcfanno. The workflow produces an annotated VCF file and a file of tab-separated values (.tsv), the latter listing all annotations pr. variant record.
- VEP v92 - Variant Effect Predictor release 90 (GENCODE v19/v28 as the gene reference dataset)
- dBNSFP v3.5 - Database of non-synonymous functional predictions (August 2017)
- gnomAD r2 - Germline variant frequencies exome-wide (October 2017)
- dbSNP b150 - Database of short genetic variants (February 2017)
- 1000 Genomes Project - phase3 - Germline variant frequencies genome-wide (May 2013)
- ClinVar - Database of clinically related variants (April 2018)
- DisGeNET - Database of gene-disease associations (May 2017)
- UniProt/SwissProt KnowledgeBase 2018_03 - Resource on protein sequence and functional information (March 2018)
- Pfam v31 - Database of protein families and domains (March 2017)
- TSGene v2.0 - Tumor suppressor/oncogene database (November 2015)
- April 20th 2018 - 0.3.0 release
- Runs under Python3
- VEP version 92
- Support for grch38
- Data bundle updates (ClinVar, UniProt)
- Scheduled improvement
- Retrieve genotype data (het/hom status)
An installation of Python (version 3.6) is required to run gvanno. Check that Python is installed by typing python --version
in your terminal window. In addition, a Python library for parsing configuration files encoded with TOML is needed. To install, simply run the following command:
pip install toml
- Install the Docker engine on your preferred platform
- installing Docker on Linux
- installing Docker on Mac OS
- NOTE: We have not yet been able to perform enough testing on the Windows platform, and we have received feedback that particular versions of Docker/Windows do not work with PCGR (an example being mounting of data volumes)
- Test that Docker is running, e.g. by typing
docker ps
ordocker images
in the terminal window - Adjust the computing resources dedicated to the Docker, i.e.:
- Memory: minimum 5GB
- CPUs: minimum 4
- How to - Mac OS X
-
Download and unpack the latest software release (0.3.0)
-
Download and unpack the assembly-specific data bundle in the PCGR directory
- grch37 data bundle (approx 9Gb)
- grch38 data bundle (approx 9Gb)
- Unpacking:
gzip -dc gvanno.databundle.grch37.YYYYMMDD.tgz | tar xvf -
A data/ folder within the gvanno-X.X software folder should now have been produced
-
Pull the gvanno Docker image (0.3.0) from DockerHub (approx 2.7Gb):
docker pull sigven/gvanno:0.3.0
(gvanno annotation engine)
The gvanno workflow accepts a single input file:
- An unannotated, single-sample VCF file (>= v4.2) with germline variants (SNVs/InDels)
We strongly recommend that the input VCF is compressed and indexed using bgzip and tabix. NOTE: If the input VCF contains multi-allelic sites, these will be subject to decomposition.
A few elements of the workflow can be figured using the gvanno configuration file, encoded in TOML (an easy to read file format).
The initial step of the workflow performs VCF validation on the input VCF file. This procedure is very strict, and often causes the workflow to return an error due to various violations of the VCF specification. If the user trusts that the most critical parts of the input VCF is properly encoded, a setting in the configuration file (vcf_validation = false
) can be used to turn of VCF validation.
Run the workflow with gvanno.py, which takes the following arguments and options:
usage: gvanno.py [-h] [--input_vcf INPUT_VCF] [--force_overwrite] [--version]
gvanno_dir output_dir {grch37,grch38} configuration_file
sample_id
Germline variant annotation (gvanno) workflow for clinical and functional
interpretation of germline nucleotide variants
positional arguments:
gvanno_dir gvanno base directory with accompanying data
directory, e.g. ~/gvanno-0.2.0
output_dir Output directory
{grch37,grch38} grch37 or grch38
configuration_file gvanno configuration file (TOML format)
sample_id Sample identifier - prefix for output files
optional arguments:
-h, --help show this help message and exit
--input_vcf INPUT_VCF
VCF input file with somatic query variants
(SNVs/InDels) (default: None)
--force_overwrite The script will fail with an error if the output file
already exists. Force the overwrite of existing result
files by using this flag (default: False)
--version show program's version number and exit
The examples folder contain an example VCF file. It also contain gvanno configuration file. Analysis of the example VCF can be performed by the following command:
python pcgr.py --input_vcf ~/gvanno-0.3.0/examples/example.vcf.gz
~/gvanno-0.3.0 ~/gvanno-0.3.0/examples grch37 ~/gvanno-0.3.0/examples/gvanno_config.toml example
This command will run the Docker-based gvanno workflow and produce the following output files in the examples folder:
- example_gvanno.pass.vcf.gz (.tbi) - Bgzipped VCF file with rich set of functional/clinical annotations
- example_gvanno.pass.tsv.gz - Compressed TSV file with rich set of functional/clinical annotations
Similar files are produced for all variants, not only variants with a PASS designation.