Difference between revisions of "Vt"

From Genome Analysis Wiki
Jump to navigationJump to search
Line 11: Line 11:
 
== Common options ==
 
== Common options ==
  
     -i  multiple intervals in <seq>:start-end format
+
     -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.
 
     -o defines the out file which and has the STDOUT set as the default.
Line 34: Line 34:
 
   e.g. vt merge_duplicate_variants -i 8904indels.dups.genotypes.vcf -o out.vcf
 
   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
 
   e.g. vt merge_duplicate_variants -p -i 8904indels.dups.genotypes.vcf -o out.vcf
 
  
 
= Maintained by =
 
= Maintained by =
  
 
This page is maintained by  [mailto:atks@umich.edu Adrian]
 
This page is maintained by  [mailto:atks@umich.edu Adrian]

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

You may pull it from 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