Interactive, iterative searches using jackhmmer

It has been a couple of weeks now since we released jackhmmer on the HMMER website and so far (touch wood etc…), it seems to be performing as we had hoped – here on ‘the farm’ we are getting very excited with the results we are observing. 

What is jackhmmer? Jackhmmer is the iterative search method in the HMMER package, analogous to PSI-BLAST.  A typical jackhmmer search starts with a single protein sequence.  This sequence is searched against a target protein sequence database (such as UniProt or NR) by converting the sequence to a profile hidden Markov model (HMM), using a substitution matrix and affine gap penalties.  The target sequences that score above the inclusion threshold from this first search are then aligned and used to construct a second profile HMM.  In this and subsequent iterations, the conservation pattern specific to this alignment is used to determine the probabilities of seeing different amino acids, a deletion or an insertion at each position in the profile HMM.  This second profile HMM is then searched against the same target database and will typically find more distant homologs to the original query sequence.  These new results can then be aligned as before and used to initiate another search (or iteration) and so on.  Sometimes, no additional sequences can be found between iterations and the search is deemed to have converged.

Figure 1 - jackhmmer iteration summary table.

Website jackhmmer additions – the layering of a web interface on top of jackhmmer  has enabled us to provide a few additional features that do not naturally lend themselves to the command line version.  The first is the ability to summarize the results (Figure 1) from each iteration to allow access to each set of results with the same repertoire of views (score, taxonomy and domain based) for their analysis.  This table lists the counts of sequences that are either found, new, lost (no longer found in the results) or dropped (fall below inclusion threshold, but still found in the reported insignificant results).

After navigating through to the results from an iteration, you can access the details of hits gained, lost or dropped. The second is the ability to manually select sequences that are to be included or excluded from the alignment used to produce the profile HMM in subsequent iterations.


Figure 2 - Extra navigation and interactive sequence selection in jackhmmer results


Figure 3 - Use the results from one search to start another

So, why are we excited?  jackhmmer unleashes the power of the sophisticated probabilistic models that underpin profile HMMs. If you are trying to accurately find relationships between sequences, then profile HMMs are the most sensitive tools to use – that is why so many protein family databases use them. But how does this translate to a biologist?  I have looked at several Pfam families that do not currently match a determined three-dimensional structure.  In many cases, simply iterating the Pfam model using jackhmmer, through 2 or 3 iterations against UniProt and then searching with the final profile HMM against the PDB (structure) database frequently identifies significant matches to part of, or all of that family.  Note, there is an option to use the results from one search to start a hmmsearch, so it really is a simple process (figure 3).  Knowing the likely structure of a sequence can generate functional hypothesis and guide many different types of wet lab experiments.

As an example, searching with the Pfam family Coatamer_beta_C against the UniProt sequence database using jackhmmer for just 2 iterations and then once with the profile HMM against PDB allows the identification of the structure 1QTS.  The structure of 1QTS is the carboxyl terminal half of full length AP2A2_MOUSE sequence, the mouse AP-2 alpha subunit, and contains two globular domains, called Alpha_adatinC2 and Alpha_adaptin_C in Pfam.  The N-terminal region of AP2A2_MOUSE that is absent from 1QTS corresponds to the Adaptin_N domain.   The domains found on the full length sequence are found below, Figure 4. Alpha adaptins are  subunits in the important AP-2 adaptor heterotetramer involved in Golgi trafficking. Specifically, this complex regulates the clathrin-bud formation at the cell surface by recruiting clathrin trimers to the plasma membrane and by selecting certain membrane proteins for inclusion within the developing clathrin-coat structure. These functions are performed by discrete subunits of the adaptor heterotetramer. The carboxyl-terminal region (termed appendage) of the AP-2 alpha subunit is thought to regulate the translocation of several endocytic accessory proteins to the bud site.

Figure 4 - Domains found on AP2A2_MOUSE

