CarlosCaris / interproscan

Automatically exported from code.google.com/p/interproscan
1 stars 0 forks source link

[interhelp #58950] Problem with running interproscan #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am using interproscan-5.14-53.0
2. The given Test file (test_proteins.fasta) runs successfully.
3. However, when I try to run my data file (as small as containing only 3-4 
sequences, in fasta format), interproscan fails.

What is the expected output? What do you see instead?
Instead of, 100% done:  InterProScan analyses completed
I get,
19/08/2015 14:28:28:357 Welcome to InterProScan-5.14-53.0
19/08/2015 14:28:36:902 Running InterProScan v5 in STANDALONE mode...
Loading file 
/home/smarla/my_interproscan/interproscan-5.14-53.0/sng_ara_pro_1.fasta
19/08/2015 14:28:41:798 Running the following analyses:
[jobProDom-2006.1,jobHAMAP,jobSMART-6.2,jobSuperFamily-1.75,jobPRINTS-42.0,jobPa
nther-9.0,jobGene3d-3.5.0,jobPIRSF-3.01,jobPfam,jobPrositeProfiles,jobTIGRFAM-15
.0,jobPrositePatterns,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.
19/08/2015 14:29:40:461 26% completed
2015-08-19 14:30:33,268 
[uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:192] ERROR - 
Execution thrown when attempting to executeInTransaction the StepExecution.  
All database activity rolled back.
java.lang.ArrayIndexOutOfBoundsException: 10
    at uk.ac.ebi.interpro.scan.io.match.prints.PrintsMatchParser.parse(PrintsMatchParser.java:78)
    at uk.ac.ebi.interpro.scan.management.model.implementations.prints.ParsePrintsOutputStep.execute(ParsePrintsOutputStep.java:74)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)
    at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    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.$Proxy95.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:180)
    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:701)
2015-08-19 14:30:33,372 
[uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:58] WARN - 
StepInstance 41 is being re-run following a failure.
19/08/2015 14:30:33:433 52% completed
2015-08-19 14:30:43,440 
[uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:192] ERROR - 
Execution thrown when attempting to executeInTransaction the StepExecution.  
All database activity rolled back.
java.lang.ArrayIndexOutOfBoundsException: 10
    at uk.ac.ebi.interpro.scan.io.match.prints.PrintsMatchParser.parse(PrintsMatchParser.java:78)
    at uk.ac.ebi.interpro.scan.management.model.implementations.prints.ParsePrintsOutputStep.execute(ParsePrintsOutputStep.java:74)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)
    at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    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.$Proxy95.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:180)
    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:701)
2015-08-19 14:30:43,539 
[uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:58] WARN - 
StepInstance 41 is being re-run following a failure.
19/08/2015 14:30:43:587 80% completed
2015-08-19 14:30:48,547 
[uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener:192] ERROR - 
Execution thrown when attempting to executeInTransaction the StepExecution.  
All database activity rolled back.
java.lang.ArrayIndexOutOfBoundsException: 10
    at uk.ac.ebi.interpro.scan.io.match.prints.PrintsMatchParser.parse(PrintsMatchParser.java:78)
    at uk.ac.ebi.interpro.scan.management.model.implementations.prints.ParsePrintsOutputStep.execute(ParsePrintsOutputStep.java:74)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:86)
    at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    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.$Proxy95.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener.onMessage(LocalJobQueueListener.java:180)
    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:701)
2015-08-19 14:30:48,652 
[uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:24] FATAL 
- Analysis step 41 : Parse the output from FingerPrintScan for proteins 1 to 3 
has failed irretrievably.  Available StackTraces follow.
2015-08-19 14:30:48,652 
[uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:41] FATAL 
- The JVM will now exit with a non-zero exit status.
2015-08-19 14:30:48,652 
[uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:107] 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:49)
    at uk.ac.ebi.interpro.scan.jms.main.Run.main(Run.java:290)
InterProScan analysis failed. Exception thrown by StandaloneBlackBoxMaster. 
Check the log file for details

What version of the product are you using? On what operating system?
interproscan-5.14-53.0 on linux (ubantu one)

