Closed zhangchiqian closed 4 years ago
we have tested interproscan-5.42-78.0 on Ubuntu 18.04 with Python 3.6.x up to 3.7.6 and it works fine. You are using python 3.8 which seems to have introduced changes that break interproscan, so I would suggest you use any of Python 3.6.x up to 3.7.6
Thanks a lot for the reply. I will follow your guidance and install the pipeline with Python 3.6 or 3.7. Then, I will report the results here. However, Python 3.8 is installed on my Ubuntu system-wide, and I do not want to downgrade it. Do you think that it is possible I create a condo environment with Python 3.6/3.7 and then install the pipeline? Many thanks!
conda environment with Python 3.6/3.7 should work
interproscan now works on python 3.8
I have installed the newest version of interproscan-5.42-78.0 on my Ubuntu 18.04 64 bit (a VirtualBox based guest OS on Windows 10). On Ubuntu, I first created a fresh condo environment and then installed interproscan-5.42-78.0. I checked and made sure that my java, perl, and python3 meets the pre-requirement. I then installed interproscan-5.42-78.0. After installation, I first run ./interproscan.sh, which seems all right and did not give me any errors. I then run ./interproscan.sh -i ~/Documents/Interproscan_5/interproscan-5.42-78.0/test_proteins.fasta -f tsv -d ~/Documents/Inter5_Rst and got the following error message. I searched on-line but could not clove the issues. Can anyone help me for that? Thanks!
03/04/2020 17:58:51:209 Welcome to InterProScan-5.42-78.0 03/04/2020 17:58:51:211 Running InterProScan v5 in STANDALONE mode... on Linux 03/04/2020 17:59:44:920 Loading file /home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/test_proteins.fasta 03/04/2020 17:59:44:960 Running the following analyses: [CDD-3.17,Coils-2.2.1,Gene3D-4.2.0,Hamap-2020_01,MobiDBLite-2.0,Pfam-32.0,PIRSF-3.02,PRINTS-42.0,ProSitePatterns-2019_11,ProSiteProfiles-2019_11,SFLD-4,SMART-7.1,SUPERFAMILY-1.75,TIGRFAM-15.0] 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. 03/04/2020 18:00:46:493 25% completed ERROR: uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep - Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - Execution thrown when attempting to executeInTransaction the StepExecution. All database activity rolled back. java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - The exception is : java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - 2. The exception is :java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - StepExecution with errors - stepName: stepMobiDBRunBinary WARN : uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster - StepInstance 13 is being re-run following a failure. ERROR: uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep - Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - Execution thrown when attempting to executeInTransaction the StepExecution. All database activity rolled back. java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - The exception is : java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - 2. The exception is :java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - StepExecution with errors - stepName: stepMobiDBRunBinary WARN : uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster - StepInstance 13 is being re-run following a failure. ERROR: uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep - Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - Execution thrown when attempting to executeInTransaction the StepExecution. All database activity rolled back. java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - The exception is : java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - 2. The exception is :java.lang.IllegalStateException: Command line failed with exit code: 1 Command: python3 bin/mobidb/2.0/mobidb_lite.py /home/zhangchiqian/temp/zhangchiqian-VirtualBox_20200403_175911547_7c80//jobMobiDBLite/000000000001_000000000006.fasta Error output from binary: Traceback (most recent call last): File "bin/mobidb/2.0/mobidb_lite.py", line 197, in
logger.set_logger(ARGS.log, ARGS.logLevel)
File "/home/zhangchiqian/Documents/Interproscan_5/interproscan-5.42-78.0/bin/mobidb/2.0/mdblib/logger.py", line 17, in set_logger
logging.basicConfig(level=level,
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 1987, in basicConfig
fmt = Formatter(fs, dfs, style)
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/home/zhangchiqian/miniconda3/envs/Inter5/lib/python3.8/logging/init.py", line 428, in validate
if not self.validation_pattern.search(self._fmt):
TypeError: expected string or bytes-like object
ERROR: uk.ac.ebi.interpro.scan.jms.worker.LocalJobQueueListener - StepExecution with errors - stepName: stepMobiDBRunBinary FATAL: uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError - Analysis step 13 : Run mobi-db Binary for selected proteins for proteins 1 to 6 has failed irretrievably. Available StackTraces follow. FATAL: uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError - The JVM will now exit with a non-zero exit status. ERROR: uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster - 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:147) at uk.ac.ebi.interpro.scan.jms.main.Run.main(Run.java:460) 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:147) at uk.ac.ebi.interpro.scan.jms.main.Run.main(Run.java:460) 18:02:32.942 [amqEmbeddedWorkerJmsContainer-6] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 42102, SQLState: 42S02 18:02:37.562 [amqEmbeddedWorkerJmsContainer-6] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Table "TIGRFAM_HMMER3_RAW_MATCH" not found; SQL statement: insert into public.tigrfam_hmmer3_raw_match (loc_fragment_dcs_tatus, location_end, location_start, model_id, numeric_sequence_id, sequence_id, signature_library, sig_lib_release, evalue, hmm_bounds, hmm_end, hmm_start, location_score, score, domain_bias, domain_ce_value, domain_ie_value, envelope_end, envelope_start, expected_accuracy, full_sequence_bias, split_group, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42102-199] InterProScan analysis failed. Exception thrown by StandaloneBlackBoxMaster. Check the log file for details