Skip to main content
  • Methodology article
  • Open access
  • Published:

HaMStR: Profile hidden markov model based search for orthologs in ESTs



EST sequencing is a versatile approach for rapidly gathering protein coding sequences. They provide direct access to an organism's gene repertoire bypassing the still error-prone procedure of gene prediction from genomic data. Therefore, ESTs are often the only source for biological sequence data from taxa outside mainstream interest. The widespread use of ESTs in evolutionary studies and particularly in molecular systematics studies is still hindered by the lack of efficient and reliable approaches for automated ortholog predictions in ESTs. Existing methods either depend on a known species tree or cannot cope with redundancy in EST data.


We present a novel approach (HaMStR) to mine EST data for the presence of orthologs to a curated set of genes. HaMStR combines a profile Hidden Markov Model search and a subsequent BLAST search to extend existing ortholog cluster with sequences from further taxa. We show that the HaMStR results are consistent with those obtained with existing orthology prediction methods that require completely sequenced genomes. A case study on the phylogeny of 35 fungal taxa illustrates that HaMStR is well suited to compile informative data sets for phylogenomic studies from ESTs and protein sequence data.


HaMStR extends in a standardized manner a pre-defined set of orthologs with ESTs from further taxa. In the same fashion HaMStR can be applied to protein sequence data, and thus provides a comprehensive approach to compile ortholog cluster from any protein coding data. The resulting orthology predictions serve as the data basis for a variety of evolutionary studies. Here, we have demonstrated the application of HaMStR in a molecular systematics study. However, we envision that studies tracing the evolutionary fate of individual genes or functional complexes of genes will greatly benefit from HaMStR orthology predictions as well.


The amount of protein-coding DNA sequences in the public data bases is steadily increasing. This data is mainly generated by the sequencing and annotation of entire genomes and by numerous EST sequencing projects. Approaches to resolve the evolutionary relationships of eukaryotes on a molecular basis -frequently referred to as molecular systematics- particularly benefit from this data. Recent studies on the evolution of metazoans and fungi present trees with 40 to 77 taxa, reconstructed from more than 140 genes [16]. Still, these studies consider only a small fraction of the data available. For example, as of May 2008 dbEST contains 714 eukaryotic taxa with more than 2.000 ESTs each, and 394 taxa have more than 10,000 ESTs Despite the potential value of ESTs especially for molecular systematics [7] this data has rarely been used in phylogenetic studies so far. This is due to the fact that ESTs are redundant, short and of low sequence quality. Plenty of solutions exist to improve data quality by cleaning and clustering of ESTs sequences prior to analysis [810]. However, annotating ESTs and more importantly inferring their relationships to known genes in other taxa is still problematic.

For most molecular systematics approaches only sequences are admissible for which the orthology [11] or co-orthology [12] to the other sequences in the dataset is known, or at least reasonable to assume [6] (but see [13]). A variety of tools exist to define groups of orthologous proteins. Among these, phylogeny-based programs, such as RIO [14], reveal the lowest fraction of false positives in a comparison of 10 programs for orthology/homology inference [15]. It is obvious that methods depending on a known species tree are not applicable if the aim is to infer the phylogenetic relationships of taxa. However, more recent approaches have found solutions to overcome this strict dependence on a known species tree, e.g., [16]. The reciprocal best BLAST hit criterion (RBH) between pairs of sequences from two taxa, is frequently used to infer orthology when the species tree is unknown. Orthology predictions from the RBH method have a very low false positive rate [15]. However, ortholog groups are ultimately confined to two sequences. Thus, co-orthologs resulting from gene duplications after the separation of the compared taxa are missed. Several variations exist to extend RBH ortholog groups to allow for the addition of co-orthologs [12] and/or to extend the prediction to more than two taxa [1719].

Orthology prediction methods based on the RBH criterion have been designed for, and successfully applied to, inference of ortholog groups for taxa for which the entire genome has been sequenced. Their application to EST based data sets, however, is not straightforward. Incomplete representation of a species' gene set, especially in small EST projects, depreciates a reciprocal best BLAST hit as an indicator of orthology. Moreover, the coding sequence of a gene can be tagged by two or more non-overlapping ESTs. Methods such as InParanoid [12] or orthoMCL [18] will in most cases add only one of the ESTs to the ortholog cluster. Both programs allow for more than one sequence per species in an ortholog cluster, only when the intra-specific similarity for the sequences in the cluster is higher than the sequence similarity between species. However, the intra-specific similarity between non-overlapping ESTs derived from the same gene is approximately that of two randomly chosen and unrelated sequences.

