<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to propc</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>Recent changes to propc</description><atom:link href="https://sourceforge.net/p/gbchen/wiki/propc/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 12 Jun 2015 05:04:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gbchen/wiki/propc/feed" rel="self" type="application/rss+xml"/><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -81,6 +81,7 @@

 ~~~~
 java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out pur
+java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score-gz score.txt.gz --out pur
 ~~~~

 Inside batch.txt is
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Fri, 12 Jun 2015 05:04:37 -0000</pubDate><guid>https://sourceforge.nete2a2e59dec38cec6fa0623fa4b5380b485e1497d</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -92,7 +92,7 @@
 The illustration of the projected pc for Puerto Ricans as well as HapMap reference is as below
 ![pur](https://sourceforge.net/p/gbchen/wiki/propc/attachment/pur.png).

-The HapMap reference genotype data, the eigenvector scores can be found [here](http://sourceforge.net/projects/gbchen/files/Demo/proBatch.zip/download). The demo is also included.
+The HapMap reference genotype data, the eigenvector scores can be found [***HERE***](http://sourceforge.net/projects/gbchen/files/Demo/proBatch.zip/download). The demo is also included.

 In addtion, the above procedure can also be implemented step by step if the user feels interested.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Fri, 05 Jun 2015 06:08:23 -0000</pubDate><guid>https://sourceforge.netc96cf645596f4153724931d19630ca7af35a5651</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -78,6 +78,7 @@
 In the examples below, it shows how to generate projected PC for Puerto Rican cohort in [1000 Genome projects](http://www.1000genomes.org/category/frequently-asked-questions/samples)

 **Example 1** generating projected pc using batch solution
+
 ~~~~
 java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out pur
 ~~~~
@@ -94,6 +95,7 @@
 The HapMap reference genotype data, the eigenvector scores can be found [here](http://sourceforge.net/projects/gbchen/files/Demo/proBatch.zip/download). The demo is also included.

 In addtion, the above procedure can also be implemented step by step if the user feels interested.
+
 ~~~~~~~~~~~~~~~~~
 java -Xmx15G -jar /path/gear.jar comsnp --bfiles PUR HapMap --out score
 java -Xmx15G -jar /path/gear.jar propc --bfile PUR --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Thu, 21 May 2015 08:25:01 -0000</pubDate><guid>https://sourceforge.net4b581265045bb07efcd1f3c1751dd79c4bd826bb</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -77,14 +77,7 @@

 In the examples below, it shows how to generate projected PC for Puerto Rican cohort in [1000 Genome projects](http://www.1000genomes.org/category/frequently-asked-questions/samples)

-**Example 1** generating projected pc for the target sample and the HapMap samples together.
-~~~~~~~~~~~~~~~~~
- java -Xmx15G -jar /path/gear.jar comsnp --bfiles PUR HapMap --out score
- java -Xmx15G -jar /path/gear.jar propc --bfile PUR --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
- java -Xmx15G -jar /path/gear.jar propc --bfile HapMap --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out HapMap_Ref
-~~~~~~~~~~~~~~~~~~
-
-**Example 2** generating projected pc using batch solution
+**Example 1** generating projected pc using batch solution
 ~~~~
 java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out pur
 ~~~~
@@ -95,5 +88,18 @@
 PUR_chr1_com
 ~~~~

+The illustration of the projected pc for Puerto Ricans as well as HapMap reference is as below
+![pur](https://sourceforge.net/p/gbchen/wiki/propc/attachment/pur.png).
+
+The HapMap reference genotype data, the eigenvector scores can be found [here](http://sourceforge.net/projects/gbchen/files/Demo/proBatch.zip/download). The demo is also included.
+
+In addtion, the above procedure can also be implemented step by step if the user feels interested.
+~~~~~~~~~~~~~~~~~
+java -Xmx15G -jar /path/gear.jar comsnp --bfiles PUR HapMap --out score
+java -Xmx15G -jar /path/gear.jar propc --bfile PUR --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
+java -Xmx15G -jar /path/gear.jar propc --bfile HapMap --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out HapMap_Ref
+~~~~~~~~~~~~~~~~~~
+
+

 [Go Homepage](https://sourceforge.net/p/gbchen/wiki/GEAR/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Sun, 17 May 2015 02:07:47 -0000</pubDate><guid>https://sourceforge.netd9f75e94cd00c903c5e9e8192e1316a3abd7a25a</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,17 +1,17 @@
-__Generate predicted PC__
+__Generate predicted eigenvectors__
 * * *

 **Subcommand: ** 
 propc

-Projected PC will generate principal components (PC) based on a reference population, which is the loading of PCs from.
+Projected PC will generate principal components (PC)/eigenvectors based on a reference population. 

 1. GEAR will flip the alleles to match them with the named predictor alleles. For example, when the allele coding are flipped, say A/G in the discovery panel, but coded as T/C in the validation panel, plink will leave those SNPs out. However, this option can be turn off by specifying "--auto-flip-off". 
 2. Also, plink does not take the potential risk of A/T or G/C loci, which because of their ambiguous nature, may bring in noisy in prediction. GEAR has an option --keep-atgc to use all of them or remove them.
 3. Often, the score of each SNP is provided in odds ratio format, in this circumstance, GEAR provides --logit option to transform the odds ratio to effects.
 4. It does not support dosage data, which is in MaCH format.

-In this procedure the above issues will be solved and consequently makes prediction easier.
+In this procedure the above issues will be solved and consequently makes prediction easier and avoid logistic such as strand issues.

 It should be noted that GEAR will leave out monomorphic loci if there are any.

@@ -26,45 +26,36 @@

 By default, gear assumes that the score file contains a header line. If your pc score file doesn't contains the header line, you should switch on the --no-score-header option.

-In addition, if the score can be loaded in gzip format, then --score-gz should be used instead. 
-
-**Binary genotype**
-gear propc --score scorefile.txt --bfile test --out test
-
-**MaCH dosage**
-gear propc --score scorefile.txt --mach-dosage test.mldose.gz --mach-info test.mlinfo --out test
-Or run multiple dosage distributed in multiple files
-gear propc --score scorefile.txt --mach-dosage-batch dose.txt --mach-info-batch info.txt --out test
-
-dose.txt reads like below
-mach_stage2_chr1.mldose.gz
-mach_stage2_chr2.mldose.gz
-mach_stage2_chr3.mldose.gz
-
-info.txt reads like below
-mach_stage2_chr1.mlinfo
-mach_stage2_chr2.mlinfo
-mach_stage2_chr3.mlinfo
-
-
-**Add-on options**
+**Options**
 --score
 Specify the score file.

+--batch
+Often it is better to generate projected pc for the reference samples (such as HapMap) and the target samples together. It provides more information especially in illustration, as demonstrated below.
+
+In batch.txt is the list of the roots of file names.  For examples, for two files, dat1, dat2.
+
+~~~~
+HM3_founders_noATGC_autosome_naive_imputed
+PUR_chr1_com
+~~~~
+
+The files can be more than two. By default, only consensus markers across those files will be further matched to the scores. If the user wants to generate projected pc using as many as possible markers, --greedy should switched on. However, when --greedy option is on, the generated projected PC may not be matched up at the same space.
+
 --score-gz
-Specify the score file that in in gz format.
+Specify the score file that is in gz format.

 --no-score-header
 When there is no title line for the score file, this option should be used.

 --extract-score 
-Only snps included in both --extract-score and --score/--score-gz will be used for generating profile scores.
+Only SNPs included in both --extract-score and --score/--score-gz will be used for generating profile scores.

 --remove-score 
 SNPs included in --removed-score will be used for generating profile scores.

 --keep-atgc
-It will keep AT/GC loci in the risk profile.  However, the user should confirm whether the genotypes in both discovery and the validation panels are coded on the same reference allele for each locus. 
+It will keep AT/GC loci in the risk profile. However, the user should be sure whether the genotypes in both the reference panel and the target set are coded on the same reference allele/strand for each locus. By default, this option is off.

 --auto-flip-off
 **When this option is on, a locus has flipped alleles in the testing set will not be matched.**
@@ -84,41 +75,25 @@
 **Notes**
 AT/GC loci will be left out if --keep-atgc is not on. Probably --keep-atgc should not be turned on otherwise the SNP coding on the same strand for each locus in both the discovery and the validation panels.

-When --score option is not used, the sum of the dosage score for the reference allele will be calculated.  It is equivalent to set a score file with score of 1 for each SNP.  In addition, if wants to count the sum of the specified alleles, the user can make a score file, in which the column for the reference alleles specify the reference allele and the scores are all 1. *(Deprecated)*
+In the examples below, it shows how to generate projected PC for Puerto Rican cohort in [1000 Genome projects](http://www.1000genomes.org/category/frequently-asked-questions/samples)

-**Example 1** : Generating projected pc for the target sample using HapMap as the reference sample.  
-
+**Example 1** generating projected pc for the target sample and the HapMap samples together.
 ~~~~~~~~~~~~~~~~~
- java -Xmx15G -jar /path/gear.jar propc --bfile Target --score-gz HM3_SNP.blup20.gz --out Target
-~~~~~~~~~~~~~~~~~~
-![Target PCs without reference](https://sourceforge.net/p/gbchen/wiki/propc/attachment/PCtarget.png)
-
-**Example 2** generating projected pc for the target sample and the HapMap samples together.
-
-~~~~~~~~~~~~~~~~~
- java -Xmx15G -jar /path/gear.jar comsnp --bfiles Target HapMap --out score
- java -Xmx15G -jar /path/gear.jar propc --bfile Target --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
+ java -Xmx15G -jar /path/gear.jar comsnp --bfiles PUR HapMap --out score
+ java -Xmx15G -jar /path/gear.jar propc --bfile PUR --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
  java -Xmx15G -jar /path/gear.jar propc --bfile HapMap --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out HapMap_Ref
 ~~~~~~~~~~~~~~~~~~

-**Example 3** One step solution
-
+**Example 2** generating projected pc using batch solution
 ~~~~
-java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out common
-java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --greedy --out allmarker
+java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out pur
 ~~~~

-in batch.txt is the list of the roots of file names.  For examples, two files, dat1, dat2.
-
+Inside batch.txt is
 ~~~~
-Target
-HapMap
+HM3_founders_noATGC_autosome_naive_imputed
+PUR_chr1_com
 ~~~~
-
-By default, only consensus markers across those files will be further matched to the scores.
-If --greedy is switched on, as many as possible markers will be matched to the scores.
-
-![Target PCs with reference](https://sourceforge.net/p/gbchen/wiki/propc/attachment/ProPCHapMap.png)

 [Go Homepage](https://sourceforge.net/p/gbchen/wiki/GEAR/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Sun, 17 May 2015 01:54:30 -0000</pubDate><guid>https://sourceforge.netb74d18e1577f1285a2361e99808f1e47a5b8d036</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -29,12 +29,12 @@
 In addition, if the score can be loaded in gzip format, then --score-gz should be used instead.

 **Binary genotype**
-gear propc -s scorefile.txt --bfile test --out test
+gear propc --score scorefile.txt --bfile test --out test

 **MaCH dosage**
-gear propc -s scorefile.txt --mach-dosage test.mldose.gz --mach-info test.mlinfo --out test
+gear propc --score scorefile.txt --mach-dosage test.mldose.gz --mach-info test.mlinfo --out test
 Or run multiple dosage distributed in multiple files
-gear propc -s scorefile.txt --mach-dosage-batch dose.txt --mach-info-batch info.txt --out test
+gear propc --score scorefile.txt --mach-dosage-batch dose.txt --mach-info-batch info.txt --out test

 dose.txt reads like below
 mach_stage2_chr1.mldose.gz
@@ -48,6 +48,14 @@

 **Add-on options**
+--score
+Specify the score file.
+
+--score-gz
+Specify the score file that in in gz format.
+
+--no-score-header
+When there is no title line for the score file, this option should be used.

 --extract-score 
 Only snps included in both --extract-score and --score/--score-gz will be used for generating profile scores.
@@ -57,9 +65,6 @@

 --keep-atgc
 It will keep AT/GC loci in the risk profile.  However, the user should confirm whether the genotypes in both discovery and the validation panels are coded on the same reference allele for each locus. 
-
---no-score-header
-When there is no title line for the score file, this option should be used.

 --auto-flip-off
 **When this option is on, a locus has flipped alleles in the testing set will not be matched.**
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Sun, 10 May 2015 05:03:42 -0000</pubDate><guid>https://sourceforge.net119dbfdd884620c2c42f1c311a6a451f687cde68</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -95,6 +95,24 @@
  java -Xmx15G -jar /path/gear.jar propc --bfile Target --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
  java -Xmx15G -jar /path/gear.jar propc --bfile HapMap --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out HapMap_Ref
 ~~~~~~~~~~~~~~~~~~
+
+**Example 3** One step solution
+
+~~~~
+java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --out common
+java -Xmx15G -jar /path/gear.jar probatch --batch batch.txt --score score.txt --greedy --out allmarker
+~~~~
+
+in batch.txt is the list of the roots of file names.  For examples, two files, dat1, dat2.
+
+~~~~
+Target
+HapMap
+~~~~
+
+By default, only consensus markers across those files will be further matched to the scores.
+If --greedy is switched on, as many as possible markers will be matched to the scores.
+
 ![Target PCs with reference](https://sourceforge.net/p/gbchen/wiki/propc/attachment/ProPCHapMap.png)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Tue, 10 Feb 2015 13:13:03 -0000</pubDate><guid>https://sourceforge.neta5b334e83694d5ae53510a03a77a720a7710303b</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -86,6 +86,7 @@
 ~~~~~~~~~~~~~~~~~
  java -Xmx15G -jar /path/gear.jar propc --bfile Target --score-gz HM3_SNP.blup20.gz --out Target
 ~~~~~~~~~~~~~~~~~~
+![Target PCs without reference](https://sourceforge.net/p/gbchen/wiki/propc/attachment/PCtarget.png)

 **Example 2** generating projected pc for the target sample and the HapMap samples together.

@@ -94,6 +95,7 @@
  java -Xmx15G -jar /path/gear.jar propc --bfile Target --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out Target
  java -Xmx15G -jar /path/gear.jar propc --bfile HapMap --extract-score score.comsnp --score-gz HM3_SNP.blup20.gz --out HapMap_Ref
 ~~~~~~~~~~~~~~~~~~
+![Target PCs with reference](https://sourceforge.net/p/gbchen/wiki/propc/attachment/ProPCHapMap.png)

 [Go Homepage](https://sourceforge.net/p/gbchen/wiki/GEAR/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Wed, 10 Dec 2014 00:24:32 -0000</pubDate><guid>https://sourceforge.netdff7e66db577e47526d8912db2aafd4b86942836</guid></item><item><title>propc modified by Guobo Chen</title><link>https://sourceforge.net/p/gbchen/wiki/propc/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Generate predicted PC&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Subcommand: &lt;/strong&gt; &lt;br /&gt;
propc&lt;/p&gt;
&lt;p&gt;Projected PC will generate principal components (PC) based on a reference population, which is the loading of PCs from.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;GEAR will flip the alleles to match them with the named predictor alleles. For example, when the allele coding are flipped, say A/G in the discovery panel, but coded as T/C in the validation panel, plink will leave those SNPs out. However, this option can be turn off by specifying "--auto-flip-off". &lt;/li&gt;
&lt;li&gt;Also, plink does not take the potential risk of A/T or G/C loci, which because of their ambiguous nature, may bring in noisy in prediction. GEAR has an option --keep-atgc to use all of them or remove them.&lt;/li&gt;
&lt;li&gt;Often, the score of each SNP is provided in odds ratio format, in this circumstance, GEAR provides --logit option to transform the odds ratio to effects.&lt;/li&gt;
&lt;li&gt;It does not support dosage data, which is in MaCH format.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In this procedure the above issues will be solved and consequently makes prediction easier.&lt;/p&gt;
&lt;p&gt;It should be noted that GEAR will leave out monomorphic loci if there are any.&lt;/p&gt;
&lt;p&gt;The format of the score pc loading file&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;SNP&lt;/th&gt;
&lt;th&gt;RefAllele&lt;/th&gt;
&lt;th&gt;pc1_score&lt;/th&gt;
&lt;th&gt;pc2_score&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SNPA&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;1.95&lt;/td&gt;
&lt;td&gt;-0.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SNPB&lt;/td&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;2.04&lt;/td&gt;
&lt;td&gt;-0.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SNPC&lt;/td&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;-0.98&lt;/td&gt;
&lt;td&gt;0.34&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SNPD&lt;/td&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;-0.24&lt;/td&gt;
&lt;td&gt;3.1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;By default, gear assumes that the score file contains a header line. If your pc score file doesn't contains the header line, you should switch on the --no-score-header option.&lt;/p&gt;
&lt;p&gt;In addition, if the score can be loaded in gzip format, then --score-gz should be used instead. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Binary genotype&lt;/strong&gt;&lt;br /&gt;
gear propc -s scorefile.txt --bfile test --out test&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MaCH dosage&lt;/strong&gt;&lt;br /&gt;
gear propc -s scorefile.txt --mach-dosage test.mldose.gz --mach-info test.mlinfo --out test&lt;br /&gt;
Or run multiple dosage distributed in multiple files&lt;br /&gt;
gear propc -s scorefile.txt --mach-dosage-batch dose.txt --mach-info-batch info.txt --out test&lt;/p&gt;
&lt;p&gt;dose.txt reads like below&lt;br /&gt;
mach_stage2_chr1.mldose.gz&lt;br /&gt;
mach_stage2_chr2.mldose.gz&lt;br /&gt;
mach_stage2_chr3.mldose.gz&lt;/p&gt;
&lt;p&gt;info.txt reads like below&lt;br /&gt;
mach_stage2_chr1.mlinfo&lt;br /&gt;
mach_stage2_chr2.mlinfo&lt;br /&gt;
mach_stage2_chr3.mlinfo&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Add-on options&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;--extract-score &lt;br /&gt;
Only snps included in both --extract-score and --score/--score-gz will be used for generating profile scores.&lt;/p&gt;
&lt;p&gt;--remove-score &lt;br /&gt;
SNPs included in --removed-score will be used for generating profile scores.&lt;/p&gt;
&lt;p&gt;--keep-atgc&lt;br /&gt;
It will keep AT/GC loci in the risk profile.  However, the user should confirm whether the genotypes in both discovery and the validation panels are coded on the same reference allele for each locus. &lt;/p&gt;
&lt;p&gt;--no-score-header&lt;br /&gt;
When there is no title line for the score file, this option should be used.&lt;/p&gt;
&lt;p&gt;--auto-flip-off&lt;br /&gt;
&lt;strong&gt;When this option is on, a locus has flipped alleles in the testing set will not be matched.&lt;/strong&gt;&lt;br /&gt;
As genotypes may be called on the complementary strands across genotyping platforms, gear will match them by flipping SNPs automatically.  For example, the named SNP is "A" in the score file, but due to flipping the reported SNPs are "T/C" in the validation set.  Under --auto-flip-off option is switched off, gear will flip "T/C" back to "A/G", and consequently match the score to the validation set.  Of course, gear presumes the polymorphism is same across the discovery and the validation sets.&lt;/p&gt;
&lt;p&gt;There are four possible schemes for matching a SNP between the discovery and the validation sets&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scheme&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The named score SNP matches the reference allele in the validation set&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The named score SNP matches the alternative allele in the validation set&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The named score SNP matches the flipped reference allele in the validation set&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The named score SNP matches the flipped alternative allele in the validation set&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Matches neither, then this locus will be discarded&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;br /&gt;
AT/GC loci will be left out if --keep-atgc is not on. Probably --keep-atgc should not be turned on otherwise the SNP coding on the same strand for each locus in both the discovery and the validation panels.&lt;/p&gt;
&lt;p&gt;When --score option is not used, the sum of the dosage score for the reference allele will be calculated.  It is equivalent to set a score file with score of 1 for each SNP.  In addition, if wants to count the sum of the specified alleles, the user can make a score file, in which the column for the reference alleles specify the reference allele and the scores are all 1. &lt;em&gt;(Deprecated)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example 1&lt;/strong&gt; : Generating projected pc for the target sample using HapMap as the reference sample.&lt;br /&gt;
&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Xmx15G&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gear&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="n"&gt;propc&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;bfile&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="n"&gt;HM3_SNP&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;blup20&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Example 2&lt;/strong&gt; generating projected pc for the target sample and the HapMap samples together.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Xmx15G&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gear&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="n"&gt;comsnp&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;bfiles&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt; &lt;span class="n"&gt;HapMap&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;
 &lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Xmx15G&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gear&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="n"&gt;propc&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;bfile&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;extract&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;comsnp&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="n"&gt;HM3_SNP&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;blup20&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt;
 &lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Xmx15G&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gear&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="n"&gt;propc&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;bfile&lt;/span&gt; &lt;span class="n"&gt;HapMap&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;extract&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;comsnp&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="n"&gt;HM3_SNP&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;blup20&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gz&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="n"&gt;HapMap_Ref&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a class="" href="https://sourceforge.net/p/gbchen/wiki/GEAR"&gt;Go Homepage&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guobo Chen</dc:creator><pubDate>Wed, 10 Dec 2014 00:20:26 -0000</pubDate><guid>https://sourceforge.neta1c8095eab095fb6d6a68cf4f6c5e5395e9363b2</guid></item></channel></rss>