<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/cpag/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 09 Dec 2015 22:38:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cpag/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -71,7 +71,7 @@

 # Input files

-An example of user-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.
+An example of user-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. **The column delimiter is 'tab' **not 'space'.

 Format for the user-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Wed, 09 Dec 2015 22:38:42 -0000</pubDate><guid>https://sourceforge.netbb638e8a921c3541e9647ac8321cd846dd58bb51</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -25,7 +25,7 @@

 ## Notes

-*New: The CPAGv0.2 for Mac OS has been updated to provide pleiotropic gene and SNPs lists and was compiled by Python 3.3 (~100 fold improvement in performance over v0.1). Similar improvements are coming soon for Windows.
+***New**: The CPAGv0.2 for Mac OS has been updated to provide pleiotropic gene and SNPs lists and was compiled by Python 3.3 (~100 fold improvement in performance over v0.1). Similar improvements are coming soon for Windows.

 1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt".

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Thu, 24 Sep 2015 13:13:19 -0000</pubDate><guid>https://sourceforge.netec5c3810a1a28b051d0588a902aa3654d40470ed</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -25,7 +25,7 @@

 ## Notes

-*New: The CPAGv0.2 for Mac OS has been updated to provide pleiotropic gene and SNPs lists and was compiled by Python 3.3 (~100 fold improvement in performance over v0.1). Similar improvements coming soon for Windows.
+*New: The CPAGv0.2 for Mac OS has been updated to provide pleiotropic gene and SNPs lists and was compiled by Python 3.3 (~100 fold improvement in performance over v0.1). Similar improvements are coming soon for Windows.

 1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt".

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Wed, 20 May 2015 21:41:00 -0000</pubDate><guid>https://sourceforge.net252cfc5547b43ca6a4121698fbc46d15a71582c4</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -24,6 +24,8 @@
 # Getting started

 ## Notes
+
+*New: The CPAGv0.2 for Mac OS has been updated to provide pleiotropic gene and SNPs lists and was compiled by Python 3.3 (~100 fold improvement in performance over v0.1). Similar improvements coming soon for Windows.

 1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt".

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Wed, 20 May 2015 21:29:10 -0000</pubDate><guid>https://sourceforge.net32eaae3dc623ffd35daa253665e2d53da45509b4</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -37,21 +37,21 @@

 ## Quick examples

-1\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)
+1\.  Run user defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)

-    Note: Usr defined queries will run much faster (likely &amp;lt; 10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog. 
+    Note: User defined queries will run much faster (likely &amp;lt; 10min) because it computes pairwise similarity just for the user-definied trait and each trait in the catalog. 

         CPAG.exe --cpag-diy --diy-gwasfile test/example.txt

-2\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)
+2\.  Run user defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)

         CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --disgrp Autoimmune

-3\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+3\.  Run user defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the user-defined SNPlist with p values &amp;lt; 0.00001

         CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001

-4\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+4\.  Run user defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the user-defined SNPlist with p values &amp;lt; 0.00001

         CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001 --disgrp Autoimmune

@@ -69,9 +69,9 @@

 # Input files

-An example of usr-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.
+An example of user-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.

-Format for the usr-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).
+Format for the user-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).

 

@@ -120,21 +120,21 @@

 Output files should be saved in a folder starting with "CPAGresults"

-## Output for usr-defined SNPlist
+## Output for user-defined SNPlist

-1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.
+1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the user-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.

 2\.  a "ChaoSorensenOneRowHeatmap\_SortByPval" file is a pdf heatmap of color-coded similarity values sorted from low to high pvalue. A red line demarcates the threshold for statistical significance (p&amp;lt;0.05 after Bonferroni correction).

-3\.  a "merge.ChaoSorensen" pdf file that places the usr-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap. The usr-defined trait is labeled as Mysnplist\_Mysnplist​.
+3\.  a "merge.ChaoSorensen" pdf file that places the user-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap. The user-defined trait is labeled as Mysnplist\_Mysnplist​.