Examining the domain architecture of the sequences matched by Adaptin_N, reveals that the most abundant associated C-terminal domains are Alpha_adaptinC2/Alpha_adaptinC (the families found in 1QTS), B2-adapt-app_C, Coatamer_beta_C (the family that started this search) and Gamma-COP.  There are also over 1200 sequences where the C-terminal region is not currently covered by a Pfam entry – a likely source of new families.


Figure 5 - Domains commonly associated with Adaptin_N

The RCSB PDB website provides list of similar structures that have been found using the jFATCAT-rigid algorithm.  The list of similar structures to 1QTS includes other structures that are matched by the Alpha_adaptinC2/ Alpha_adaptin_C families and, interestingly, structures are matched by  Gamma-COP family.   This combined with the jackhmmer results and common domain architecture indicates that the Pfam annotated C-terminal regions of these Adaptin_N-containing sequences shown in figure 5 are all evolutionarily related. Furthermore, the Gamma-COP and Coatamer_beta_C domains need to split, based on the structures and would be consistent with the other domains Alpha_adaptinC2. Alpha_adaptinC and B2-adapt-app_C.

After splitting the Gamma-COP and Coatamer_beta_C Pfam families into domains, they can be grouped into Pfam clans. There should be one new Pfam clan, representing Alpha_adaptin_C-like domains. The Alpha_adaptinC2-like regions should be in the E-set clan.

Summary­ – the set of searches described above, which started from a jackhmmer search, has allowed:

  1. Identification of a structural homolog for Coatamer_beta_C
  2. Identification of related Pfam entries (Coatamer_beta_C, Gamma-COP, Alpha_adaptinC2/ Alpha_adaptin_C)
  3. Likely new Pfam entries on those sequeces lacking any C-terminal domains
  4. Refinement of the Pfam domain boundaries for two families (which will result in two additional families)
  5. Proposal of a new Pfam clan
  6. Addition to an existing Pfam clan

Admittedly, some of this could have been determined from analyzing the structures in detail, but would not have included the relationship of  Coatamer_beta_C. However, the point is that the handful of searches performed to get to these results each took a couple of seconds and allowed me to rapidly explore the sequence/structure space, without time to get distracted.  It has taken me far longer to write this blog than it took to perform the analysis!  On behalf of the HMMER team, I hope you find jackhmmer useful!

Posted by Rob

4 thoughts on “Interactive, iterative searches using jackhmmer

  1. Again, very nice demo. Is it also possible to run the HMM webserver in-house? Thereby allowing people to incorporate proprietary datasets and still have the nice visualization of the results.


    • This is on our todo list – we have already been asked this via our mailing lists. Currently, the code is still in flux as we are constantly added new features and looking for speed improvements. As I am sure you can imaging, here are quite a few ‘moving parts’ that we would need to package up, or at the very least document. We are also planning on making EC2 could images of the web and compute servers. We will keep you posted over the coming months!


  2. I’m not sure if this is the proper place to put this, but i have a question about jackhmmer and it’s checkpoint/matrix output format;
    There is a structural program called psipred whose initial steps involve a blastpgp search of a prot seq database with the “-C” option ==> which “stores an input/output checkpoint file in a byte-encoded format”
    Psipred then converts this binary checkpoint file into portable ASCII form using “makemat” (
    I would like to try substituting your jackhmmer program for the blastpgp/psi-blast portion of psipred, and am wondering if any of your checkpoint/matrix output options would be equivalent to either of the two checkpoint formats described above.


    • Not sure I’m parsing your question correctly. jackhmmer has no “checkpoint/matrix output format”. jackhmmer can save its profile HMMs at each iteration; this is roughly equivalent to what psiblast calls its checkpoint files (but in HMMER, it’s just another profile HMM save file, same as what the hmmbuild program would produce).

      To have psipred use HMMER instead of psiblast (which I’d certainly encourage!), psipred would either have to accept a HMMER profile file instead of a psiblast checkpoint file, or you’d have to convert HMMER profile format to PSIBLAST checkpoint format somehow. The former is probably more desirable; there’s going to be unavoidable loss of information in converting a HMMER profile to a PSIBLAST profile.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s