错误一:

2014-10-08 13:09:32,238 [uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:193] ERROR - Execution thrown when attempting to executeInTransaction the StepExecution.  All database activity rolled back.

java.lang.IllegalStateException: IOException thrown when attempting to run binary

Caused by: java.io.IOException: Cannot run program "bin/coils/ncoils": error=2, No such file or directory

2014-10-08 13:09:42,510 [uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:24] FATAL - Analysis step 3 : Run fingerprintscan Binary for selected proteins for proteins 1 to 5 has failed irretrievably.  Available StackTraces follow.

2014-10-08 13:09:42,510 [uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:41] FATAL - The JVM will now exit with a non-zero exit status.

2014-10-08 13:09:42,511 [uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:105] ERROR - Exception thrown by StandaloneBlackBoxMaster:

java.lang.IllegalStateException: InterProScan exiting with non-zero status, see logs for further information.

本来以为是java的问题, 以为要把openJDK 换成JRE, 但是问了老师,没那回事,最关键的问题是这句:

Caused by: java.io.IOException: Cannot run program "bin/coils/ncoils": error=2, No such file or directory

说明ncoils没法运行。是ncoils的问题, google后发现:

https://code.google.com/p/interproscan/wiki/CompilingBinaries#BLASTALL

所以要重新搞个ncoils把以前的给替换掉。

步骤:

mkdir tmp
cd tmp

wget ftp://ftp.ebi.ac.uk/pub/software/unix/coils-2.2/ncoils.tar.gz

tar zxvf ncoils.tar.gz

cd coils/

要把coils加到环境变量里:

export COILSDIR=/share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/tmp/coils
echo $COILSDIR

这样是暂时的,永久性的需要编辑你的./bash_profile 然后source ~/.bash_profile生效

cd /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/bin/coils

将旧的移除新的加入

mv ncoils ncoils.bak

cp ../../tmp/coils/ncoils-osf ncoils

问题解决!

错误二:

Matches for any sequences that are not represented in the lookup service will be calculated locally.
2014-10-09 09:14:11,069 [uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:193] ERROR - Execution thrown when attempting to executeInTransaction the StepExecution.  All database activity rolled back.
java.lang.IllegalArgumentException: You have submitted a protein sequence which contains an asterix (*). This may be from an ORF prediction program. '*' is not a valid IUPAC amino acid character and amino acid sequences which go through our pipeline should not contain it. Please strip out all asterix characters from your sequence and resubmit your search.

原因是序列中有*号, 而interproscan是不允许有这种字符的,所以要删掉, 写了个脚本,执行:

python /share/Public/cmiao/MyScripts/interproscan/rm_star.py your_fasta_file

问题解决

错误三:

[Thu Oct 09 09:56:34] cmiao@apple /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0 $ ./run_commands.sh 09/10/2014 09:56:39:511 Welcome to InterProScan-5.7-48.0 09/10/2014 09:56:52:065 Running InterProScan v5 in STANDALONE mode... Loading file /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/myprotein/6-5001--6000removed_star.fasta 09/10/2014 09:57:02:643 Running the following analyses: [jobTIGRFAM-13.0,jobProDom-2006.1,jobSMART-6.2,jobHAMAP-201311.27,jobPrositePatterns-20.97,jobSuperFamily-1.75,jobPRINTS-42.0,jobPanther-9.0,jobGene3d-3.5.0,jobPIRSF-2.84,jobPfamA-27.0,jobPrositeProfiles-20.97,jobCoils-2.2] Available matches will be retrieved from the pre-calculated match lookup service.

Matches for any sequences that are not represented in the lookup service will be calculated locally. 09/10/2014 09:57:29:950 25% completed 09/10/2014 09:57:51:467 51% completed 2014-10-09 09:58:26,440 [uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:193] ERROR - Execution thrown when attempting to executeInTransaction the StepExecution.  All database activity rolled back. java.lang.IllegalStateException: IOException thrown when attempting to run binary

Caused by: java.io.IOException: Cannot run program "bin/blast/2.2.6/blastall": error=2, No such file or directory

这次是blastall出问题,
发现在/share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/bin/blast下有两个版本的blastall, 经过测试2.2.6版本不能用, 但是2.2.19能用, 直接编辑interproscan.properties 
 将2.2.6版本地址直接改为2.2.19, 然后OK 了。

错误四:

[root@melon interproscan-5.7-48.0]# ./interproscan.sh -t n -i /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/253,12601--12650.fasta -b my_genes_results/253,12601--12650
23/10/2015 17:01:54:572 Welcome to InterProScan-5.7-48.0
23/10/2015 17:02:08:731 Running InterProScan v5 in STANDALONE mode...
2015-10-23 17:02:19,592 [uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep:146] ERROR - Command line failed with exit code: 127
Command: bin/nucleotide/getorf -sf pearson -sequence /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/253,12601--12650.fasta -outseq /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/temp/melon_20151023_170219353_cwl4//jobLoadNucleicAcidSequence/orfs.fasta -minsize 50
Error output from binary:
bin/nucleotide/getorf: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

InterProScan analysis failed. Exception thrown by StandaloneBlackBoxMaster. Check the log file for details

错误原因:“Error output from binary:

bin/nucleotide/getorf: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory“

发现在/usr/lib64/ 下面没有libgd.so.2

需要安装GD库!!!!

解决办法:

[root@melon interproscan-5.7-48.0]# yum install gd

安装成功后就解决了!

错误五:

2015-10-23 17:20:14,305 [uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep:146] ERROR - Command line failed w ith exit code: 255
Command: bin/coils/ncoils -c -m data/coils/2.2/new_coil.mat
Error output from binary:
error: environment variable COILSDIR must be set

2015-10-23 17:20:14,308 [uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:193] ERROR - Execution thrown when attempting to executeInTransaction the StepExecution. All database activity rolled back.
java.lang.IllegalStateException: Command line failed with exit code: 255
Command: bin/coils/ncoils -c -m data/coils/2.2/new_coil.mat
Error output from binary:
error: environment variable COILSDIR must be set

错误原因:

”error: environment variable COILSDIR must be set“在apple上装的,在melon上跑,在apple上设置的环境变量并没有在melon上设置。重新设置coil的环境变量

vi /etc/profile.d/soft.sh

添加:export COILSDIR=/share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/tmp/coils

source /etc/profile.d/soft.sh

错误六:

cmiao@c01n10 /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0
$ ./interproscan.sh -t n -i /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/284,14151--14200.fasta -b my_genes_results/284,14151--14200
24/10/2015 10:31:09:448 Welcome to InterProScan-5.7-48.0
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Cannot resolve reference to bean 'freeMarkerConfigHtmlWriter' while setting bean property 'freeMarkerConfig'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freeMarkerConfigHtmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods

错误原因:

java 版本问题,服务器是1.8,要用1.7

alternatives --config java

选择1.7版本!

错误七:

cmiao@c01n10 /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0
$ ./interproscan.sh -t n -i /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/284,14151--14200.fasta -b my_genes_results/284,14151--14200
24/10/2015 10:35:30:263 Welcome to InterProScan-5.7-48.0
24/10/2015 10:35:39:334 Running InterProScan v5 in STANDALONE mode...
2015-10-24 10:35:50,111 [uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep:146] ERROR - Command line failed with exit code: 127
Command: bin/nucleotide/getorf -sf pearson -sequence /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/284,14151--14200.fasta -outseq /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/temp/c01n10_20151024_103550061_7ug8//jobLoadNucleicAcidSequence/orfs.fasta -minsize 50
Error output from binary:
bin/nucleotide/getorf: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory

2015-10-24 10:35:50,116 [uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:193] ERROR - Execution thrown when attempting to executeInTransaction the StepExecution. All database activity rolled back.
java.lang.IllegalStateException: Command line failed with exit code: 127
Command: bin/nucleotide/getorf -sf pearson -sequence /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/mygenes/284,14151--14200.fasta -outseq /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/temp/c01n10_20151024_103550061_7ug8//jobLoadNucleicAcidSequence/orfs.fasta -minsize 50
Error output from binary:
bin/nucleotide/getorf: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory

错误原因:

缺少库文件

解决办法:

  1. yum install postgresql-libs

by freemao

FAFU

free_mao@qq.com