-4\.  a "mainout\_Network" file is a PNG file with a network showing traits with any similarity to the usr-defined trait and connectivity based on similarity of those traits.
+4\.  a "mainout\_Network" file is a PNG file with a network showing traits with any similarity to the user-defined trait and connectivity based on similarity of those traits.

 5\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012).

 ## Output for NHGRI GWAS Catalog

-1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.
+1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the user-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.

 2\.  a "ChaoSorensen" pdf file that displays then entire NHGRI GWAS Catalog heirarchical tree and heatmap.

&lt;table border="2" cellpadding="6" cellspacing="0" frame="hsides" rules="groups"&gt;
&lt;/table&gt;&lt;/pre&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Wed, 01 Apr 2015 12:58:11 -0000</pubDate><guid>https://sourceforge.net196933a73d795d4efa0cd8d2f8cfd278e5e58eb9</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -39,7 +39,7 @@

 1\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)

-    Note: Usr defined queries will run much faster (likely &amp;lt; 10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog. My computer is 
+    Note: Usr defined queries will run much faster (likely &amp;lt; 10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog. 

         CPAG.exe --cpag-diy --diy-gwasfile test/example.txt

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Mon, 06 Oct 2014 20:25:06 -0000</pubDate><guid>https://sourceforge.net62f21dfb43a5b3e8af362e96ce617705b8684e37</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,72 +1,77 @@
-Welcome to CPAG wiki!
-
 &lt;div id="table-of-contents"&gt;
 &lt;h2&gt;Table of Contents&lt;/h2&gt;
 &lt;div id="text-table-of-contents"&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#sec-1"&gt;1. What's CPAG?&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#sec-2"&gt;2. Download CPAG&lt;/a&gt;&lt;/li&gt;
-&lt;li&gt;&lt;a href="#sec-3"&gt;3. Get started&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-3"&gt;3. Getting started&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#sec-4"&gt;4. Input files&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#sec-5"&gt;5. Output files&lt;/a&gt;&lt;/li&gt;
-&lt;li&gt;&lt;a href="#sec-6"&gt;6. Important notes&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/div&gt;
 &lt;/div&gt;

-# What's CPAG?&lt;a id="sec-1" name="sec-1"&gt;&lt;/a&gt;
+# What's CPAG?

-CPAG (Cross-Phenotype Analysis of GWAS) can estimate disease and trait similarity, identify informative disease clusters, and carry out pathway enrichment analysis. It also provides visualization of these results in the form of hierarchical clustering trees, heatmaps, and networks.  
+CPAG (Cross-Phenotype Analysis of GWAS) can estimate disease and trait similarity, identify informative disease clusters, and carry out pathway enrichment analysis. It also provides visualization of these
+results in the form of hierarchical clustering trees, heatmaps, and networks.  

-# Download CPAG&lt;a id="sec-2" name="sec-2"&gt;&lt;/a&gt;
+# Download CPAG

-CPAG can be downloaded from [here](https://sourceforge.net/projects/cpag/). Both Windows and Mac version are
-provided, and current version is 0.1.
+CPAG can be downloaded from [here](https://sourceforge.net/projects/cpag/). Both Windows and Mac version are provided, and current version is 0.1.

-# Get started&lt;a id="sec-3" name="sec-3"&gt;&lt;/a&gt;
+# Getting started

-CPAGv0.1\_win.exe or CPAGv0.1\_mac must be placed into same folder with cpaglib
+## Notes

-1\.  Run NHGRI GWAS Catalog only (Sep4,2013), only including SNPs with p values &amp;lt; 0.0000001
+1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt".
+
+2\.  For Mac system, CPAGv0.1\_mac was compiled using Mac OS mavericks 10.9 system.
+
+3\.  CPAG.exe or CPAGv0.1\_mac must be placed into same folder with cpaglib. For Mac, please replace the "CPAG.exe" with "./CPAGv0.1\_mac" in the following examples and run in the Terminal.
+
+4\.  Type "CPAG.exe -h" for help, or check running examples using
+
+        CPAG.exe --show-example
+
+## Quick examples
+
+1\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)
+
+    Note: Usr defined queries will run much faster (likely &amp;lt; 10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog. My computer is 
+    
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt
+
+2\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --disgrp Autoimmune
+
+3\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001
+
+4\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001 --disgrp Autoimmune
+
+5\.  Plot Network degree
+
+    Note: This function uses the first two columns of a "mainout" file to plot the network along with a distribution of the number of associated traits for each trait within the network.
+    
+        CPAG.exe --plot-network-degree test/example.networkdegree.infile
+
+6\.  Run NHGRI GWAS Catalog only (Sep4,2013), only including SNPs with p values &amp;lt; 0.0000001

         CPAG.exe --cpag-all --cpag-gfile GWASCatalog2013Sep4_p1e-7.txt --cpag-gfile-pcut 0.0000001

-    This may take several hours to run depending on the power of your computer, because it computes all pairwise similarity
+    This may take several hours to run depending on the power of your computer, because it computes all pairwise similarity. The output from running this will be the same as Supplemental Figure 1 and Supplemental Table 2 (Wang et al.), but can be run with different p-value thresholds and newer versions of the NHGRI GWAS Catalog.

-2\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)
+# Input files

-    Note: Usr defined queries like this will run much faster (likely &amp;lt;10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog
-    
-        CPAG.exe --cpag-diy --diy-gwasfile example.txt
+An example of usr-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.

-3\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)
-
-        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --disgrp Autoimmune
-
-4\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
-
-        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001
-
-5\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
-
-        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001 --disgrp Autoimmune
-
-6\.  Plot Network
-
-    Note: only take the prefix of file
-    
-        CPAG.exe --plot-network test/example.network
-
-7\.  Plot Network degree
-
-    Note: Uses the first two columns of the mainout file. This function plots the network along with a distribution of the number of associated traits for each trait within the network.
-    
-        CPAG.exe --plot-network-degree test/example.networkdegree.infile
-
-# Input files&lt;a id="sec-4" name="sec-4"&gt;&lt;/a&gt;
-
-A simple example for usr-defined SNPlist includes 3 columns: chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'. 
+Format for the usr-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).

 

@@ -85,7 +90,6 @@
 
-

@@ -94,7 +98,6 @@
 
-

@@ -102,7 +105,6 @@
 
-

@@ -110,53 +112,34 @@
 
-&lt;table border="2" cellpadding="6" cellspacing="0" frame="hsides" rules="groups"&gt;&lt;tr&gt;&lt;th class="right" scope="col"&gt;Chr&lt;/th&gt;
 &lt;th class="left" scope="col"&gt;rsID&lt;/th&gt;
 &lt;th class="right" scope="col"&gt;P&lt;/th&gt;&lt;th class="left" scope="col"&gt; &lt;/th&gt;
 &lt;/tr&gt;
 &lt;tr&gt;&lt;td class="right"&gt;1&lt;/td&gt;
 &lt;td class="left"&gt;rs1234&lt;/td&gt;
 &lt;td class="right"&gt;0.0000001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;
 &lt;/tr&gt;&lt;tr&gt;&lt;td class="right"&gt;2&lt;/td&gt;
 &lt;td class="left"&gt;rs1534&lt;/td&gt;
 &lt;td class="right"&gt;0.0001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;
 &lt;/tr&gt;&lt;tr&gt;&lt;td class="right"&gt;2&lt;/td&gt;
 &lt;td class="left"&gt;rs2145&lt;/td&gt;
 &lt;td class="right"&gt;0.0001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;
 &lt;/tr&gt;
 
 &lt;/table&gt;

-# Output files&lt;a id="sec-5" name="sec-5"&gt;&lt;/a&gt;
+# Output files

 Output files should be saved in a folder starting with "CPAGresults"

-## Output for usr-defined SNPlist&lt;a id="sec-5-1" name="sec-5-1"&gt;&lt;/a&gt;
+## Output for usr-defined SNPlist

 1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.

-2\.  a "ChaoSorensenOneRowHeatmap\_SortByPval" file is a pdf heatmap of color-coded similarity values sorted from low to high pvalue. A red line demarcates the threshold for statistical significance (p&amp;lt;0.05 after Bonferroni correction)
+2\.  a "ChaoSorensenOneRowHeatmap\_SortByPval" file is a pdf heatmap of color-coded similarity values sorted from low to high pvalue. A red line demarcates the threshold for statistical significance (p&amp;lt;0.05 after Bonferroni correction).

-3\.  a "merge.ChaoSorensen" pdf file that places the usr-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap
+3\.  a "merge.ChaoSorensen" pdf file that places the usr-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap. The usr-defined trait is labeled as Mysnplist\_Mysnplist​.

-4\.  a "mainout\_Network" file is a PNG file with a network showing traits with any similarity to the usr-defined trait and connectivity based on similarity of those traits
+4\.  a "mainout\_Network" file is a PNG file with a network showing traits with any similarity to the usr-defined trait and connectivity based on similarity of those traits.

-5\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)
+5\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012).

