Difference between revisions of "Vt"

From Genome Analysis Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
=== Location ===
 
=== Location ===
  
You may pull it from github:
+
The source files are housed in github.
  
 
   git clone https://github.com/atks/vt.git
 
   git clone https://github.com/atks/vt.git

Revision as of 16:26, 21 October 2013

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

The source files are housed in github.

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

Common options

   -i  multiple intervals in <seq>:<start>-<end> format delimited by commas.
   -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