Problem starting and running Gmaj (MAF file viewer and manipulator)
0
0
Entering edit mode
8.8 years ago
Thomas ▴ 160

I am trying to run Gmaj.

The usage guide is as follows:

[path1]java -jar [path2]gmaj.jar

My input command is as follows (I am in the same directory as the gmaj.jar file):

java -jar gmaj.jar

The output is as follows:

Exception in thread "main" java.lang.ClassCastException: java.lang.StringBuffer cannot be cast to java.lang.String    
    at edu.psu.bx.gmaj.MajGui.setDefaults(MajGui.java:272)
    at edu.psu.bx.gmaj.Maj.<init>(Maj.java:53)
    at edu.psu.bx.gmaj.MajMain.main(MajMain.java:86)

The software is written in Java, and depends upon the Java Runtime Environment. As I have very little familiarity with Java, I am not sure about the next step forward. Any help would be appreciated

NB: To learn more about Gmaj and the information it takes as input, see:

Blanchette, M., et al. (2004). "Aligning multiple genomic sequences with the threaded blockset aligner." Genome Research 14(4): 708-715.

Gmaj JRE Java MAF UCSC • 2.8k views
ADD COMMENT
1
Entering edit mode

Hi,

Did this ever get resolved? I have the same problem and am trying to figure out how else to view the .MAF files I have from Mugsy.

ADD REPLY
0
Entering edit mode

Hi cssuliv,

I am afraid I never managed to resolve this issue. I emailed the first author of the paper but never received a reply.

Best wishes, Thomas

ADD REPLY
0
Entering edit mode

it looks like a programming error. You should ask the authors of the paper.

ADD REPLY
0
Entering edit mode

I have exactly the same problem:

Exception in thread "main" java.lang.ClassCastException: java.lang.StringBuffer cannot be cast to java.lang.String
    at edu.psu.bx.gmaj.MajGui.setDefaults(MajGui.java:272)
    at edu.psu.bx.gmaj.Maj.<init>(Maj.java:53)
    at edu.psu.bx.gmaj.MajMain.main(MajMain.java:86)
ADD REPLY

Login before adding your answer.

Traffic: 1654 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6