-## Output for NHGRI GWAS Catalog&lt;a id="sec-5-2" name="sec-5-2"&gt;&lt;/a&gt;
+## Output for NHGRI GWAS Catalog

 1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.

-2\.  a "ChaoSorensen" pdf file that displays then entire NHGRI GWAS Catalog heirarchical tree and heatmap
+2\.  a "ChaoSorensen" pdf file that displays then entire NHGRI GWAS Catalog heirarchical tree and heatmap.

-3\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)
+3\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012).

 This analysis has already been run the Sep4,2013 NHGRI GWAS Catalog and is included.
-Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog.

-# Important notes&lt;a id="sec-6" name="sec-6"&gt;&lt;/a&gt;
-
-Important notes before running CPAG on Windows or Mac
-
-1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt"
-
-2\.  For Mac system, CPAG should work on 64 bit Mac OS 10.6+
-
-3\.  CPAGv0.1\_win.exe or CPAGv0.1\_mac must be placed into same folder with cpaglib
-
-4\.  Type "CPAG.exe -h" for help, or "CPAG.exe –show-example" for running examples
-
-5\.  An example of usr-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.
-
-6\.  Format for the usr-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).
-
-    This analysis has already been run the Sep4,2013 NHGRI GWAS Catalog and is included.
-    Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog.
+Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog and the ability to query by gene lists.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Mon, 06 Oct 2014 20:23:29 -0000</pubDate><guid>https://sourceforge.nete88253fc10e5c46fe65d65cdb648c202fefb717f</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,162 @@
 Welcome to CPAG wiki!

