80 blast2go注释,报错“Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException”,请问如何解决,详细一点

[root@iZ8vb8s8t9gi6cyewfy80bZ b2g4pipe]# java -jar blast2go.jar -in 122_cds_wanted.fa.tab -a -v -out 122_annot_result
Blast2GO Pipeline Version 2.5.0
--------------------------------------

Hash for resource ec2go_19072011.txt of type ec created. 4003 associations loaded.
Blast2GO build: 23092011
Change b2g-properties file to: b2gPipe.properties
Blast2go.version=2.5.0
Blast2GO can not reach the Internet
Blast2GO started (without GUI)
create new Project
set new Project
Hit description position set to: 5
Hit description filter set to: 
GoWeight set to: 5.0
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
	at es.blast2go.prog.B2GAnnotPipe.<init>(B2GAnnotPipe.java:199)
	at es.blast2go.prog.B2GAnnotPipe.main(B2GAnnotPipe.java:102)
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 2 more
请先 登录 后评论

最佳答案 2019-05-29 15:51

我用的blast2go v2.5 :输入的是blast的xml文件,你可以参考一下:

 java -XX:ParallelGCThreads=5 -cp /share/work/biosoft/blast2go/v2.5/*:/share/work/biosoft/blast2go/v2.5/ext/*: es.blast2go.prog.B2GAnnotPipe -in /share/work/database/ref/Lactobacillus_plantarum/NCBI/WCFS1/ann/Nr_Dir/Gene_longest_trans_cds.fa.1.fa.nr.blast.xml -out /share/work/database/ref/Lactobacillus_plantarum/NCBI/WCFS1/ann/Result/Blast2go/Gene_longest_trans_cds.fa.1 -prop /share/work/biosoft/blast2go/v2.5/b2gPipe.properties -v -annot

请先 登录 后评论

其它 0 个回答