Fifteen individual Java class files are listed in the associated file “GSEAsourceCode.txt” Compile the class files into GSEA.jar using any compiler of your choosing. To run GSEA.jar, use the following command: java -jar GSEA.jar [expression_file] [annotation_file] [output_file] from the directory holding the jar file, expression file, and annotation file. The expression_file is the one created from the GWAS output file, consisting of two columns (FBgn# and -log(GWAS variant ID p-value)). The annotation_file is a tab-delimited file that links the Entry_ID (i.e., FBgn#) with the functional groups (i.e., GO ID) to test against. The output_file is where you want the results to go. I usually call this OUTPUT.txt and rename it later. The output format will be a tab-delimited file as follows [experiment_name] [functional_group] [p_value] [es_score] [#genes] [genes] I open the OUTPUT.txt file in Excel and add these headings in the 1st row. The es_score is the marker of whether the gene list was concentrated at the top (positive) or bottom (negative). When the input data consists of only one experiment, as is the case with GWAS data, anything with a negative es_score means the gene list was concentrated at the bottom of the list, which corresponds to things not significantly enriched. The p-value is the significance of the es_score, computed using the dynamic programming method of Keller et al (PMID 17683603). The #genes tells you the number of genes contributing to the maximum es score found and the genes tells you the ids of the genes that are in that list as well (seperated by ";").