-The wiki uses [Markdown](/p/cpag/wiki/markdown_syntax/) syntax.
+&lt;div id="table-of-contents"&gt;
+&lt;h2&gt;Table of Contents&lt;/h2&gt;
+&lt;div id="text-table-of-contents"&gt;
+&lt;ul&gt;
+&lt;li&gt;&lt;a href="#sec-1"&gt;1. What's CPAG?&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-2"&gt;2. Download CPAG&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-3"&gt;3. Get started&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-4"&gt;4. Input files&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-5"&gt;5. Output files&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href="#sec-6"&gt;6. Important notes&lt;/a&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+&lt;/div&gt;

-[[members limit=20]]
-[[download_button]]
+
+# What's CPAG?&lt;a id="sec-1" name="sec-1"&gt;&lt;/a&gt;
+
+CPAG (Cross-Phenotype Analysis of GWAS) can estimate disease and trait similarity, identify informative disease clusters, and carry out pathway enrichment analysis. It also provides visualization of these results in the form of hierarchical clustering trees, heatmaps, and networks.  
+
+# Download CPAG&lt;a id="sec-2" name="sec-2"&gt;&lt;/a&gt;
+
+CPAG can be downloaded from [here](https://sourceforge.net/projects/cpag/). Both Windows and Mac version are
+provided, and current version is 0.1.
+
+# Get started&lt;a id="sec-3" name="sec-3"&gt;&lt;/a&gt;
+
+CPAGv0.1\_win.exe or CPAGv0.1\_mac must be placed into same folder with cpaglib
+
+1\.  Run NHGRI GWAS Catalog only (Sep4,2013), only including SNPs with p values &amp;lt; 0.0000001
+
+        CPAG.exe --cpag-all --cpag-gfile GWASCatalog2013Sep4_p1e-7.txt --cpag-gfile-pcut 0.0000001
+    
+    This may take several hours to run depending on the power of your computer, because it computes all pairwise similarity
+
+2\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)
+
+    Note: Usr defined queries like this will run much faster (likely &amp;lt;10min) because it computes pairwise similarity just for the usr-definied trait and each trait in the catalog
+    
+        CPAG.exe --cpag-diy --diy-gwasfile example.txt
+
+3\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --disgrp Autoimmune
+
+4\.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001
+
+5\.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001
+
+        CPAG.exe --cpag-diy --diy-gwasfile test/example.txt --diy-gwas-pcut 0.00001 --disgrp Autoimmune
+
+6\.  Plot Network
+
+    Note: only take the prefix of file
+    
+        CPAG.exe --plot-network test/example.network
+
+7\.  Plot Network degree
+
+    Note: Uses the first two columns of the mainout file. This function plots the network along with a distribution of the number of associated traits for each trait within the network.
+    
+        CPAG.exe --plot-network-degree test/example.networkdegree.infile
+
+# Input files&lt;a id="sec-4" name="sec-4"&gt;&lt;/a&gt;
+
+A simple example for usr-defined SNPlist includes 3 columns: chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'. 
+
+
+
+
+++
++
++
++
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+&lt;table border="2" cellpadding="6" cellspacing="0" frame="hsides" rules="groups"&gt;&lt;colgroup&gt;
&lt;/colgroup&gt;&lt;col class="right" /&gt;
&lt;col class="left" /&gt;
&lt;col class="right" /&gt;
&lt;col class="left" /&gt;
&lt;thead&gt;&lt;tr&gt;&lt;th class="right" scope="col"&gt;Chr&lt;/th&gt;&lt;th class="left" scope="col"&gt;rsID&lt;/th&gt;&lt;th class="right" scope="col"&gt;P&lt;/th&gt;&lt;th class="left" scope="col"&gt; &lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="right"&gt;1&lt;/td&gt;&lt;td class="left"&gt;rs1234&lt;/td&gt;&lt;td class="right"&gt;0.0000001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="right"&gt;2&lt;/td&gt;&lt;td class="left"&gt;rs1534&lt;/td&gt;&lt;td class="right"&gt;0.0001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="right"&gt;2&lt;/td&gt;&lt;td class="left"&gt;rs2145&lt;/td&gt;&lt;td class="right"&gt;0.0001&lt;/td&gt;&lt;td class="left"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
+
+# Output files&lt;a id="sec-5" name="sec-5"&gt;&lt;/a&gt;
+
+Output files should be saved in a folder starting with "CPAGresults"
+
+## Output for usr-defined SNPlist&lt;a id="sec-5-1" name="sec-5-1"&gt;&lt;/a&gt;
+
+1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.
+
+2\.  a "ChaoSorensenOneRowHeatmap\_SortByPval" file is a pdf heatmap of color-coded similarity values sorted from low to high pvalue. A red line demarcates the threshold for statistical significance (p&amp;lt;0.05 after Bonferroni correction)
+
+3\.  a "merge.ChaoSorensen" pdf file that places the usr-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap
+
+4\.  a "mainout\_Network" file is a PNG file with a network showing traits with any similarity to the usr-defined trait and connectivity based on similarity of those traits
+
+5\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)
+
+## Output for NHGRI GWAS Catalog&lt;a id="sec-5-2" name="sec-5-2"&gt;&lt;/a&gt;
+
+1\.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.
+
+2\.  a "ChaoSorensen" pdf file that displays then entire NHGRI GWAS Catalog heirarchical tree and heatmap
+
+3\.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)
+
+This analysis has already been run the Sep4,2013 NHGRI GWAS Catalog and is included.
+Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog.
+
+# Important notes&lt;a id="sec-6" name="sec-6"&gt;&lt;/a&gt;
+
+Important notes before running CPAG on Windows or Mac
+
+1\.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows\_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt"
+
+2\.  For Mac system, CPAG should work on 64 bit Mac OS 10.6+
+
+3\.  CPAGv0.1\_win.exe or CPAGv0.1\_mac must be placed into same folder with cpaglib
+
+4\.  Type "CPAG.exe -h" for help, or "CPAG.exe –show-example" for running examples
+
+5\.  An example of usr-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.
+
+6\.  Format for the usr-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).
+
+    This analysis has already been run the Sep4,2013 NHGRI GWAS Catalog and is included.
+    Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Sun, 05 Oct 2014 03:16:21 -0000</pubDate><guid>https://sourceforge.net0a3f75c50f0601ccc8a18f0a7f2b6255723a6a7f</guid></item><item><title>Home modified by liuyang wang</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,4 @@
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+Welcome to CPAG wiki!

 The wiki uses [Markdown](/p/cpag/wiki/markdown_syntax/) syntax.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Sun, 05 Oct 2014 03:15:35 -0000</pubDate><guid>https://sourceforge.net672b4745f0f17962a380adeab7131852e40b8164</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/cpag/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;div id="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;div id="text-table-of-contents"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#sec-1"&gt;1. What's CPAG?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#sec-2"&gt;2. Download CPAG&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#sec-3"&gt;3. Get started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#sec-4"&gt;4. Input files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#sec-5"&gt;5. Output files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#sec-6"&gt;6. Important notes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h1 id="whats-cpagwzxhzdk10wzxhzdk11"&gt;What's CPAG?&lt;a id="sec-1" name="sec-1"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;CPAG (Cross-Phenotype Analysis of GWAS) can estimate disease and trait&lt;br /&gt;
