在做GSEA分析的时候,导入.cls文件容易出现错误,在本人网上查了几天无果后,想出了一个办法:就是用别人的.cls文件直接改成.txt文件,然后进去编辑自己的内容,删掉原来的内容,重新改回.cls即可!大家可以用我的.cls文件,然后去更改即可!
[注意:这儿不支持直接上传.CLS文件,请移步去百度云下载],如果还不会的留言联系!
上述失效请用这个
链接:https://pan.baidu.com/s/14W3KnSDU2V-3ouwcfj0iBQ
提取码:f10j
报错提示如下:
---- Full Error Message ----
There were errors: ERROR(S) #:1
Parsing trouble
java.lang.IndexOutOfBoundsExcept ...
---- Stack Trace ----
# of exceptions: 1
------Index 0 out of bounds for length 0------
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)
at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
at java.base/java.util.Objects.checkIndex(Unknown Source)
at java.base/java.util.ArrayList.get(Unknown Source)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.TxtDatasetParser.parse(TxtDatasetParser.java:101)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.TxtDatasetParser.parse(TxtDatasetParser.java:86)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.readDatasetTXT(ParserFactory.java:201)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:748)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:725)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserWorker.doInBackground(ParserWorker.java:51)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
修改后成功导入!