Question: hmmpress error with a hmm database
gravatar for shyamgc01
3.7 years ago by
United States
shyamgc010 wrote:


I am trying to create a hmm database from individual hmm profiles downloaded from pfam db. I ran cat command on all the .hmm files and created a flat file of hmm database. when I ran hmmpress on this flat file i am getting the following error:

Error: bad file format in HMM file myhmm

Can anyone help me to solve this problem.


Thank you



hmmer hmm hmmpress • 2.7k views
ADD COMMENTlink modified 20 months ago by satanicodr110 • written 3.7 years ago by shyamgc010

Perhaps you have a mismatch between your versions of hmmpress and the models? I just ran through the same steps with a set of HMMs using hmmpress version 3.1b1 (the latest) and it worked just fine.

ADD REPLYlink modified 3.7 years ago • written 3.7 years ago by SES8.1k
gravatar for satanicodr
20 months ago by
satanicodr110 wrote:

I found the answer elsewhere. To solve this issue you need to convert the different versions of the individual hmms to the most recent version using hmmconvert.

hmmconvert <old_hmm>  >  <new_hmm_name.hmm>

Then you can concatenate and press the database.

for i in `ls *hmm | sed 's/.hmm//g'`; do hmmconvert ${i}.hmm > ${i}_new.hmm;done
cat *_new.hmm >> database.hmm
hmmpress database.hmm
ADD COMMENTlink written 20 months ago by satanicodr110
gravatar for nkotowski
3.5 years ago by
nkotowski0 wrote:

Hi folks, I am facing the same issue here. I have double checked HMMER version, 3.1b1. I wonder if there are any limits related to the profile database size. I performed a cat on my HMMbuild profiles and ended up with a 14GB profile database. Is this a problem, I mean, is HMMPRESS able to process such a large profile database?

Help, please :)



ADD COMMENTlink written 3.5 years ago by nkotowski0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 850 users visited in the last hour