similarity, identify informative disease clusters, and carry out&lt;br /&gt;
pathway enrichment analysis. It also provides visualization of these&lt;br /&gt;
results in the form of hierarchical clustering trees, heatmaps, and networks.&lt;br /&gt;
&lt;/p&gt;
&lt;h1 id="download-cpagwzxhzdk12wzxhzdk13"&gt;Download CPAG&lt;a id="sec-2" name="sec-2"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;CPAG can be downloaded from &lt;a class="" href="https://sourceforge.net/projects/cpag"&gt;here&lt;/a&gt;. Both Windows and Mac version are&lt;br /&gt;
provided, and current version is 0.1.&lt;/p&gt;
&lt;h1 id="get-startedwzxhzdk14wzxhzdk15"&gt;Get started&lt;a id="sec-3" name="sec-3"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;CPAGv0.1_win.exe or CPAGv0.1_mac must be placed into same folder with cpaglib&lt;/p&gt;
&lt;p&gt;1.  Run NHGRI GWAS Catalog only (Sep4,2013), only including SNPs with p values &amp;lt; 0.0000001&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gfile&lt;/span&gt; &lt;span class="n"&gt;GWASCatalog2013Sep4_p1e&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;7.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gfile&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pcut&lt;/span&gt; &lt;span class="mf"&gt;0.0000001&lt;/span&gt;

&lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;may&lt;/span&gt; &lt;span class="n"&gt;take&lt;/span&gt; &lt;span class="n"&gt;several&lt;/span&gt; &lt;span class="n"&gt;hours&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="n"&gt;depending&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;power&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;computer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;because&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="n"&gt;computes&lt;/span&gt; &lt;span class="n"&gt;all&lt;/span&gt; &lt;span class="n"&gt;pairwise&lt;/span&gt; &lt;span class="n"&gt;similarity&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;2.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013)&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Note&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Usr&lt;/span&gt; &lt;span class="n"&gt;defined&lt;/span&gt; &lt;span class="n"&gt;queries&lt;/span&gt; &lt;span class="n"&gt;like&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="n"&gt;much&lt;/span&gt; &lt;span class="n"&gt;faster&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;likely&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="n"&gt;min&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="n"&gt;because&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="n"&gt;computes&lt;/span&gt; &lt;span class="n"&gt;pairwise&lt;/span&gt; &lt;span class="n"&gt;similarity&lt;/span&gt; &lt;span class="n"&gt;just&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;definied&lt;/span&gt; &lt;span class="n"&gt;trait&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="k"&gt;each&lt;/span&gt; &lt;span class="n"&gt;trait&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;catalog&lt;/span&gt;

    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwasfile&lt;/span&gt; &lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;txt&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;3.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013)&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwasfile&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;disgrp&lt;/span&gt; &lt;span class="n"&gt;Autoimmune&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;4.  Run usr defined SNPlist against NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwasfile&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwas&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pcut&lt;/span&gt; &lt;span class="mf"&gt;0.00001&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;5.  Run usr defined SNPlist against Autoimmune group of NHGRI GWAS Catalog (Sep4,2013), only including SNPs in the usr-defined SNPlist with p values &amp;lt; 0.00001&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;cpag&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwasfile&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;diy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gwas&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pcut&lt;/span&gt; &lt;span class="mf"&gt;0.00001&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;disgrp&lt;/span&gt; &lt;span class="n"&gt;Autoimmune&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;6.  Plot Network&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Note&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;only&lt;/span&gt; &lt;span class="n"&gt;take&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;prefix&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt;

    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;network&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;network&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;7.  Plot Network degree&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Note&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Uses&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="n"&gt;two&lt;/span&gt; &lt;span class="n"&gt;columns&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;mainout&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="n"&gt;plots&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;network&lt;/span&gt; &lt;span class="n"&gt;along&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;distribution&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;number&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;associated&lt;/span&gt; &lt;span class="n"&gt;traits&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="k"&gt;each&lt;/span&gt; &lt;span class="n"&gt;trait&lt;/span&gt; &lt;span class="n"&gt;within&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;network&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;

    &lt;span class="n"&gt;CPAG&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;network&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;degree&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;networkdegree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;infile&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="input-fileswzxhzdk16wzxhzdk17"&gt;Input files&lt;a id="sec-4" name="sec-4"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;A simple example for usr-defined SNPlist includes 3 columns: chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'. &lt;/p&gt;
