|Home | Documents | Template Program | Citation|
i-Gsea4Gwas Template Program beta Tutorial
i-GSEA4GWAS provides a JAVA template program to access web services directly. To run this program, JAVA environment is required. You can download the JVM software from http://java.sun.com/javase/downloads/index.jsp and set your proper system's environment to make sure the JAVA is executable.
Unzip the downloaded "i-Gsea4Gwas_v1.0.zip" file, which includes two jar files, "iGsea4Gwas.jar", "iGsea4Parse.jar" and one configuration file "iGSEA_Configuration.properties".
Gsea4Gwas.jar: this jar file is to run the main service of our server with the parameters in the file "iGSEA_Configuration.properties". Currently it only supports the SNP association data (-log(P-value), statistics or odds ratio) as input.
configurationFile is optional, iGSEA_Configuration.properties on current directory is default. To ensure to run this program properly, please put iGsea4Gwas.jar, configuration file, the input SNP association data and uploaded customerized gene set file (if available) in the same folder.
The program will send the job to our server and the result file will be sent back to your computer, named "gene_set.txt".
You can modify the configuration file iGSEA_Configuration.properties as you like. For any questions about the parameters, please refers to the Tutorial of i-GSEA4GWAS or contact us by email@example.com.
The main content of the configuration file (iGSEA_Configuration.properties) are as follows:
Job Name: [test] /* Set your job name. */ Upload GWAS data file: [SNP_P_ValueManager.txt] /* Modify it according to the name of your GWAS SNP association data file, and this parameter can NOT be blank */ Select SNPs->genes mapping type: [500kb] /* Please select one of the three SNPs->genes mapping types: 500kb,100kb,5kb,within_gene,functional. */ Gene set databases (canonical pathways): [yes] /* Put yes or no */ Gene set databases (GO biological process): [no] /* Put yes or no */ Gene set databases (GO molecular function): [no] /* Put yes or no */ Gene set databases (GO cellular component): [no] /* Put yes or no */ Upload gene set file:  /* Modify it according to the name of your gene set file, and leave it as blank if you do not want to upload your own gene sets. */ Limit gene sets by keywords:  /* Can be any keywords including gene name */ Keywords limitation: [include] /* Set the attribute include or exclude. */ MHC/xMHC region mask:  /* This property is limited to : blank or maskMHC or maskxMHC. */ Minimum number of genes in gene set:  /* The default minimum gene number is 20. */ Maximum Number of genes in gene set:  /* The default maximum gene number is 200. */
iGsea4Parse.jar: this jar file is to parse the result file obtained by iGsea4Gwas.jar.
java -Xmx500m -jar iGsea4Parse.jar -i gsea4gwasOutputFile -o parseOutputPath -q FDR _Value
gsea4gwasOutputFile is compulsory, it is the result file from iGsea4Gwas.jar, such as "gene_set.txt".
parseOutputPath is optional, current this directory is default if outputPath is null.
FDR_Value is optional in the range of [0, 0.25], and the default value is 0.05. This option is to set the cutoff for the gene sets to be extracted.
Parse result include two txt files and one folder named "ManhattanPlots":
All the Manhattan plots are generated in the folder "ManhattanPlots", and each Manhattan plot is named according to the corresponding gene set name.
In example folder, you can find some example files. SNP_P_ValueManager.txt is an example SNP association data file which is utilized for the demo run of i-GSEA4GWAS web server, iGSEA_Configuration.properties is a default configure file. In this folder, you can run
java -Xmx500m -jar iGsea4Gwas.jar
java -Xmx500m -jar iGsea4Parse.jar -i gene_set.txt
Copyright: Bioinformatics Lab, Institute of Psychology, Chinese Academy of Sciences
Last update: June 23, 2010