To use EST data in molecular systematics, sequences have been initially BLASTed against a protein sequence database, e.g., the non-redundant protein database at NCBI, and the highest scoring hits are taken to tentatively annotate the EST sequences [20]. Post-processing of the BLAST results to infer the orthology status of the query-hit pair ranged then from the application of simple e-value cutoffs, e.g., [21], to more complex procedures including Markov Clustering and visual inspection of individual sequence trees [2]. Problematic to these approaches is that they unduly substitute e-values of a BLAST result with evolutionary relationships, involve too many human interactions to be routinely applied, or suffer from the conceptual problem of Markov Clustering when applied to non-overlapping sequence fragments representing the same protein.

Here we present a novel approach, HaMStR, to extend predefined groups of orthologous genes derived from taxa, whose genomes have been fully sequenced with data from further taxa. We show that the joint application of a profile Hidden Markov Model (pHMM) based similarity search and a subsequent re-BLAST of the hit sequences against a reference proteome identifies candidate orthologs. HaMStR exhibits a very low false positive rate and good sensitivity. The resulting collection of orthologous sequences provides an excellent basis for phylogeny reconstruction.



Step 1 Defining a Gene Set for the Ortholog Search

1.1 Generation of core-orthologs

As input we introduce the primer-taxa (set) where each taxon is completely sequenced and where the phylogeny of the primer-taxa is undisputed. Standard orthology prediction tools such as InParanoid [12] or orthoMCL [18] can be applied to identify genes with orthologs present in all primer taxa, the so called core-ortholog groups. For this study we compute orthologs for each pair of taxa with InParanoid [12]. The pair-wise orthology predictions are subsequently extended to include all primer taxa by using a criterion of transitive closure (InParanoid-TC). We end up with a collection of core-orthologs where in each individual core-ortholog every primer taxon is represented exactly once. Details about this procedure are provided online (see Additional file 1).

1.2 Generation of profile Hidden Markov Models

For each sequence cluster in the core-orthologs, the sequences are aligned using MAFFT [22] with the options --maxiterate 1000 and --localpair. The resulting multiple sequence alignments, comprising the n sequences from the primer-taxa are then converted into a profile Hidden Markov Model (pHMM) [23]. The programs hmmbuild and hmmcalibrate from the HMMER package are used for building, training and calibrating the pHMMs. Each core-ortholog is now represented by a pHMM.

Step 2 Extension of core-orthologs

We now extend the core-orthologs with data from additional taxa, the query-taxa. As data may serve translated ESTs, or protein sequences inferred from either complete or partially sequenced genomes.

2.1 pHMM search

We use a fast implementation of the hmmsearch algorithm to search protein sequence data from the query-taxon for matches to the individual pHMMs. If ESTs are the data for the query taxa, the individual ESTs are translated in all six reading frames prior to the search.

2.2 Re-BLAST and orthology prediction

To determine the orthology status of the hmmsearch hits, we use a reciprocity criterion (Figure 1). Each hit is compared by BLASTP [24] to the proteome of one of the primer-taxa, the so-called reference-taxon (Proteome F in Figure 1). Ideally, the reference-taxon should be the closest related primer-taxon to the query-taxon. If the protein of the reference taxon that contributed to the pHMM provides the best BLASTP hit, then the hmmsearch hit is added to the corresponding core-ortholog. Otherwise, it is discarded. Please note that the reciprocity criterion is also fulfilled when the reference protein is among the lower ranking BLASTP hits, but has the same score as the top listed hit in the BLASTP output.

Figure 1
figure 1

Workflow of the HaMStR approach. Standard orthology prediction tools are used to identify orthologous groups, the so called core-orthologs, for a set of completely sequenced primer taxa (Proteome A - F). The sequences in a core-ortholog are aligned and converted into a profile HMM (pHMM). A compilation of protein sequences or translated ESTs from a taxon not included in the primer-taxa (Protein set G) is searched for hits with the pHMM. The resulting candidates display features that are characteristic for the protein modelled by the pHMM. To determine the orthology status of the candidates, we introduce a reciprocity criterion. Each candidate is compared by BLASTP with the proteome of one of the primer-taxa, the so-called reference-taxon (Proteome F). If the best BLASTP hit sequence from the reference taxon corresponds to the protein that contributed to the pHMM, the candidate is called candidate-ortholog, else it is discarded.

2.3 Post-processing of ESTs

To account for possible frame shifts caused by sequencing errors in ESTs we use genewise [25] to generate a codon-alignment for the EST and the protein sequence of the reference-taxon. This alignment determines the coding part together with the reading frame in the EST.


We next test the versatility of HaMStR. The data for this step are summarized in Table 1.

Table 1 Overview of the data and data sources used in this study

We analyze three scenarios. In all cases we wanted to detect orthologs in the human proteome, where the primer-taxa set consists of opossum (Monodelphis domestica), sea squirt (Ciona intestinalis), fruit fly (Drosophila melanogaster), worm (Caenorhabditis elegans), and a fungus (Saccharomyces cerevisiae). The corresponding core-ortholog set (PoP) represents 994 genes.

