Changes

From Genome Analysis Wiki
Jump to navigationJump to search
1,317 bytes added ,  13:09, 15 October 2014
Line 232: Line 232:  
             --  ignores the rest of the labeled arguments following this flag
 
             --  ignores the rest of the labeled arguments following this flag
 
             -h  displays help
 
             -h  displays help
 +
</div>
 +
</div>
 +
 +
=== Decompose blocksub===
 +
 +
<div>
 +
Decomposes biallelic block substitutions into its constituent SNPs.
 +
</div>
 +
 +
<div class=" mw-collapsible mw-collapsed">
 +
  #decomposes multiallelic variants into biallelic variants and write out to gatk.decomposed.vcf
 +
  vt decompose gatk.vcf -o gatk.decomposed.vcf
 +
 +
  #before decomposition
 +
  #CHROM  POS      ID  REF    ALT            QUAL    FILTER  INFO                    FORMAT    S1                                                                         
 +
  20 763837 . CA TG 50340.1 PASS AC=1;AN=2 GT 0|1
 +
 +
  #after decomposition
 +
  #CHROM  POS      ID  REF    ALT    QUAL    FILTER  INFO                                                            FORMAT  S1       
 +
  20 763837 . C T 50340.1 PASS AC=1;AN=2;OLD_CLUMPED=20:763837:CA/TG GT 0|1
 +
  20 763838 . A G 50340.1 PASS AC=1;AN=2;OLD_CLUMPED=20:763837:CA/TG GT 0|1
 +
 
 +
  One might want to post process the partial genotypes like 1/. to the best guess genotype based on the PL values.
 +
 +
<div class="mw-collapsible-content">
 +
  description : decomposes multialleic variants into biallelic in a VCF file. <br>
 +
  usage : vt decompose [options] <in.vcf> <br>
 +
  options : -o  output VCF file [-]
 +
          -I  file containing list of intervals []
 +
          -i  intervals []
 +
          -?  displays help
 
</div>
 
</div>
 
</div>
 
</div>
1,102

edits

Navigation menu