How to generate a multiple HMM file with HMMER?
1
2
Entering edit mode
7.5 years ago
yarmda ▴ 40

I want to generate a file that contains multiple HMMs, one each for given genes. HMMER documentation says this can be done, if created from a file containing more than one multiple sequence alignments. Further in HMMER docs, it says that a multiple MSA file must be in "Stockholm format," as the writers did not know of another format that could allow for a multiple MSA file.

HMMER can produce Stockholm-formatted MSAs, but it creates them from HMMs, not from actual reads. Creating Stockholm-formatted MSAs with HMMER from an HMM that wasn't produced from a Stockholm-formatted MSA also loses out on the important Stockholm-format MSA headers, so this approach did not work.

My goal is to use HMMER to query HMMs for multiple genes simultaneously or iteratively without needing to specify many different file names. I do not believe i can simply concatenate HMM files, either.

Can anyone suggest a way to produce an MSA in Stockholm format from reads or to work around this problem altogether?

HMMER MSA Stockholm • 6.9k views
ADD COMMENT
1
Entering edit mode

Yes, you can simply concatenate HMMER profile HMM files.

ADD REPLY
0
Entering edit mode

Simply copy&paste the .hmm files into one text file? Can you please clarify?

ADD REPLY
2
Entering edit mode
7.5 years ago
Sej Modha 5.3k

According to HMM docs:

hmmbuild reads a multiple sequence alignment file alignfile , builds a new profile HMM, and saves the HMM in hmmfile. alignfile may be in ClustalW, GCG MSF, or SELEX alignment format.

ADD COMMENT
0
Entering edit mode

SELEX approximates the Stockholm format used by pfam

http://www.csb.yale.edu/userguides/seq/hmmer/docs/node30.html

ADD REPLY

Login before adding your answer.

Traffic: 2725 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6