Changes

From Genome Analysis Wiki
Jump to navigationJump to search
128 bytes added ,  09:57, 5 December 2013
Line 125: Line 125:  
=== Genotype ===
 
=== Genotype ===
   −
 
+
Genotypes variants for each sample.
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 mw-collapsed">
 
<div class=" mw-collapsible mw-collapsed">
   #merge duplicate variants and save output in mills.merged.vcf
+
   #genotypes variants found in candidate.sites.vcf from sample.bam
   vt mergedups mills.vcf -o mills.merged.vcf
+
   vt genotype -r seq.fa -b sample.bam -i candidates.sites.vcf -o sample.sites.vcf
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  usage : vt mergedups [options] <in.vcf>
+
  usage : vt genotype [options]  
   −
  options : -o  output VCF file [-]
+
  options : -r  reference sequence fasta file []
            -p merge by position [false]
+
            -s  sample ID []
 +
            -o  output VCF file [-]
 +
            -b  input BAM file []
 +
            -i input candidate VCF file []
 +
            --  ignores the rest of the labeled arguments following this flag
 +
            -h  displays help
 
  </div>
 
  </div>
 
</div>
 
</div>
1,102

edits

Navigation menu