Changes

From Genome Analysis Wiki
Jump to navigationJump to search
912 bytes removed ,  18:26, 14 August 2013
Line 27: Line 27:  
   cd raremetal_tutorial
 
   cd raremetal_tutorial
   −
==STEP 2: Run RareMetalWorker on Individual Studies==
+
==STEP 2: Analyze individual samples using RAREMETALWORKER==
===Example 1===
      
* The first example has 743 individuals coded as unrelated according to PED file (each person belongs to an individual family).
 
* The first example has 743 individuals coded as unrelated according to PED file (each person belongs to an individual family).
Line 41: Line 40:     
* The command above allows you to estimate relatedness according to common variants genotypes with good variant calling quality, adjust for covariates, quantile normalize the residuals before further association analysis of trait QT1. The following output are generated:
 
* The command above allows you to estimate relatedness according to common variants genotypes with good variant calling quality, adjust for covariates, quantile normalize the residuals before further association analysis of trait QT1. The following output are generated:
  raremetalworker/yourprefix.example1.QT1.singlevar.score.txt (## association results, QC statistics, Genomic control, etc.)
+
  raremetalworker/yourprefix.example1.QT1.singlevar.score.txt (## summary statistics, single variant association results, QC statistics, Genomic control, etc.)
 
  raremetalworker/yourprefix.example1.QT1.singlevar.cov.txt (## covariance matrices of score statistics)
 
  raremetalworker/yourprefix.example1.QT1.singlevar.cov.txt (## covariance matrices of score statistics)
 
  raremetalworker/yourprefix.example1.plots.pdf (## QQ plots and manhattan plots)
 
  raremetalworker/yourprefix.example1.plots.pdf (## QQ plots and manhattan plots)
Line 50: Line 49:  
   $yourpathforRAREMETALWORKER/bin/raremetalworker  --ped example2.ped --dat example2.dat --vcf example2.vcf.gz
 
   $yourpathforRAREMETALWORKER/bin/raremetalworker  --ped example2.ped --dat example2.dat --vcf example2.vcf.gz
 
                                 --traitName QT1 --inverseNormal --makeResiduals --kinSave --kinGeno --prefix yourprefix.example2
 
                                 --traitName QT1 --inverseNormal --makeResiduals --kinSave --kinGeno --prefix yourprefix.example2
  −
===Example 2===
  −
  −
* The second sample can also be analyzed in the same fashion using the following command:
  −
  $yourPath/bin/raremetalworker --ped $yourLocalPath/rmw_tutorial/inputfiles/example2.ped --dat $yourLocalPath/rmw_tutorial/inputfiles/example2.dat --vcf 
  −
        $yourLocalPath/rmw_tutorial/inputfiles/example2.vcf.gz --kinGeno --kinSave --traitName LDL --inverseNormal --makeResiduals --useCovariates
  −
        --prefix $yourLocalPath/rmw_tutorial/outputfiles/example2
  −
* After the two runs are finished, you will see the following output files under your current path:
  −
  −
  example1.QT1.singlevar.score.txt
  −
  example1.QT1.singlevar.cov.txt
  −
  example2.QT1.singlevar.score.txt
  −
  example2.QT1.singlevar.cov.txt
  −
* The output file ending with singlevar.score.txt includes summary statistics of single marker score tests.
  −
* The output file ending with singlevar.cov.txt includes summary variance-covariance matrices of score statistics.
      
==STEP 3: Run RareMETAL to do Meta Analysis==
 
==STEP 3: Run RareMETAL to do Meta Analysis==
2,004

edits

Navigation menu