Changes

From Genome Analysis Wiki
Jump to navigationJump to search
375 bytes added ,  11:38, 20 November 2013
Line 61: Line 61:  
=== Merge duplicate variants ===
 
=== Merge duplicate variants ===
    +
 +
<div class=" mw-collapsible mw-collapsed">
 
Merges duplicate variants by position with the option of considering alleles.  (This just discards the duplicate variant that appears later in the VCF file)
 
Merges duplicate variants by position with the option of considering alleles.  (This just discards the duplicate variant that appears later in the VCF file)
 +
<div class="mw-collapsible-content">
 +
Normalized variants may have their positions changed; in such cases, the normalized variants
 +
are reordered and output in an ordered fashion.  The local reordering takes place over a window
 +
of 10000 base pairs.
 +
</div>
 +
</div>
 +
 +
<div class=" mw-collapsible mw-collapsed">
 +
  vt normalize mills.vcf -r seq.fa -o mills.normalized.vcf
   −
   Options:
+
   #merge duplicate variants and save output in mills.merged.vcf
    : Input VCF file
+
   vt mergedups mills.vcf -o mills.merged.vcf
   -o--output-vcf <string> : Output VCF file [-]
+
<div class="mw-collapsible-content">
   -p,  --merge-by-position  : Merge by position [false]
+
   usage : vt mergedups [options] <in.vcf>
   −
   Example:
+
   options : -o  output VCF file [-]
  e.g. vt merge_duplicate_variants -i 8904indels.dups.genotypes.vcf -o out.vcf
+
            -p merge by position [false]
  e.g. vt merge_duplicate_variants -p -i 8904indels.dups.genotypes.vcf -o out.vcf
+
</div>
 +
</div>
    
= Maintained by =
 
= Maintained by =
    
This page is maintained by  [mailto:atks@umich.edu Adrian]
 
This page is maintained by  [mailto:atks@umich.edu Adrian]
1,102

edits

Navigation menu