Error in Loading my data

57 views
Skip to first unread message

Luís Eduardo Gonçalves

unread,
Jun 3, 2021, 6:39:48 AM6/3/21
to gsea-help
Hello,

I am having issues when I try to load my data. I've tried saving as gct and txt, but it did not work. The following error appears:

<Error Details>

---- Full Error Message ----
There were errors: ERROR(S) #:1
Parsing trouble
java.lang.NumberFormatException: ...

---- Stack Trace ----
# of exceptions: 1
------For input string: "302,2048"------
java.lang.NumberFormatException: For input string: "302,2048"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.base/jdk.internal.math.FloatingDecimal.parseFloat(Unknown Source)
at java.base/java.lang.Float.parseFloat(Unknown Source)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.GctParser._parseHasDesc(GctParser.java:215)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.GctParser._parse(GctParser.java:167)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.GctParser.parse(GctParser.java:117)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.readDatasetGct(ParserFactory.java:159)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.readDatasetGct(ParserFactory.java:129)
at org.gsea_msigdb.gsea/edu.mit.broad.genome.parsers.ParserFactory.read(ParserFactory.java:746)
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)


Anthony Castanza

unread,
Jun 3, 2021, 12:31:12 PM6/3/21
to gsea...@googlegroups.com

Hello,

 

The error message indicates that there are unexpected comma characters in your dataset. The most common cause of this issue is using a language encoding that saves numbers using a comma instead of a period as a decimal separator.

If this doesn’t address the error message you’re experiencing, sending a screenshot of the content of the input file would assist in further debugging.

 

-Anthony

 

Anthony S. Castanza, PhD

Curator, Molecular Signatures Database

Mesirov Lab, Department of Medicine

University of California, San Diego

http://gsea-msigdb.org/

--
You received this message because you are subscribed to the Google Groups "gsea-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gsea-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gsea-help/6303026f-c5a1-43df-a892-26ae21e7b0cdn%40googlegroups.com.

Luís Eduardo Gonçalves

unread,
Jun 4, 2021, 10:30:04 AM6/4/21
to gsea-help
It worked! thank you so much. Apparently there were some commas throughout the data.
Reply all
Reply to author
Forward
0 new messages