Please provide any additional information below.
I am using,
1. java version "1.6.0_35"
OpenJDK Runtime Environment (IcedTea6 1.13.7) (6b35-1.13.7-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

2. This is perl 5, version 14, subversion 2 (v5.14.2) built for 
x86_64-linux-gnu-thread-multi
(with 57 registered patches, see perl -V for more detail)

Copyright 1987-2011, Larry Wall

3. Python 2.7.3

Original issue reported on code.google.com by mirzagol...@gmail.com on 19 Aug 2015 at 9:40

Attachments:

GoogleCodeExporter commented 8 years ago
Plz, will somebody help me out

Original comment by mirzagol...@gmail.com on 21 Aug 2015 at 7:13

GoogleCodeExporter commented 8 years ago

Original comment by Mr.Matth...@gmail.com on 21 Aug 2015 at 7:42

GoogleCodeExporter commented 8 years ago
Hi,

This isn't an error I've seen before, but it could be input sequence related. 
Do all your sequences conform to this: 
https://code.google.com/p/interproscan/wiki/InputFormat 

"InterProScan 5 supports unaligned sequences only. Sequences should contain 
only valid IUPAC amino acid or nucleic acid characters. In addition gap ('-'), 
period ('.'), asterix or underscore symbols are not allowed and should produce 
warnings..."

If you still have problems then is it a certain sequence/small selection of 
sequences causing this? If you are happy to share, you can send us a test input 
so we can see if we have the same problem.

Thanks,

Matt

Original comment by Mr.Matth...@gmail.com on 21 Aug 2015 at 8:14

GoogleCodeExporter commented 8 years ago

Hi,
thanks for replying. 
I suspected the same and have spent 3-4 days trying to figure it out. I 
converted all my sequences to fasta format using the tool 
"http://www.ebi.ac.uk/Tools/services/rest/emboss_seqret/result/emboss_seqret" 
to make sure.

I am attaching a set of my sequences. Kindly let me know the problem.

Original comment by mirzagol...@gmail.com on 21 Aug 2015 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago
I've tried your xaa.txt fasta files with the 64-bit released and it works fine.

Have you changed any of the entries in the properties file? Binaries? Are you 
able to identify which sequence is the problem?

The stack trace suggests PRINTS - do the other member databases work as 
expected (i.e. using -appl with either just PRINTS or everything except PRINTS)?

Simon

Original comment by s...@ebi.ac.uk on 21 Aug 2015 at 10:02

GoogleCodeExporter commented 8 years ago
I am new to linux based system/ softwares.
I have downloaded and installed it exactly according to the commands given on 
https://code.google.com/p/interproscan/wiki/ and checked (md5), the 
installation was successful. I haven't made any changes 'coz I don't really 
know how to. 
Can u please elaborate your comment-
"he stack trace suggests PRINTS - do the other member databases work as 
expected (i.e. using -appl with either just PRINTS or everything except 
PRINTS)?"
What would you suggest?

Original comment by mirzagol...@gmail.com on 21 Aug 2015 at 10:14

GoogleCodeExporter commented 8 years ago
If the file is running successfully in your system, this means that the seq 
format is ok. What command did you use to run my file? What command line would 
you suggest me to execute the job?

Original comment by mirzagol...@gmail.com on 21 Aug 2015 at 10:17

GoogleCodeExporter commented 8 years ago
The file certainly looked correctly formatted. Try running just PRINTS:

./interproscan.sh -i xaa.fa -o xaa-1.tsv -appl PRINTS -f tsv

or everything else:

./interproscan.sh -i xaa.fa -o xaa-1.tsv -appl 
ProDom,Hamap,SMART,ProSiteProfiles,ProSitePatterns,SUPERFAMILY,Gene3D,PIRSF,Pfam
 -f tsv

Original comment by s...@ebi.ac.uk on 21 Aug 2015 at 10:38

GoogleCodeExporter commented 8 years ago
thank you, I'll try these and let you know the results.

Original comment by mirzagol...@gmail.com on 21 Aug 2015 at 11:36

GoogleCodeExporter commented 8 years ago

The second command worked, thank you so much. But,
I have a question, when this Interproscan is standalone, why it needs net 
connectivity? Is continuous net connectivity mandatory?

The net connectivity was lost and I got these msgs-

The pre-calculated match lookup service has been configured in the 
interproscan.properties file.  
  precalculated match lookup service url : http://www.ebi.ac.uk/interpro/match-lookup
  precalculated match lookup service proxy host :   proxy port : 3128

Unfortunately the web service has failed. Check the configuration of this 
service
in the interproscan.properties file and, if necessary, set the following 
property to look like this:

precalculated.match.lookup.service.url=

If the problem persists, check if this is a firewall or proxy issue. If it is a 
proxy issue, then setting 
the following property in the interproscan.properties file should work:

precalculated.match.lookup.service.proxy.host=
precalculated.match.lookup.service.proxy.port=

If this still does not work please inform the InterPro team of this error
by sending an email to:

interhelp@ebi.ac.uk

In the meantime, the analysis will continue to run locally.

Original comment by mirzagol...@gmail.com on 22 Aug 2015 at 4:36

GoogleCodeExporter commented 8 years ago
2nd Que,
-appl PRINTS didn't work, will it effect my outcome?

Original comment by mirzagol...@gmail.com on 22 Aug 2015 at 4:42

GoogleCodeExporter commented 8 years ago
and can you suggest possible reason & solution for failure of "PRINTS"
In the prints folder within bin, I can see only one fingerPRINTScan executable 
file.

Original comment by mirzagol...@gmail.com on 22 Aug 2015 at 5:08

GoogleCodeExporter commented 8 years ago
How can I get the output in svg format using the above command line

./interproscan.sh -i xaa.fa -o xaa-1.tsv -appl 
ProDom,Hamap,SMART,ProSiteProfiles,ProSitePatterns,SUPERFAMILY,Gene3D,PIRSF,Pfam
 -f tsv

I used
./interproscan.sh -i xab-1.fa -o xab-1.svg.tar.gz -appl 
ProDom,Hamap,SMART,ProSiteProfiles,ProSitePatterns,SUPERFAMILY,Gene3D,PIRSF,Pfam
 -f svg

it gave
"You must indicate a single output format excluding HTML and SVG using the -f 
option if you wish to set an explicit output file name"

Original comment by mirzagol...@gmail.com on 24 Aug 2015 at 7:44

GoogleCodeExporter commented 8 years ago
We're unable to reproduce the problem with prints here. I've just re-built the 
fingerPRINTScan binary (attached 64-bit version). Could you please try this?

Either

mv bin/prints/fingerPRINTScan bin/prints/fingerPRINTScan.old
cp <attached file> bin/prints/fingerPRINTScan

or

cp <attached file> bin/prints/fingerPRINTScan.test
edit interproscan.properties and set:
binary.fingerprintscan.path=bin/prints/fingerPRINTScan.test

Regards,

Simon

Original comment by s...@ebi.ac.uk on 24 Aug 2015 at 10:29

Attachments:

GoogleCodeExporter commented 8 years ago
Regarding SVG output - you can do this:

-f svg -b xab-1

and that will output the tar archive xab-1.svg.tar.gz

Original comment by s...@ebi.ac.uk on 24 Aug 2015 at 10:57

GoogleCodeExporter commented 8 years ago
Hi,

Simon's replied to most of your other points already, here's #10 and #11:

Comment #10: As part of an InterPro data release we pre-calculate the matches 
for the known sequences in the database. Therefore if you search InterProScan 
with a known sequence then to improve performance we don't re-calculate 
everything from scratch, we just return the matches from the lookup service 
http://www.ebi.ac.uk/interpro/match-lookup

It's a service shared by many InterProScan users and there was a temporary 
technical issue over the weekend where this service failed, apologies for that. 
It seems OK now though.  

There is an option of installing your own lookup service as described 
https://github.com/ebi-pf-team/interproscan/wiki/LocalLookupService

Or you can use the -dp option to disable the service (so everything is 
calculated from scratch). See usage instructions: 
https://github.com/ebi-pf-team/interproscan/wiki/HowToRun

And for your point #11 - you can run InterProScan without the PRINTS analysis, 
but by turning it off you won't get any PRINTS matches. Simon's suggestions may 
help...

Also please note that Google code website is shutting down soon and the content 
will be read-only from tomorrow. Therefore the InterProScan documentation is 
moving to GitHub: https://github.com/ebi-pf-team/interproscan/wiki

Thanks,

Matt

Original comment by Mr.Matth...@gmail.com on 24 Aug 2015 at 12:18