DeepMsa2_noIMG.py encounters hhblits error

Ask, share, and solve problems with our support team.

Moderators: ITASSERteam, junh, XiZhang

Post Reply
dimi
Posts: 4
Joined: Fri May 16, 2025 8:45 pm

DeepMsa2_noIMG.py encounters hhblits error

Post by dimi »

Good afternoon,

When running DeepMSA2_noIMG.py I encounter 2 errors:

First I get the warning: WARNING! No such file .../DeepMSA2/database/UniRef30_2022_02/UniRef30_2022_02.cs219
Fall back to hhblits3. Result may be affected.

I have seen this brought up previously on the forum but never addressed. This is strange since I downloaded the UniRef30_2022_02 folder directly from this website and it contains UniRef30_2022_02_cs219.ffdata and UniRef30_2022_02_cs219.ffindex, but the actual UniRef30_2022_02.cs219 is not there

Second, I get the error:

Error in hhblits: unrecognized HMM file format in '12973060.hhm'.
Context:
'53.a3m

'
grep: /tmp/user/MSA_511076309/hhblits.a3m: No such file or directory
Traceback (most recent call last):
File ".../DeepMSA2/bin/dMSA/scripts/build_MSA.py", line 1118, in <module>
nf=build_MSA(prefix,sequence,tmpdir,db_dict,
File ".../DeepMSA2/bin/dMSA/scripts/build_MSA.py", line 917, in build_MSA
shutil.copyfile(hhblits_prefix+".a3m",prefix+".hhba3m")
File ".../DeepMSA2/anaconda3/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/user/MSA_511076309/hhblits.a3m'


If this issue has occurred before and if there are any known solutions, please let me know.

Thank you,
Dimitris
albert_wei
Site Admin
Posts: 5
Joined: Fri May 16, 2025 10:06 pm

Re: DeepMsa2_noIMG.py encounters hhblits error

Post by albert_wei »

Thank you for your interest in our work.

The first error is caused by the missing of the file ending with .cs219.

The .cs219 file is required by hhblits3. We will regenerate it and update the file on our server within the next few days.

The second error is caused by the unexisting of the file hhblits.a3m.

Can you elaborate in more detail about how the second error occurred?
helena566
Posts: 3
Joined: Thu Aug 07, 2025 2:51 pm

Re: DeepMsa2_noIMG.py encounters hhblits error

Post by helena566 »

I haven't run into it myself yet, but this is helpful to know in case I do.Speed Stars
From the sounds of it, maybe it's a missing symlink or filename mismatch issue? Has anyone tried renaming or symbolic linking the .ffdata/.ffindex files to .cs219 to test if it resolves the fallback warning?"
Last edited by helena566 on Mon Aug 25, 2025 3:29 pm, edited 1 time in total.
dimi
Posts: 4
Joined: Fri May 16, 2025 8:45 pm

Re: DeepMsa2_noIMG.py encounters hhblits error

Post by dimi »

The hhblits error ended up being my fault, one of the databases didnt unzip properly so this is now fixed. However, please let me know if you und up uploading the .cs219 file and how I can download it
albert_wei
Site Admin
Posts: 5
Joined: Fri May 16, 2025 10:06 pm

Re: DeepMsa2_noIMG.py encounters hhblits error

Post by albert_wei »

We are still working on the task and will inform you as soon as the conversion is complete.
salvatorehatfield
Posts: 1
Joined: Mon Sep 15, 2025 10:35 pm

Re: DeepMsa2_noIMG.py encounters hhblits error

Post by salvatorehatfield »

dimi wrote: Mon Jul 14, 2025 4:11 am Good afternoon,

When running DeepMSA2_noIMG.py I encounter 2 errors:

First I get the warning: WARNING! No such file .../DeepMSA2/database/UniRef30_2022_02/UniRef30_2022_02.cs219
Fall back to hhblits3. Result may be affected.

I have seen this brought up previously on the forum but never addressed. This is strange since I downloaded the UniRef30_2022_02 folder directly from this website and it contains UniRef30_2022_02_cs219.ffdata and UniRef30_2022_02_cs219.ffindex, but the actual UniRef30_2022_02.cs219 is not there

Second, I get the error:

Error in hhblits: unrecognized HMM file format in '12973060.hhm'.
Context:
'53.a3m

'
grep: /tmp/user/MSA_511076309/hhblits.a3m: No such file or directory
Traceback (most recent call last):
File ".../DeepMSA2/bin/dMSA/scripts/build_MSA.py", line 1118, in <module>
nf=build_MSA(prefix,sequence,tmpdir,db_dict,
File ".../DeepMSA2/bin/dMSA/scripts/build_MSA.py", line 917, in build_MSA
shutil.copyfile(hhblits_prefix+".a3m",prefix+".hhba3m")
File ".../DeepMSA2/anaconda3/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/user/MSA_511076309/hhblits.a3m'


If this issue has occurred before and if there are any known solutions, please let me know.

Thank you,
Dimitris
I'm encountering two issues when running DeepMSA2_noIMG.py:
Missing .cs219 file:
I downloaded UniRef30_2022_02 from your site, but the file UniRef30_2022_02.cs219 is missing. Only .ffdata and .ffindex are there. Is this expected?
hhblits error:
I get unrecognized HMM file format and later a FileNotFoundError for hhblits.a3m. It seems hhblits fails and doesn't generate the expected output.
Post Reply