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

Hi:

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

GSC

 

hmmer hmm hmmpress • 2.1k views
ADD COMMENTlink modified 13 months ago by satanicodr100 • written 3.1 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.1 years ago • written 3.1 years ago by SES8.0k
0
gravatar for nkotowski
2.9 years ago by
nkotowski0
Spain
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 :)

Regards,

Nelson.

ADD COMMENTlink written 2.9 years ago by nkotowski0
0
gravatar for satanicodr
13 months ago by
satanicodr100
satanicodr100 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 13 months ago by satanicodr100
Please log in to add an answer.

Help
Access

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