interproscan 的使用和遇到的问题

运行interproscan时报错:

[Wed Oct 08 13:07:16]

[email protected] /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0

$ ./interproscan.sh -i test_proteins.fasta

08/10/2014 13:08:53:591 Welcome to InterProScan-5.7-48.0

08/10/2014 13:09:06:297 Running InterProScan v5 in STANDALONE mode...

Loading file /share/bioinfo/miaochenyong/interproscan-software/tars/interproscan-5.7-48.0/test_proteins.fasta

08/10/2014 13:09:21:009 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.

08/10/2014 13:09:27:248 29% completed

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

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:130)

at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

at com.sun.proxy.$Proxy96.executeInTransaction(Unknown Source)

at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:181)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)

at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)

at java.lang.Thread.run(Thread.java:745)

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

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)

at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:144)

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:128)

... 22 more

Caused by: java.io.IOException: error=2, No such file or directory

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)

at java.lang.ProcessImpl.start(ProcessImpl.java:130)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)

... 24 more

2014-10-08 13:09:32,320 [uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:56] WARN - StepInstance 3 is being re-run following a failure.

2014-10-08 13:09:37,341 [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

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:130)

at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

at com.sun.proxy.$Proxy96.executeInTransaction(Unknown Source)

at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:181)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)

at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)

at java.lang.Thread.run(Thread.java:745)

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

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)

at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:144)

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:128)

... 22 more

Caused by: java.io.IOException: error=2, No such file or directory

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)

at java.lang.ProcessImpl.start(ProcessImpl.java:130)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)

... 24 more

2014-10-08 13:09:37,399 [uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:56] WARN - StepInstance 3 is being re-run following a failure.

2014-10-08 13:09:42,420 [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

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:130)

at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

at com.sun.proxy.$Proxy96.executeInTransaction(Unknown Source)

at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:181)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)

at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)

at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)

at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)

at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)

at java.lang.Thread.run(Thread.java:745)

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

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)

at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:144)

at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:128)

... 22 more

Caused by: java.io.IOException: error=2, No such file or directory

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)

at java.lang.ProcessImpl.start(ProcessImpl.java:130)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)

... 24 more

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.

at uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError.failed(NonZeroExitOnUnrecoverableError.java:42)

at uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster.run(StandaloneBlackBoxMaster.java:47)

at uk.ac.ebi.interpro.scan.jms.main.Run.main(Run.java:270)

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

本来以为是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

问题解决!

by freemao

FAFU

[email protected]

时间: 2024-09-28 00:36:40

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

Interproscan, xml文件转化为tsv

将interproscan的结果转化格式 很奇怪 tsv格式里没有go, kegg, inter-domain信息,但是xml文件里面却有,tsv文件比较好处理,所以先将xml文件转化为tsv.用软件自带的工具: The convert mode is designed to work only for XML documents created with the same version. This makes sure we can introduce new schema updates

interProScan的使用

InterProScan的三种使用方法 Interproscan,通过蛋白质结构域和功能位点数据库预测蛋白质功能.是EBI开发的一个集成了蛋白质家族.结构域和功能位点的非冗余 数据库.Interproscan整合了一些使用最普及的一些数据库,并应用于功能未知的蛋白进行Interpro注释和GO注释. 以下介绍3中interpro注释的方法: 一.网页版的Interpro注释 打开InterProScan的官网地址:http://www.ebi.ac.uk/Tools/pfa/iprscan/.将

InterProScan 5.14-53.0 安装

InterProScan 5.14-53.0 安装,目前最新版的interproscan 引用自 每日一生信--interproscan安装及使用(终结版)原文官网:http://code.google.com/p/interproscan/wiki/Introduction 配置要求:至少2 cores and 4 GB of RAM, 这样才能同时分析5 - 10 sequences . 软件要求: Linux, 32 bit or 64 bit (64 bit recommended).

一个基于QT的解析interproscan结果的C++成员函数

结构域预测软件interproscan提供多种输出格式,出于后期分析的需要,选用了gff3格式.我比较喜欢结合数据库进行分析,所以先要把数据导入数据库. 我之前用QT写好了界面,所以只要在菜单里添加一个QAction.再在主窗口类中添加槽函数就可以了.这里给出我解析文件的槽函数. void MainWindow::on_interproToMyDB(){ PfamToMyDBDlg * dbDlg = new PfamToMyDBDlg(this); dbDlg->exec(); QFile q

GO 功能注释

文章转载于 Original 2017-06-12 liuhui 生信百科 相似的基因在不同物种中,其功能往往保守的.显然,需要一个统一的术语用于描述这些跨物种的同源基因及其基因产物的功能,否则,不同的实验室对相同的基因的功能的描述不同,将极大限制学术的交流.而 Gene Ontology (GO) 项目正是为了能够使对各种数据库中基因获基因产物功能描述相一致的努力结果. 所谓的 GO,是生物学功能注释的一个标准词汇表术语(GO term),将基因的功能分为三部分: 基因执行的分子功能(Mole

Gene Ontology (GO) 注释

Gene Ontology (GO) 注释 Posted on 2017-06-11 |  In 生信 相似的基因在不同物种中,其功能往往保守的.显然,需要一个统一的术语用于描述这些跨物种的同源基因及其基因产物的功能,否则,不同的实验室对相同的基因的功能的描述不同,将极大限制学术的交流.而 Gene Ontology (GO) 项目正是为了能够使对各种数据库中基因获基因产物功能描述相一致的努力结果. 所谓的 GO,是生物学功能注释的一个标准词汇表术语(GO term),将基因的功能分为三部分:

【R】clusterProfiler的GO/KEGG富集分析用法小结

前言 关于clusterProfiler这个R包就不介绍了,网红教授宣传得很成功,功能也比较强大,主要是做GO和KEGG的功能富集及其可视化.简单总结下用法,以后用时可直接找来用. 首先考虑一个问题:clusterProfiler做GO和KEGG富集分析的注释信息来自哪里? GO的注释信息来自Bioconductor,提供了19个物种的org类型的GO注释信息,如下表所示.Bioconductor中更多的注释包可参考http://www.bioconductor.org/packages/rel