ebi-pf-team / interproscan

Genome-scale protein function classification
Apache License 2.0
303 stars 67 forks source link

installation issue #339

Closed schmidoletti closed 6 months ago

schmidoletti commented 1 year ago

Hi,

I've followed the instructions for installing Interproscan but so far I have not been successful. Here's everything I did:

uname -a
Linux rick 6.1.26 #76 SMP PREEMPT_DYNAMIC Thu Apr 27 16:34:14 MEST 2023 x86_64 x86_64 x86_64 GNU/Linux
perl -version

This is perl 5, version 32, subversion 0 (v5.32.0) built for x86_64-linux-thread-multi

Copyright 1987-2020, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
python3 --version
Python 3.8.10
java -version
openjdk version "11.0.1-internal" 2018-10-16
OpenJDK Runtime Environment (build 11.0.1-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 11.0.1-internal+0-adhoc..src, mixed mode)
JAVA_HOME=/tmp/global2/code/conda_envs/interproscan/bin/java
export JAVA_HOME

However, when I run interproscan.sh I get the following error:

Error: Unable to initialize main class uk.ac.ebi.interpro.scan.jms.main.Run
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/cli/UnrecognizedOptionException

Thanks for your help.

matthiasblum commented 1 year ago

Sorry for the late reply.

Which version of InterProScan have you downloaded? Can you post the output of ls -l executed in the InterProScan directory?

We provide a Docker image, you can give it a try.