Variant Call Format


The Variant Call Format specifies the format of a text file used in bioinformatics for storing gene sequence variations. The format has been developed with the advent of large-scale genotyping and DNA sequencing projects, such as the 1000 Genomes Project. Existing formats for genetic data such as General feature format stored all of the genetic data, much of which is redundant because it will be shared across the genomes. By using the variant call format only the variations need to be stored along with a reference genome.
The standard is currently in version 4.3, although the 1000 Genomes Project has developed its own specification for structural variations such as duplications, which are not easily accommodated into the existing schema. There is also a Genomic VCF extended format, which includes additional information about "blocks" that match the reference and their qualities. A set of tools is also available for editing and manipulating the files.

Example

  1. #fileformat=VCFv4.3
##fileDate=20090805
##source=myImputationProgramV3.1
##reference=file:///seq/references/1000GenomesPilot-NCBI36.fasta
##contig=
##phasing=partial
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##FILTER=
##FILTER=
##FORMAT=
##FORMAT=
##FORMAT=
##FORMAT=
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA00001 NA00002 NA00003
20 14370 rs6054257 G A 29 PASS NS=3;DP=14;AF=0.5;DB;H2 GT:GQ:DP:HQ 0|0:48:1:51,51 1|0:48:8:51,51 1/1:43:5:.,.
20 17330 . T A 3 q10 NS=3;DP=11;AF=0.017 GT:GQ:DP:HQ 0|0:49:3:58,50 0|1:3:5:65,3 0/0:41:3
20 1110696 rs6040355 A G,T 67 PASS NS=2;DP=10;AF=0.333,0.667;AA=T;DB GT:GQ:DP:HQ 1|2:21:6:23,27 2|1:2:0:18,2 2/2:35:4
20 1230237 . T . 47 PASS NS=3;DP=13;AA=T GT:GQ:DP:HQ 0|0:54:7:56,60 0|0:48:4:51,51 0/0:61:2
20 1234567 microsat1 GTC G,GTCT 50 PASS NS=3;DP=9;AA=G GT:GQ:DP 0/1:35:4 0/2:17:2 1/1:40:3

The VCF header

The header begins the file and provides metadata describing the body of the file. Header lines are denoted as starting with. Special keywords in the header are denoted with. Recommended keywords include, and.
The header contains keywords that optionally semantically and syntactically describe the fields used in the body of the file, notably INFO, FILTER, and FORMAT.

The columns of a VCF

The body of VCF follows the header, and is tab separated into 8 mandatory columns and an unlimited number of optional columns that may be used to record other information about the sample. When additional columns are used, the first optional column is used to describe the format of the data in the columns that follow.
NameBrief description.
1CHROMThe name of the sequence on which the variation is being called. This sequence is usually known as 'the reference sequence', i.e. the sequence against which the given sample varies.
2POSThe 1-based position of the variation on the given sequence.
3IDThe identifier of the variation, e.g. a dbSNP rs identifier, or if unknown a ".". Multiple identifiers should be separated by semi-colons without white-space.
4REFThe reference base at the given position on the given reference sequence.
5ALTThe list of alternative alleles at this position.
6QUALA quality score associated with the inference of the given alleles.
7FILTERA flag indicating which of a given set of filters the variation has passed.
8INFO    An extensible list of key-value pairs describing the variation. See below for some common fields. Multiple fields are separated by semicolons with optional values in the format: <key>=<data>.
9FORMATAn extensible list of fields for describing the samples. See below for some common fields.
+SAMPLEsFor each sample described in the file, values are given for the fields listed in FORMAT

Common INFO fields

Arbitrary keys are permitted, although the following sub-fields are reserved :
NameBrief description
AAancestral allele
ACallele count in genotypes, for each ALT allele, in the same order as listed
AFallele frequency for each ALT allele in the same order as listed
ANtotal number of alleles in called genotypes
BQRMS base quality at this position
CIGARcigar string describing how to align an alternate allele to the reference allele
DBdbSNP membership
DPcombined depth across samples, e.g. DP=154
ENDend position of the variant described in this record
H2membership in hapmap2
H3membership in hapmap3
MQRMS mapping quality, e.g. MQ=52
MQ0Number of MAPQ 0 reads covering this record
NSNumber of samples with data
SBstrand bias at this position
SOMATICindicates that the record is a somatic mutation, for cancer genomics
VALIDATEDvalidated by follow-up experiment
1000Gmembership in 1000 Genomes

Common FORMAT fields