Vt

From Genome Analysis Wiki
Revision as of 16:25, 21 October 2013 by Atks (talk | contribs)
Jump to navigationJump to search

Introduction

vt is a variant tool set that discovers short variants from Next Generation Sequencing data. The features are being rolled out to github as major rewriting is being undertaken.

Location

You may pull it from github:

 git clone https://github.com/atks/vt.git

Common options

   -i  multiple intervals in <seq>:start-end format
   -o defines the out file which and has the STDOUT set as the default.
      You may modify the STDOUT to output the binary version of the format.

Normalization

Normalize variants in a VCF file.

vt normalize -i mills.vcf -o mills.normalized.vcf

Merge duplicate variants

Merges duplicate variants by position with the option of considering alleles. (This just discards the duplicate variant that appears later in the VCF file)

  Options:
  -i,  --input-vcf <string>  : Input VCF file
  -o,  --output-vcf <string> : Output VCF file [-]
  -p,  --merge-by-position   : Merge by position [false]
  Example:
  e.g. vt merge_duplicate_variants -i 8904indels.dups.genotypes.vcf -o out.vcf
  e.g. vt merge_duplicate_variants -p -i 8904indels.dups.genotypes.vcf -o out.vcf


Maintained by

This page is maintained by Adrian