In the first scenario, we carried out step 1 of HaMStR and extracted the opossum proteins from the 994 core-orthologs. Then we used InParanoid to infer the corresponding orthologs in the human proteome. InParanoid identified 979 human-opossum ortholog clusters. For 15 opossum genes InParanoid did not find a human ortholog.

In the second scenario, we applied step 2 of HaMStR with the opossum as reference-taxon instead of using InParanoid. If HaMStR predicts more than one ortholog, we use ClustalW [26] to align all candidates individually to the opossum protein in the corresponding core-ortholog. The human proteins are then ranked according to their alignment score. HaMStR predicted 976 human orthologs. For the remaining 18 core-orthologs no human counterpart was found.

For 972 core-orthologs the top ranking HaMStR ortholog is the same as those found with InParanoid (Table 2). Four human genes that have been found with InParanoid were not detected in step 2 of HaMStR. In all instances, InParanoid identified several proteins as co-orthologs to the human gene. However, only one of these opossum sequences was used to train the corresponding pHMMs. During the re-BLAST (c.f. 2.2), a different co-ortholog from the same InParanoid-ortholog cluster was obtained as the best BLASTP hit. Thus, the reciprocity criterion was not fulfilled and HaMStR did not make an orthology prediction.

Table 2 Ortholog search for 994 evolutionary conserved genes in the human proteome

One human gene was found with HaMStR but not with InParanoid.

For three core-orthologs InParanoid and HaMStR suggested different human proteins. For the core-ortholog represented by the opossum protein ENSMODP00000017416 InParanoid and HaMStR suggest as orthologs the proteins ENSP00000363169 and ENSP00000371363, respectively. Both proteins are InParanoid co-orthologs with respect to Ciona and with respect to fishes. It appears plausible, that the gene duplication giving rise to the protein pair ENSP00000363169/ENSP00000371363 occurred recently, and presumably around the same time as the split of the human and opossum lineages. This view is supported by the observation that the BLAST score (InParanoid) of ENSMODP0000017416/ENSP00000363169 exceeds the score of ENSMODP0000017416/ENSP00000371363, whereas the scores of the global alignment (HaMStR) produce the opposite result. Moreover, orthoMCL [18] groups both human proteins together with the opossum protein in the same ortholog cluster. A similar scenario applies to the second case where InParanoid and HaMStR disagree (Table 2). In the third case, ENSP00000222402 is according to HaMStR ortholog to the M. domestica protein ENSMODP00000011077 whereas it is ortholog to ENSMODP00000017386 according to InParanoid. The latter protein, however, is present only as a truncated sequence in our set of opossum proteins, lacking 8 amino acids. This truncation results in the same BLASTP score in the re-BLAST (c.f. 2.2) between ENSP00000222402 and both opossum proteins. Again, orthoMCL groups these proteins into the same ortholog cluster.

In summary, the HaMStR strategy is suitable for identifying orthologs for a pre-defined gene set. The results are consistent with those obtained with one of the most efficient existing orthology prediction programs. For 168 core-orthologs, more than 1 human protein was assigned as a putative ortholog. A detailed description of these lower ranking hits is given in the online supplementary material (see Additional file 2).

The HaMStR approach is efficient in identifying orthologs when the entire sequence of the query protein is known. In scenario 3, we assess the performance of HaMStR when using translated ESTs. In many molecular systematics studies, EST projects are typically small [21, 27, 7]. To assess the performance of HaMStR in such cases, we did not cluster the ESTs. Each single EST is now an input for HaMStR.

