Changes between Version 17 and Version 18 of SOPs/vcf


Ignore:
Timestamp:
07/27/16 09:55:00 (9 years ago)
Author:
thiruvil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/vcf

    v17 v18  
    8686* Broad's MutSig ("Mutation Significance")
    8787   * See http://www.broadinstitute.org/cancer/cga/mutsig for details
     88
     89== Other Analysis ==
     90
     91* Assess Hardy-Weinberg Equilibrium (HWE) using an exact test,
     92  * Use [[https://vcftools.github.io/index.html | vcftools]] option "--hardy" to report a p-value for each site to assess deviation from HWE.  VCF file must have genotypes of individuals explicitly reported.
     93{{{
     94vcftools --vcf myVariants.vcf --hardy --out myVariantsHWE
     95}}}
     96  * Alternatively, R package [[https://cran.r-project.org/web/packages/genetics/index.html | genetics]] can be utilized with counts for each genotype,
     97{{{
     98library(genetics)
     99g1 = genotype(c(rep("G/G",1),rep("G/A",47),rep("A/A",6450)))
     100HWE.exact(g1)
     101}}}
     102