interproscan 的使用和遇到的问题的更多相关文章

  1. Interproscan, xml文件转化为tsv

    将interproscan的结果转化格式 很奇怪 tsv格式里没有go, kegg, inter-domain信息,但是xml文件里面却有,tsv文件比较好处理,所以先将xml文件转化为tsv.用软件 ...

  2. InterProScan 5.17-56.0 安装和使用

    InterProScan 5.18-57.0 安装和使用,目前最新版的interproscan 引用自 每日一生信--interproscan安装及使用(终结版)原文官网:http://code.go ...

  3. InterProScan 5.25-64.0 安装和使用

    InterProScan 5.25-64.0 安装和使用,目前最新版的interproscan 引用自 每日一生信--interproscan安装及使用(终结版)原文官网:http://code.go ...

  4. interproscan 软件对序列进行GO 注释

    interproscan 软件实际上将对输入的查询序列和interpro 数据库中的序列去比对,将比对上的序列对应的GO信息作为查询序列的GO注释 在interpro 数据库中,每条蛋白质序列有一个唯 ...

  5. [protocol]GO enrichment analysis

    [protocol]GO enrichment analysis     背景: 什么是富集分析,自己可以百度.我到目前也没发现一个比较通俗易懂的介绍.直接理解为一种统计学方法就可以了. 用于查看显著 ...

  6. 蛋白序列GO号注释及问题

    #===============================      版本1  ===============================================InterProSc ...

  7. interpro 数据库

    interpro 通过整合多个蛋白相关的数据库,提供了一个方便的对蛋白序列进行功能注释的平台,功能注释的内容包括蛋白质家族预测,domain 和 结合位点预测 interoro 在整合多个数据库的同时 ...

  8. GO 功能注释

    文章转载于 Original 2017-06-12 liuhui 生信百科 相似的基因在不同物种中,其功能往往保守的.显然,需要一个统一的术语用于描述这些跨物种的同源基因及其基因产物的功能,否则,不同 ...

  9. Gene Ontology (GO) 注释

    Gene Ontology (GO) 注释  Posted on 2017-06-11 |  In 生信 相似的基因在不同物种中,其功能往往保守的.显然,需要一个统一的术语用于描述这些跨物种的同源基因 ...

随机推荐

  1. 在单元测试中指定log4j的配置文件

    在开发过程中,我们会使用到log4j来输出日志,我们希望在单元测试的时候,只看到部分日志信息,或者定义日志输出的级别.   这个时候手工指定log4j的配置文件:   具体做法如下: 定义类如下: i ...

  2. 所思所想 关于asp.net界面业务分离

    1.体会:使用ASP.NET控件来做前段是有很大的局限性的 2.使用拼接HTML的方式来写代码虽然不符合模式,但是有很大的灵活性 3.如果使用拼接字符串的方式来生成前台的代码,使用NV的话完全可以实现 ...

  3. 找出html中的图片、包括css中的图片,读出图片数据转换为base64数据

    <?php echo ">> 图片的地址,css里面的要打单引号\r\n"; echo ">> 相同的图片,使用css实现图片地址只出现一次 ...

  4. C#保存登录用户名供其他页面调用

    一.保存登录用户名供其他页面调用 步骤: (1)项目自带的Program.cs,类方法里定义登录的用户名为全局变量loginid,这样整个项目都可以调用它 static class Program { ...

  5. ROS主题发布订阅控制真实的机器人下位机

    先模拟控制小乌龟 新建cmd_node.ccpp文件: #include"ros/ros.h" #include"geometry_msgs/Twist.h" ...

  6. 设置AFNetworking网络请求的超时时间

    http://www.mamicode.com/info-detail-511816.html // 设置超时时间 [manager.requestSerializer willChangeValue ...

  7. TDBGridEh的 搜索面板 TDBGridSearchPanel

    TCustomDBGridEh.Create FSearchPanelControl := TDBGridSearchPanelControlEh.Create(Self); //这里,创建的构造函数 ...

  8. 黑马程序员——C语言基础语法 关键字 标识符 注释 数据及数据类型

    Java培训.Android培训.iOS培训..Net培训.期待与您交流! (一下内容是对黑马苹果入学视频的个人知识点总结) (一)C语言简单介绍 (1)C语言程序是由函数组成的任何C语言程序都是由一 ...

  9. Ajax返回类型JSON,XML

    Ajax的三种返回类型 **一.TEXT *二.JSON 数据显示页面代码: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti ...

  10. Ogre中OctreeSceneManager

    转自:http://blog.csdn.net/yanonsoftware/article/details/1067265 既然前面分析Mesh(Entity,SceneNode)的渲染时已经看到了O ...