As a typical example we selected 32,647 ESTs derived from human chromosome 2 according to the following criteria: A Blat search [28] with each EST against the human genome sequence must obtain a best hit on chromosome 2 covering at least 90% of the EST. Moreover, the best Blat hit must be located between the annotated start, and the end of the transcript of an annotated gene (Ensembl database;, and must overlap with a coding exon. The 32,647 ESTs (hchr2-ESTs) map to 1,106 genes. From the analyses in scenario 1 and 2 we know that only 81 of these are represented by core-orthologs in the PoP primer-taxa set. This set of 81 human chromosome 2 genes is tagged by 6,288 ESTs (19%).

From the 32,647 hchr2-ESTs that served as HaMStR input, 29,293 were not assigned to any of the 994 core-orthologs (Table 3). The remaining 3,354 ESTs are highly enriched (97%) with ESTs tagging the 81 genes that are represented in the PoP set. More precisely, 3,243 ESTs were assigned correctly to 72 core-orthologs. The remaining 3% were assigned to two core-orthologs for which the human gene is not located on chromosome 2.

Table 3 HaMStR ortholog search in human chromosome 2 ESTs

In summary, only 2 out of 74 core-orthologs were wrongly extended with EST sequences. Also, on the EST level only 111 ESTs were assigned to the wrong ortholog cluster. Thus, the false positive rate was in both cases very low (~3%).

The sensitivity for detecting an ortholog was also good. From the 81 orthologs present on human chromosome 2 and represented by at least 1 hchr2-EST, HaMStR identified 72 (89%). On the level of individual EST sequences, however, the sensitivity was substantially reduced. The 72 genes for which HaMStR predicted orthologs correctly are represented by 5,899 hchr2-ESTs. HaMStR detected only 3,243 (55%) of these. The ESTs, that HaMStR failed to assign, covered on average less than 13% of the coding sequence of the corresponding gene. Thus, the encoded protein fragment is too short to result in a significant hit in the HaMStR search. Figure 2 displays the dependency of the search result on the fraction of the coding sequence (CDS) covered by an EST. The length distribution of the missed ESTs explains why 9 core-orthologs represented by 389 hchr2-ESTs have been missed entirely. For these ESTs the average coding sequence coverage was in the range of 13%.

Figure 2
figure 2

Sensitivity of HaMStR as a function of CDS coverage. Fraction of the coding sequence (CDS) covered by the ESTs that have been correctly annotated and missed by HaMStR, respectively.

Some ESTs, however, have not been assigned even though the encoded protein fragment should be of sufficient length (Figure 2). A visual inspection of a subset of these ESTs indicates that most of them comprise splice variants lacking one or several exons (data not shown).

In summary, the false positive rate of HaMStR is convincingly small and the sensitivity depends strongly on the fraction of the CDS covered by an EST.

To increase the sensitivity of HaMStR, we re-designed the pHMMs such that local alignments between sequence and pHMM are generated during the search (options to the hmmbuild command). Using HaMStR with the modified pHMMs, it assigned 5,796 ESTs correctly to all 81 core-orthologs. Compared to the search with the default pHMM structures, this indeed results in a substantially higher sensitivity both on the level of detected genes and ESTs (100% and 92%, respectively). However, 256 ESTs were incorrectly assigned to 11 core-orthologs for which the human ortholog is not located on human chromosome 2. Thus, the gain in sensitivity leads to a pronounced increase of false positive predictions (12%).

Proof of principle: An EST based phylogeny of Fungi

We have shown that HaMStR efficiently extends core-orthologs with protein or translated EST sequences from further taxa. Now we explore the applicability of the HaMStR approach for large-scale phylogenomic analyses. To this end we analyzed the proteome from 16 completely sequenced fungi and EST data from further 18 fungi (c.f. Table 1). For taxa where ESTs and an annotated proteome are available, we use the ESTs. The collection of 35 taxa, including yeast, is a subset of the taxon set in Fitzpatrick et al. (2006) [3].

HaMStR with H. sapiens, C. intestinalis, D. melanogaster, C. elegans, and S. cerevisiae as primer taxa was used to compile the sets of orthologs. S. cerevisiae was used as the reference-taxon. Please note that we replaced M. domestica that was used in the PoP set with H. sapiens, since the human genome sequence is considered finished. After running HaMStR with 1,031 core-orthologs and the data from 34 fungi, we obtained a set of extended core-orthologs. For completely sequenced taxa orthologs to almost all genes in the core-ortholog set were found (min: 933 (Y. lipolytica), max: 999 (K. lactis), mean: 973). For taxa represented by only a few ESTs, the number of detected orthologs ranges from 112 (T. asperellum) to 953 (A. nidulans) with a mean of 453. Thus, we have an incomplete taxa-gene matrix.

For the subsequent maximum likelihood tree reconstruction we used 178 genes. Each gene represents at least 40% of the taxa and at the same time each taxon is represented by at least 60% of these genes. The resulting tree has excellent branch support (Figure 3) and is by and large congruent to the phylogeny of these taxa, that was inferred from an analysis of their entire genomes [3]. Only two taxa are differently placed. Staganospora nodorum, a dothideomycete, is placed as a sister taxon to the Eurotiomycetes, whereas it is sister to the Sordariomycetes/Leothiomycetes clade in Fitzpatrick et al. (2006) [3]. Aspergillus nidulans is positioned basal to the other Aspergillus species instead of grouping together with A. fumigatus. We cannot rule out the possibility that the differences might be due to erroneous orthology predictions by HaMStR. However, the following explanations argue against a wrong prediction.

Figure 3
figure 3

A maximum likelihood phylogeny of 35 fungi based on 178 genes. Unless otherwise stated, all splits in the tree have bootstrap support values of 100. For taxa in all upper case letters the annotated proteome was used. For the remaining taxa orthologs were predicted from ESTs.

For S. nodorum, the entire annotated proteome was used. As exemplified in our validation of HaMStR (c.f. Table 2), errors in the orthology prediction are unlikely for entire proteomes. The discrepancy between both trees may be caused by the fact that S. nodorum is the only representative of the Dothideomycetes. Together with the short internal branches in this region of the trees an accurate placement of this single taxon is difficult [29]. Moreover, as of today, the Fungi section of the ITOL-project considers the placement of Dothideomycetes as still unresolved.

A. nidulans, the second problematic taxon, is the only Aspergillus species in our data for which orthologs are derived from ESTs. No quality information was available for these sequences, indicating that sequencing errors could interfere with the correct placement of A. nidulans in our phylogenetic tree. However, our A. nidulans placement agrees with other results [30].

Our example clearly shows that HaMStR is well suited to compile phylogenomic datasets, including incomplete sequence data like ESTs or unfinished whole genome sequencing projects.


We offer the HaMStR tool online and for download at Currently, the users can search EST data for orthologs to core-orthologs derived from six predefined sets of primer-taxa, covering different regions of the metazoan tree. The reference-taxon for the re-BLAST can be selected from the taxa that constitute the primer-taxa. To increase EST data quality, we provide options to clean and cluster EST data, taking into account user information about base qualities [31] of the uploaded sequences. The output gives information to which core-ortholog set a particular EST was assigned to. Links to detailed information about the protein of the chosen reference taxon for the re-BLAST are also provided. A fasta-file containing the sequences of the proteins in the core-ortholog cluster together with a tentative translation of the annotated EST sequence can be downloaded. An example-output is provided on the HaMStR web pages.


ESTs constitute a paradigm of a random sample of fragments from a species' gene set. We show that HaMStR is capable of automatically predicting orthologs for a pre-defined set of genes (core-orthologs) in such data. The results are consistent with orthology predictions obtained with reciprocal BLAST based orthology prediction tools, which however require completely sequenced and annotated genomes. HaMStR performs a targeted search to extend predefined ortholog clusters derived from the analysis of complete genome sequences. This approach has three major advantages.

First, we search for orthologs only to genes for which whole genome comparisons provide prior evidence that orthologs can be identified. For example, core-orthologs including sequences from fungi and animals represent evolutionary old genes that were already present in the last common ancestor of both groups. Thus, an ortholog search for these genes in incomplete and fragmentary data, such as ESTs, from fungi or animals has a good chance of success. In the other extreme, genes with predicted orthologs confined to e.g. vertebrates are presumably of evolutionary recent origin or have diverged beyond recognition in taxa outside the vertebrates. Thus, a search for orthologs in ESTs from non-vertebrates will probably fail.

Second, the pHMMs constructed from the core-orthologs allow for a more refined ortholog search compared to a conventional BLAST. In our case example with the human ESTs HaMStR has a very low fraction of false positives (3%, c.f. Table 3). The low fraction of false positive orthology predictions by HaMStR comes at the price of low sensitivity. This is due to the fact that we try to match the pHMM over its entire length to the individual query sequences. ESTs, however, are generally short and cover in most cases only a fraction of the coding sequence. Our search may, therefore, be too stringent. Clustering ESTs prior to the HaMStR search is an obvious strategy to address this problem. However, especially in small EST projects many genes will have only a small fraction of their CDS covered by ESTs, even after clustering. Performing local alignments between sequence and pHMM substantially increases the sensitivity both on the level of detected genes and ESTs (100% and 92%, respectively). Thus, the gain in sensitivity leads to a pronounced increase of false positive predictions (12%). Still, this false positive rate is substantially smaller compared to that of other orthology prediction programs based on a reciprocal best BLAST hit when used with ESTs (data not shown). However, this emphasizes that short local similarities between sequences make orthology inference hard. Most studies -particularly in molecular systematics- rely on an accurate orthology prediction and results can be severely compromised by false positives in the data set. It is a major advance of HaMStR that it automatically filters sequences for which the orthology prediction is unreliable and we suggest using the global pHMM search as default.

Third, HaMStR is computationally efficient. The use of core-orthologs limits the search to only those genes where we expect to find orthologs. Moreover, also targeted ortholog searches are possible.

The performance of HaMStR depends on the choice of the primer-taxa and on the method to determine the core-orthologs. Primer-taxa should cover the diversity of the taxa of interest and thus constitute a scaffold of the corresponding phylogenetic tree. To address the evolutionary relationships of 35 fungal taxa we have used H. sapiens, C. intestinalis, D. melanogaster, C. elegans, and S. cerevisiae as primer-taxa. In principle, a primer taxon set including several fungi is more appropriate. It would minimize the evolutionary distance to the taxon in which the HaMStR search will be performed. It would also allow searching for orthologs to genes that emerged on the fungal lineage or got lost in metazoa. However, we deliberately did not adapt the primer-taxa. By doing so, we addressed the question of how phylogenomic datasets compiled with HaMStR perform, when no or only a single completely sequenced genome exists for a taxon group of interest. The reconstructed tree for the 35 fungi is entirely resolved, highly supported and compatible to other published phylogenies [3, 30]. This indicates that HaMStR, together with this primer-taxon set serves in general as a good starting point for any phylogenomic study within fungi and animals.

For building and training of the pHMMs, a large number of diverse primer-taxa is favorable. However, this holds only if the annotation of genes in the individual genomes is comprehensive. Despite the small set of primer-taxa, each core-ortholog was extended by at least one fungal sequence. Thus, the considerably small set of sequences used to train the pHMMs appears not to impair the sensitivity of the ortholog search in this particular case.

We determined the core-orthologs with InParanoid-TC (see Additional file 1). However, HaMStR allows the use of core-orthologs determined with any orthology prediction method, e.g., orthoMCL [18]. By that HaMStR can be adapted to the particular evolutionary problem one is interested in. If the HaMStR output serves as a data basis for a standard phylogenomics study, many approaches require that each taxon should be represented only by one sequence per gene. In such cases core-orthologs determined with InParanoid-TC or the recently developed OMA-algorithm [32] are a good starting point for HaMStR. On the other hand, if one is interested in the evolution of a gene family, it may be desirable that the ortholog cluster used by HaMStR also contains co-orthologs. In such cases ortholog groups from more inclusive orthology prediction programs can be used as core-orthologs.


HaMStR extends in a standardized manner a pre-defined set of orthologs with proteins or ESTs from further taxa. A profile Hidden Markov Model that captures the essential features of the known orthologs is used in the ortholog search. The introduction of a reciprocity criterion into the ortholog search makes the orthology predictions symmetric, as is the case when complete proteomes are compared. Variation of the pHMM structure allows searches at different stringency. One may either carry out an alignment of part of the EST- or protein sequence against the entire profile (stringent), or a local alignment of the sequence against part of the profile (relaxed). Profile HMMs used in the HaMStR search can be based on arbitrary primer-taxa and any source of initial orthology predictions. Thus, our procedure is applicable regardless of the molecular systematics problem one is interested in. Testing the performance of HaMStR on a test set of human EST sequences revealed a remarkably low false positive rate of the orthology predictions with good sensitivity. The reconstruction of a phylogenetic tree for 35 fungal taxa based on 178 genes shows that HaMStR can compile informative data sets for contemporary phylogenomic studies. Our procedure may help to standardize data acquisition for studies in molecular systematics, allowing for a better comparability between individual results.


For phylogeny reconstruction we aligned the ortholog cluster individually with MAFFT --maxiterate 1000 --localpair [22]. The alignments were concatenated using the perl script Alignment columns containing more than 50% undetermined amino acid positions or gaps were removed with the perl script Both scripts are available upon request. Maximum likelihood phylogeny reconstruction was performed with RAxML [33]. The consensus tree from 100 bootstrap replicates was computed with TREE-PUZZLE [34] and the percentages of bootstrap trees supporting a split in the consensus tree were used as branch support values. All datasets compiled in this study are available upon request.


  1. Baurain D, Brinkmann H, Philippe H: Lack of resolution in the animal phylogeny: closely spaced cladogeneses or undetected systematic errors?. Mol Biol Evol. 2007, 24 (1): 6-9. 10.1093/molbev/msl137.

    Article  CAS  PubMed  Google Scholar 

  2. Dunn CW, Hejnol A, Matus DQ, Pang K, Browne WE, Smith SA, Seaver E, Rouse GW, Obst M, Edgecombe GD, et al: Broad phylogenomic sampling improves resolution of the animal tree of life. Nature. 2008, 452 (7188): 745-749. 10.1038/nature06614.

    Article  CAS  PubMed  Google Scholar 

  3. Fitzpatrick DA, Logue ME, Stajich JE, Butler G: A fungal phylogeny based on 42 complete genomes derived from supertree and combined gene analysis. BMC Evol Biol. 2006, 6: 99-10.1186/1471-2148-6-99.

    Article  PubMed Central  PubMed  Google Scholar 

  4. Delsuc F, Brinkmann H, Philippe H: Phylogenomics and the reconstruction of the tree of life. Nat Rev Genet. 2005, 6 (5): 361-375. 10.1038/nrg1603.

    Article  CAS  PubMed  Google Scholar 

  5. Philippe H, Lartillot N, Brinkmann H: Multigene analyses of bilaterian animals corroborate the monophyly of Ecdysozoa, Lophotrochozoa, and Protostomia. Mol Biol Evol. 2005, 22 (5): 1246-1253. 10.1093/molbev/msi111.

    Article  CAS  PubMed  Google Scholar 

  6. Dutilh BE, van Noort V, Heijden van der RT, Boekhout T, Snel B, Huynen MA: Assessment of phylogenomic and orthology approaches for phylogenetic inference. Bioinformatics. 2007, 23 (7): 815-824. 10.1093/bioinformatics/btm015.

    Article  CAS  PubMed  Google Scholar 

  7. Hughes J, Longhorn SJ, Papadopoulou A, Theodorides K, de Riva A, Mejia-Chang M, Foster PG, Vogler AP: Dense taxonomic EST sampling and its applications for molecular systematics of the Coleoptera (beetles). Mol Biol Evol. 2006, 23 (2): 268-278. 10.1093/molbev/msj041.

    Article  PubMed  Google Scholar 

  8. Li S, Chou HH: LUCY2: an interactive DNA sequence quality trimming and vector removal tool. Bioinformatics. 2004, 20 (16): 2865-2866. 10.1093/bioinformatics/bth302.

    Article  CAS  PubMed  Google Scholar 

  9. Pertea G, Huang X, Liang F, Antonescu V, Sultana R, Karamycheva S, Lee Y, White J, Cheung F, Parvizi B, et al: TIGR Gene Indices clustering tools (TGICL): a software system for fast clustering of large EST datasets. Bioinformatics. 2003, 19 (5): 651-652. 10.1093/bioinformatics/btg034.

    Article  CAS  PubMed  Google Scholar 

  10. Parkinson J, Anthony A, Wasmuth J, Schmid R, Hedley A, Blaxter M: PartiGene – constructing partial genomes. Bioinformatics. 2004, 20 (9): 1398-1404. 10.1093/bioinformatics/bth101.

    Article  CAS  PubMed  Google Scholar 

  11. Fitch WM: Distinguishing homologous from analogous proteins. Syst Zool. 1970, 19 (2): 99-113. 10.2307/2412448.

    Article  CAS  PubMed  Google Scholar 

  12. Remm M, Storm CE, Sonnhammer EL: Automatic clustering of orthologs and in-paralogs from pairwise species comparisons. J Mol Biol. 2001, 314 (5): 1041-1052. 10.1006/jmbi.2000.5197.

    Article  CAS  PubMed  Google Scholar 

  13. Sanderson MJ, McMahon MM: Inferring angiosperm phylogeny from EST data with widespread gene duplication. BMC Evol Biol. 2007, 7 (Suppl 1): S3-10.1186/1471-2148-7-S1-S3.

    Article  PubMed Central  PubMed  Google Scholar 

  14. Zmasek CM, Eddy SR: RIO: analyzing proteomes by automated phylogenomics using resampled inference of orthologs. BMC Bioinformatics. 2002, 3: 14-10.1186/1471-2105-3-14.

    Article  PubMed Central  PubMed  Google Scholar 

  15. Chen F, Mackey AJ, Vermunt JK, Roos DS: Assessing performance of orthology detection strategies applied to eukaryotic genomes. PLoS ONE. 2007, 2 (4): e383-10.1371/journal.pone.0000383.

    Article  PubMed Central  PubMed  Google Scholar 

  16. Heijden van der RT, Snel B, van Noort V, Huynen MA: Orthology prediction at scalable resolution by phylogenetic tree analysis. BMC Bioinformatics. 2007, 8: 83-10.1186/1471-2105-8-83.

    Article  PubMed Central  PubMed  Google Scholar 

  17. Tatusov RL, Natale DA, Garkavtsev IV, Tatusova TA, Shankavaram UT, Rao BS, Kiryutin B, Galperin MY, Fedorova ND, Koonin EV: The COG database: new developments in phylogenetic classification of proteins from complete genomes. Nucleic Acids Res. 2001, 29 (1): 22-28. 10.1093/nar/29.1.22.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  18. Li L, Stoeckert CJ, Roos DS: OrthoMCL: identification of ortholog groups for eukaryotic genomes. Genome Res. 2003, 13 (9): 2178-2189. 10.1101/gr.1224503.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  19. Alexeyenko A, Tamas I, Liu G, Sonnhammer EL: Automatic clustering of orthologs and inparalogs shared by multiple proteomes. Bioinformatics. 2006, 22 (14): e9-15. 10.1093/bioinformatics/btl213.

    Article  CAS  PubMed  Google Scholar 

  20. Quackenbush J, Cho J, Lee D, Liang F, Holt I, Karamycheva S, Parvizi B, Pertea G, Sultana R, White J: The TIGR Gene Indices: analysis of gene transcript sequences in highly sampled eukaryotic species. Nucleic Acids Res. 2001, 29 (1): 159-164. 10.1093/nar/29.1.159.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  21. Roeding F, Hagner-Holler S, Ruhberg H, Ebersberger I, von Haeseler A, Kube M, Reinhardt R, Burmester T: EST sequencing of Onychophora and phylogenomic analysis of Metazoa. Mol Phylogenet Evol. 2007, 45 (3): 942-951.

    Article  CAS  PubMed  Google Scholar 

  22. Katoh K, Kuma K, Toh H, Miyata T: MAFFT version 5: improvement in accuracy of multiple sequence alignment. Nucleic Acids Res. 2005, 33 (2): 511-518. 10.1093/nar/gki198.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  23. Durbin R, Eddy S, Krogh A, G M: Biological sequence analysis: probabilistic models of proteins and nucleic acids. 1998, Cambridge: Cambridge University Press

    Chapter  Google Scholar 

  24. Altschul SF, Madden TL, Schaffer AA, Zhang J, Zhang Z, Miller W, Lipman DJ: Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. Nucleic Acids Res. 1997, 25 (17): 3389-3402. 10.1093/nar/25.17.3389.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  25. Birney E, Clamp M, Durbin R: GeneWise and Genomewise. Genome Res. 2004, 14 (5): 988-995. 10.1101/gr.1865504.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  26. Thompson JD, Higgins DG, Gibson TJ: CLUSTAL W: improving the sensitivity of progressive multiple sequence alignment through sequence weighting, position-specific gap penalties and weight matrix choice. Nucleic Acids Res. 1994, 22 (22): 4673-4680. 10.1093/nar/22.22.4673.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  27. Ruiz-Trillo I, Roger AJ, Burger G, Gray MW, Lang BF: A phylogenomic investigation into the origin of metazoa. Mol Biol Evol. 2008, 25 (4): 664-672. 10.1093/molbev/msn006.

    Article  CAS  PubMed  Google Scholar 

  28. Kent WJ: BLAT-the BLAST-like alignment tool. Genome Res. 2002, 12 (4): 656-664.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  29. Philippe H, Delsuc F, Brinkmann H, Lartillot N: Phylogenomics. Annu Rev Ecol Evol Syst. 2005, 36: 541-562. 10.1146/annurev.ecolsys.35.112202.130205.

    Article  Google Scholar 

  30. Galagan JE, Calvo SE, Cuomo C, Ma LJ, Wortman JR, Batzoglou S, Lee SI, Basturkmen M, Spevak CC, Clutterbuck J, et al: Sequencing of Aspergillus nidulans and comparative analysis with A. fumigatus and A. oryzae. Nature. 2005, 438 (7071): 1105-1115. 10.1038/nature04341.

    Article  CAS  PubMed  Google Scholar 

  31. Ewing B, Green P: Base-calling of automated sequencer traces using phred. II. Error probabilities. Genome Res. 1998, 8 (3): 186-194.

    Article  CAS  PubMed  Google Scholar 

  32. Roth AC, Gonnet GH, Dessimoz C: Algorithm of OMA for large-scale orthology inference. BMC Bioinformatics. 2008, 9 (1): 518-10.1186/1471-2105-9-518.

    Article  PubMed Central  PubMed  Google Scholar 

  33. Stamatakis A: RAxML-VI-HPC: maximum likelihood-based phylogenetic analyses with thousands of taxa and mixed models. Bioinformatics. 2006, 22 (21): 2688-2690. 10.1093/bioinformatics/btl446.

    Article  CAS  PubMed  Google Scholar 

  34. Schmidt HA, Strimmer K, Vingron M, von Haeseler A: TREE-PUZZLE: Maximum likelihood phylogenetic analysis using quartets and parallel computing. Bioinformatics. 2002, 18: 502-504. 10.1093/bioinformatics/18.3.502.

    Article  CAS  PubMed  Google Scholar 

Download references


The authors acknowledge financial support by the Wiener Wissenschafts-, Forschungs- und Technologie Fonds (WWTF), and from the DFG priority program SPP 1174 Deep Metazoan Phylogeny. The authors would also like to thank Martin Grabner for help in retrieving the human EST data, Pham Minh Phuong for setting up the HaMStR web site, and Tina Koestler and Jayne Ewing for critical reading of the manuscript.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Ingo Ebersberger.

Additional information

Authors' contributions

IE designed the study, wrote the software and performed all analyses. SST compiled the data and participated in the data analysis. IE and AvH wrote the manuscript and all three authors read and approved the final version of the manuscript.

Electronic supplementary material

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Authors’ original file for figure 1

Authors’ original file for figure 2

Authors’ original file for figure 3

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Ebersberger, I., Strauss, S. & von Haeseler, A. HaMStR: Profile hidden markov model based search for orthologs in ESTs. BMC Evol Biol 9, 157 (2009).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: