Dear All,
I would like to use java GSEA software to analyse RNA-Seq FPKM datasets for enriched KEGG pathways. I made .txt gene expression data that could be read by the programme as well as appropriate .cls phenotype file. I downloaded the KEGG gene sets from http://www.broadinstitute.org/gsea/msigdb/collections.jsp
I use gene symbols in both gene sets and expression table. Unfortunately the analysis comes up with an error message like this:
Full Error Message
col:4 > matrix's fColCnt:4
---- Stack Trace ----
# of exceptions: 1
------col:4 > matrix's fColCnt:4------
java.lang.ArrayIndexOutOfBoundsException: col:4 > matrix's fColCnt:4
at edu.mit.broad.genome.math.Matrix.getColumnV(EIKM)
at edu.mit.broad.genome.objects.DefaultDataset.getColumn(EIKM)
at edu.mit.broad.genome.objects.TemplateFactory.extract(EIKM)
at edu.mit.broad.genome.alg.DatasetGenerators.extract(EIKM)
at edu.mit.broad.genome.alg.DatasetGenerators.extract(EIKM)
at xtools.gsea.AbstractGsea2Tool.execute_one(EIKM)
at xtools.gsea.AbstractGsea2Tool.execute_one_with_reporting(EIKM)
at xtools.gsea.Gsea.execute(EIKM)
at edu.mit.broad.xbench.tui.TaskManager$ToolRunnable.run(EIKM)
at java.lang.Thread.run(Unknown Source)
I tried many things to fix this problem. I re-run the analysis with number of permutations 1 and 5. I modified the expression file and substituted every value of 0 into 0.001 (I thought that may have been the problem). But it didn't work.
Your help will be deeply appreciated.
How many columns are there in your matrix? Also, can you show the .cls file? Does your matrix have 3 columns and your .cls file says it has 4?
Hi thanks for the reply,
You can see both the successfully uploaded expression dataset and phenotype file below.
Notice that some genes had FPKM of 0 and I was wondering whether that is causing the problem?
Thanks for the help again.
According to your .cls, you should have 12 columns and 4 conditions. But you only have 4 columns of expression data in the matrix.
I thought to first value refers to the total number conditions. OK will change it to 4 4 1 and see if it works.
Thanks