&lt;table border="2" cellpadding="6" cellspacing="0" frame="hsides" rules="groups"&gt;
&lt;colgroup&gt;
&lt;col class="right" /&gt;
&lt;col class="left" /&gt;
&lt;col class="right" /&gt;
&lt;col class="left" /&gt;
&lt;/colgroup&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th class="right" scope="col"&gt;Chr&lt;/th&gt;
&lt;th class="left" scope="col"&gt;rsID&lt;/th&gt;
&lt;th class="right" scope="col"&gt;P&lt;/th&gt;
&lt;th class="left" scope="col"&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="right"&gt;1&lt;/td&gt;
&lt;td class="left"&gt;rs1234&lt;/td&gt;
&lt;td class="right"&gt;0.0000001&lt;/td&gt;
&lt;td class="left"&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="right"&gt;2&lt;/td&gt;
&lt;td class="left"&gt;rs1534&lt;/td&gt;
&lt;td class="right"&gt;0.0001&lt;/td&gt;
&lt;td class="left"&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="right"&gt;2&lt;/td&gt;
&lt;td class="left"&gt;rs2145&lt;/td&gt;
&lt;td class="right"&gt;0.0001&lt;/td&gt;
&lt;td class="left"&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1 id="output-fileswzxhzdk18wzxhzdk19"&gt;Output files&lt;a id="sec-5" name="sec-5"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Output files should be saved in a folder starting with "CPAGresults"&lt;/p&gt;
&lt;h2 id="output-for-usr-defined-snplistwzxhzdk20wzxhzdk21"&gt;Output for usr-defined SNPlist&lt;a id="sec-5-1" name="sec-5-1"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;1.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.&lt;br /&gt;
2.  a "ChaoSorensenOneRowHeatmap_SortByPval" file is a pdf heatmap of color-coded similarity values sorted from low to high pvalue. A red line demarcates the threshold for statistical significance (p&amp;lt;0.05 after Bonferroni correction)&lt;br /&gt;
3.  a "merge.ChaoSorensen" pdf file that places the usr-defined trait into the NHGRI GWAS Catalog heirarchical tree and heatmap&lt;br /&gt;
4.  a "mainout_Network" file is a PNG file with a network showing traits with any similarity to the usr-defined trait and connectivity based on similarity of those traits&lt;br /&gt;
5.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)&lt;/p&gt;
&lt;h2 id="output-for-nhgri-gwas-catalogwzxhzdk22wzxhzdk23"&gt;Output for NHGRI GWAS Catalog&lt;a id="sec-5-2" name="sec-5-2"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;1.  a "mainout" file is a tab-delimited file listing all traits with similarity to the usr-defined trait. For each trait the observed number of overlapping SNPs, the number of overlapping SNPs expected by chance, various p-values, and the Chao-Sorensen similarity index value is provided.&lt;br /&gt;
2.  a "ChaoSorensen" pdf file that displays then entire NHGRI GWAS Catalog heirarchical tree and heatmap&lt;br /&gt;
3.  a folder titled "gsea" which contains enrichment of pathways based on overlapping SNPs using the C2 MSigDB (GSEA Broad Institute) and IFN-targets from (Liu et al. 2012)&lt;/p&gt;
&lt;p&gt;This analysis has already been run the Sep4,2013 NHGRI GWAS Catalog and is included.&lt;br /&gt;
Future updates of the software will include automatic updating with the most current version of the NHGRI GWAS Catalog.&lt;/p&gt;
&lt;h1 id="important-noteswzxhzdk24wzxhzdk25"&gt;Important notes&lt;a id="sec-6" name="sec-6"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Important notes before running CPAG on Windows or Mac&lt;/p&gt;
&lt;p&gt;1.  For windows, you can run CPAG from the windows prompt. You can either 1) double click windows_prompt.bat in this folder or 2) click Start -&amp;gt; Search "Command Prompt"&lt;/p&gt;
&lt;p&gt;2.  For Mac system, CPAG should work on 64 bit Mac OS 10.6+&lt;/p&gt;
&lt;p&gt;3.  CPAGv0.1_win.exe or CPAGv0.1_mac must be placed into same folder with cpaglib&lt;/p&gt;
&lt;p&gt;4.  Type "CPAG.exe -h" for help, or "CPAG.exe –show-example" for running examples&lt;/p&gt;
&lt;p&gt;5.  An example of usr-defined SNP file can be found test/example.txt, which contain 3 columns of chromosome, SNP rsID and p values. The column delimiter is 'tab' not 'space'.&lt;/p&gt;
&lt;p&gt;6.  Format for the usr-defined SNPlist requires 3 columns. However, only the SNP rsIDs is absolutely required for CPAG (column 1 could be filled with "dummy" values and the p-values in column 3 are required only to take advantage of CPAG's p-value filtering options).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;analysis&lt;/span&gt; &lt;span class="n"&gt;has&lt;/span&gt; &lt;span class="n"&gt;already&lt;/span&gt; &lt;span class="n"&gt;been&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Sep4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2013&lt;/span&gt; &lt;span class="n"&gt;NHGRI&lt;/span&gt; &lt;span class="n"&gt;GWAS&lt;/span&gt; &lt;span class="n"&gt;Catalog&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;included&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Future&lt;/span&gt; &lt;span class="n"&gt;updates&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;software&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;include&lt;/span&gt; &lt;span class="n"&gt;automatic&lt;/span&gt; &lt;span class="n"&gt;updating&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;most&lt;/span&gt; &lt;span class="n"&gt;current&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;NHGRI&lt;/span&gt; &lt;span class="n"&gt;GWAS&lt;/span&gt; &lt;span class="n"&gt;Catalog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">liuyang wang</dc:creator><pubDate>Sun, 05 Oct 2014 03:11:29 -0000</pubDate><guid>https://sourceforge.netabf36c786b699a9c97c3ff0c02da36d1d5581887</guid></item></channel></rss>