Changes

From Genome Analysis Wiki
Jump to navigationJump to search
22 bytes added ,  15:46, 5 July 2012
no edit summary
Line 1: Line 1: −
= EMMAX Overview =
+
== EMMAX Overview ==
 
'''EMMAX''' is a statistical test for large scale human or model organism association mapping accounting for the sample structure. In addition to the computational efficiency obtained by EMMA algorithm, EMMAX takes advantage of the fact that each loci explains only a small fraction of complex traits, which allows us to avoid repetitive variance component estimation procedure, resulting in a significant amount of increase in computational time of association mapping using mixed model.
 
'''EMMAX''' is a statistical test for large scale human or model organism association mapping accounting for the sample structure. In addition to the computational efficiency obtained by EMMA algorithm, EMMAX takes advantage of the fact that each loci explains only a small fraction of complex traits, which allows us to avoid repetitive variance component estimation procedure, resulting in a significant amount of increase in computational time of association mapping using mixed model.
   −
= Download EMMAX =
+
== Download EMMAX ==
 
The latest release of EMMAX can be downloaded at [http://www.sph.umich.edu/csg/kang/emmax/download/index.html EMMAX Download Page]
 
The latest release of EMMAX can be downloaded at [http://www.sph.umich.edu/csg/kang/emmax/download/index.html EMMAX Download Page]
   −
= Key Instructions =
+
== Key Instructions ==
    
The instruction is based on latest INTEL binary of EMMAX release. See http://genetics.cs.ucla.edu/emmax/ for the documentation of the original version of the binary
 
The instruction is based on latest INTEL binary of EMMAX release. See http://genetics.cs.ucla.edu/emmax/ for the documentation of the original version of the binary
   −
== Preparing Input Genotype Files ==
+
=== Preparing Input Genotype Files ===
 
Use PLINK software to transpose your genotype files (bed or ped format) to tped/tfam format by running % plink --bfile [bed_prefix] (or --file [ped_prefix]) --recode12 --output-missing-genotype 0 --transpose --out [tped_prefix]
 
Use PLINK software to transpose your genotype files (bed or ped format) to tped/tfam format by running % plink --bfile [bed_prefix] (or --file [ped_prefix]) --recode12 --output-missing-genotype 0 --transpose --out [tped_prefix]
   −
== Preparing Input Phenotype Files ==
+
=== Preparing Input Phenotype Files ===
 
Reformat the phenotype files in the same order of .tfam files. The phenotype file has three entries at each line, FAMID, INDID, and phenotype values. Missing phenotype values should be represented as "NA". It is simpler to regress out the covariates when generating the phenotypes, but it is possible to simultaneously adjust for covariates.
 
Reformat the phenotype files in the same order of .tfam files. The phenotype file has three entries at each line, FAMID, INDID, and phenotype values. Missing phenotype values should be represented as "NA". It is simpler to regress out the covariates when generating the phenotypes, but it is possible to simultaneously adjust for covariates.
 
Sample lines of phenotype files. (tab or space delimited)
 
Sample lines of phenotype files. (tab or space delimited)
Line 25: Line 25:  
  88211 88211 -0.0165529689285573
 
  88211 88211 -0.0165529689285573
   −
== Creating Marker-Based Kinship Matrix ==
+
=== Creating Marker-Based Kinship Matrix ===
 
Create kinship matrix (IBS or BN, BN is preferred) using emmax-kin. Make sure that both .tped and .tfam file exist with the same prefix.
 
Create kinship matrix (IBS or BN, BN is preferred) using emmax-kin. Make sure that both .tped and .tfam file exist with the same prefix.
 
  IBS matrix 
 % emmax-kin-intel64 -v -s -d 10 [tped_prefix] (will generate [tped_prefix].aIBS.kinf)
 
  IBS matrix 
 % emmax-kin-intel64 -v -s -d 10 [tped_prefix] (will generate [tped_prefix].aIBS.kinf)
 
  BN (Balding-Nichols) matrix
 % emmax-kin-intel64 -v -d 10 [tped_prefix] (will generate [tped_prefix].aBN.kinf)
 
  BN (Balding-Nichols) matrix
 % emmax-kin-intel64 -v -d 10 [tped_prefix] (will generate [tped_prefix].aBN.kinf)
   −
== Run EMMAX Association ==
+
=== Run EMMAX Association ===
 
Run EMMAX with the phenotype, tped/tfam files, and the kinship files as follows.
 
Run EMMAX with the phenotype, tped/tfam files, and the kinship files as follows.
 
  % emmax -v -d 10 -t [tped_prefix] -p [pheno_file] -k [kin_file] -o [out_prefix]
 
  % emmax -v -d 10 -t [tped_prefix] -p [pheno_file] -k [kin_file] -o [out_prefix]
Line 36: Line 36:  
  This will generate the following files:
 * [out_prefix].reml : REML output with 6 lines, where each line represents (1) Log-likelihood with variance component (2) Log-likelihood without variance component, (3) \delta = \sigma_e^2 / \sigma_g^2 (Ratio between variance parameters) (4) \sigma_g^2 (genetic variance parameter), and (5) \sigma_e^2 (residual variance parameter), and (6) The pseudo-heritability estimates
 * [out_prefix].ps : Each line consist of [SNP ID], [beta], [SE-beta], [p-value].
 
  This will generate the following files:
 * [out_prefix].reml : REML output with 6 lines, where each line represents (1) Log-likelihood with variance component (2) Log-likelihood without variance component, (3) \delta = \sigma_e^2 / \sigma_g^2 (Ratio between variance parameters) (4) \sigma_g^2 (genetic variance parameter), and (5) \sigma_e^2 (residual variance parameter), and (6) The pseudo-heritability estimates
 * [out_prefix].ps : Each line consist of [SNP ID], [beta], [SE-beta], [p-value].
 
   
 
   
== Incorporating Covariates ==
+
=== Incorporating Covariates ===
 
If one wants to adjust for covariates simultanenously, add -c [cov_file] options to the above run, with the covariate file similar to the phenotype files, but allowing multiple columns ( > 3 ). Note that the intercept has to be included, meaning that the third column is recommended to be 1 always, and the covariates needs to be included from the fourth column. The order of the individual IDs should conform to the .tfam files, similar to the phenotype files.
 
If one wants to adjust for covariates simultanenously, add -c [cov_file] options to the above run, with the covariate file similar to the phenotype files, but allowing multiple columns ( > 3 ). Note that the intercept has to be included, meaning that the third column is recommended to be 1 always, and the covariates needs to be included from the fourth column. The order of the individual IDs should conform to the .tfam files, similar to the phenotype files.
 
Sample lines of covariate files  
 
Sample lines of covariate files  
Line 46: Line 46:  
  101711 101711 1 2
 
  101711 101711 1 2
 
   
 
   
== Running EMMAX with dosages ==
+
=== Running EMMAX with dosages ===
 
If you add -Z option, it will accept .tped file format, where each individual is represented as one dosage value (ranging from 0 to 2), instead of two genotype columns, (which is one of the standard PLINK dosage format). You will be able to run EMMAX with this model. But when creating the kinship matrix, you will not be able to use dosage-based genotypes.
 
If you add -Z option, it will accept .tped file format, where each individual is represented as one dosage value (ranging from 0 to 2), instead of two genotype columns, (which is one of the standard PLINK dosage format). You will be able to run EMMAX with this model. But when creating the kinship matrix, you will not be able to use dosage-based genotypes.
   −
== Support for VCF format and Gene-level Burden Test ==
+
=== Support for VCF format and Gene-level Burden Test ===
 
Use [[EPACTS]] software pipeline for running EMMAX with VCF files, including the implementations of gene-level burden tests.
 
Use [[EPACTS]] software pipeline for running EMMAX with VCF files, including the implementations of gene-level burden tests.
   −
= Acknowledgements =
+
== Acknowledgements ==
 
This research was supported by National Science Foundation grants 0513612, 0731455 and 0729049, and National Institutes of Health (NIH) grants 1K25HL080079 and U01-DA024417. N.A.Z. is supported by the Microsoft Research Fellowship. H.M.K. is supported by the Samsung Scholarship, National Human Genome Research Institute grant HG00521401, National Institute for Mental Health grant NH084698 and GlaxoSmithKline. C.S. is partially supported by NIH grants GM053275-14, HL087679-01, P30 1MH083268, 5PL1NS062410-03, 5UL1DE019580-03 and 5RL1MH083268-03. N.B.F. and S.K.S. are supported by NIH grants HL087679-03, 5PL1NS062410-03, 5UL1DE019580-03 and 5RL1MH083268-03. This research was supported in part by the University of California, Los Angeles subcontract of contract N01-ES-45530 from the National Toxicology Program and National Institute of Environmental Health Sciences to Perlegen Sciences.
 
This research was supported by National Science Foundation grants 0513612, 0731455 and 0729049, and National Institutes of Health (NIH) grants 1K25HL080079 and U01-DA024417. N.A.Z. is supported by the Microsoft Research Fellowship. H.M.K. is supported by the Samsung Scholarship, National Human Genome Research Institute grant HG00521401, National Institute for Mental Health grant NH084698 and GlaxoSmithKline. C.S. is partially supported by NIH grants GM053275-14, HL087679-01, P30 1MH083268, 5PL1NS062410-03, 5UL1DE019580-03 and 5RL1MH083268-03. N.B.F. and S.K.S. are supported by NIH grants HL087679-03, 5PL1NS062410-03, 5UL1DE019580-03 and 5RL1MH083268-03. This research was supported in part by the University of California, Los Angeles subcontract of contract N01-ES-45530 from the National Toxicology Program and National Institute of Environmental Health Sciences to Perlegen Sciences.

Navigation menu