Closed Artifice120 closed 4 months ago
Think I found something. This seems to be the original sin.
Opened data/pfam/37.0/pfam_a.hmm.h3m, a pressed HMM file; but format of its .h3i file unrecognized
When I open pfam_a.hmm.h3i the file is blank; however the md5sum is ok.
interproscan-data-5.68-100.0.tar.gz: OK
Maybe a older version will have the file pair in whivh case will just use that one and change the version name
the pressed files are not included in the tarballs, only the hmm files.
You can recreate the pressed files by running:
python3 setup.py -f interproscan.properties
Unfortunate.
The interproscan.properties file is read-only in the container.
Is there a way to make a copy of the container that is editable?
You are right that did create the pressed files. The program is running fine now.
Thanks.
EDIT: Ended up having to just run HMMpress on all of the data folder hmm files with a separate hmm installation since I kept having the same error for each hmm file in the data folder for whatever reason.
@Artifice120 Can you please explain how you resolved this error? I am running into the same issue while running
singularity exec -B /home/nthosar9846/tools/interproscan-5.71-102.0/data:/opt/interproscan/data -B /home/nthosar9846/esx_pe_ppe/interpro_input/:/input -B /home/nthosar9846/esx_pe_ppe/temp:/temp -B /home/nthosar9846/esx_pe_ppe/interpro_output:/output /home/nthosar9846/tools/interproscan_latest.sif /opt/interproscan/interproscan.sh --input /input/all_hypothetical_proteins.fasta --disable-precalc --output-dir /output --tempdir /temp --cpu 8
I get this error
Error: File format problem in trying to open HMM file data/pfam/37.0/pfam_a.hmm. Opened data/pfam/37.0/pfam_a.hmm.h3m, a pressed HMM file; but format of its .h3i file unrecognized
I followed the steps from the release notes to run interpro using singularity.
I downloaded interproscan-data-5.71-102.0.tar.gz but there is no setup.py in the data folder. Do I need to download the tarball binary files ?
I was able to run python3 setup.py -f interproscan.properties
in the singularity shell, but how do I recreate the pressed files outside the shell?
When I received that same error I checked the location
/home/nthosar9846/tools/interproscan-5.71-102.0data/pfam/37.0/
The directory did not have the .hmm version on the file.
I ended up installing the HMMpress program separately with conda
conda create -p path/to/new/env/name
conda install -c bioconda hmmer
conda activate path/to/new/env/name
I then just went into the directory mentioned in the error and ran hmmpress command after removing the 3m files
Afternoon,
While running the following command :
I receive this error
Not sure what is wrong since this is running within a container and I have access to the referenced folders.