1

在命令行中运行 GSEA 时出现问题:

错误是:

5290 [INFO ] Begun importing: Dataset from: fib2016_symbol.gct
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.remove(ArrayList.java:496)
        at edu.mit.broad.genome.parsers.GctParser._parse(GctParser.java:143)
        at edu.mit.broad.genome.parsers.GctParser.parse(GctParser.java:118)
        at edu.mit.broad.genome.parsers.ParserFactory.readDatasetGct(ParserFactory.java:160)
        at edu.mit.broad.genome.parsers.ParserFactory.readDatasetGct(ParserFactory.java:130)
        at edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:747)
        at edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:800)
        at edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:788)
        at xtools.api.param.PobParam.getPob(PobParam.java:79)
        at xtools.api.param.DatasetReqdParam.getDataset(DatasetReqdParam.java:29)
        at xtools.gsea.Gsea.createHeader(Gsea.java:146)
        at xtools.gsea.Gsea.execute(Gsea.java:66)
        at xtools.api.AbstractTool.tool_main(AbstractTool.java:406)
        at xtools.gsea.Gsea.main(Gsea.java:140)

我的命令行是:

java -Xmx5000m -cp /home/lucas_pkuhpc/lustre1/software/gsea-3.0.jar xtools.gsea.Gsea -res 190104GSEAinput/fib2016_symbol.gct -cls 190104GSEAinput/4GSEA.cls -gmx 190104GSEAinput/HALLMARK_DNA_REPAIR.gmx -collapse false -nperm 1000 -permute gene_set -rpt_label fib2016_symbol -metric log2_Ratio_of_Classes -s -plot_top_x 30 -gui false

我真的不知道如何解决这个问题,欢迎任何建议和评论。

谢谢

4

1 回答 1

1

GCTParser line 140-143:

List colnames = ParseUtils.string2stringsList(currLine, "\t"); // colnames can have spaces

colnames.remove(0);                                 // first elem is always nonsense
colnames.remove(0);

If the coding is correct then there are not enough \t (tab space) separators for colNames. There should be at least 1 for this error to not occur.

于 2019-01-05T05:35:55.840 回答