TreeFam HMM library
The TreeFam HMM library is based upon the Panther database (version 9) . In order to define a common and comprehensive set of HMMs to be used across all the Ensembl divisions we added extra families defined in the TreeFam database (version 9), and built new ones to model gene-families that were not previously described in either databases.
The gene models used in this study come from the version 82 of Ensembl, and version 29 of Ensembl Genomes. We selected all the genomes used in the protein-tree analysis of these databases to maximize the coverage of the tree of life. We used sequences from 708 species, of which 313 fungi, 130 protists, 41 plants, 119 metazoans (incl. 64 chordates) and 105 bacteria.
The procedure to build the HMM library is described here:
- We first removed the redundancy between Panther 9 and TreeFam 9. This was done by:
- Emitting consensus sequences from the 15,736 TreeFam 9 HMM profiles.
- Classifying them against the 7,181 Panther 9 profiles with PantherScore.
- 13,638 TreeFam 9 families that had a hit on the Panther 9 profiles were discarded from the overall library.
- 2,098 TreeFam families remained after this filter.
- We classified all the available sequences (8,488,481) according to their scores to these HMM profiles using PantherScore.
- We used Mafft  to align all these clusters.
- We used TrimAl  and Notung  to estimate the quality of the alignments, and also computed metrics such as the percentage of gaps in the alignment.
We identified a number of very large Panther families and decided to promote their sub-families HMMs (as defined in the Panther database) to the family rank in order to replace the Family HMM. After this step, the library is composed of 38,554 HMMs coming from Panther (5,103 from families, and 33,451 from sub-families).
- We reclustered all the sequences against the new library.
- Sequences that did not match any of the profiles were then clustered together with hcluster_sg (a hierarchical clustering software for sparse graphs ) using a blast all-vs-all approach (see the Protein-Tree pipeline documentation).
- Given the large number (404,108) of clusters we applied further filtering and quality-control checks. We used the following metrics and evaluated different thresholds.
- Taxonomic coverage (ratio of taxa present in a particular HMM profile vs all the taxa in our species tree) for each member in all the clusters.
- Minimum number of genes
- Minimum number of species
- Clusters with at least 3 different species for protists division only
- Clusters with at least 5 different species for all other divisions
- The new clusters (92,663) built with hcluster_sg that passed the filtering step were prefixed with TF6xxxxx in order to diferentiate them from previous TreeFam families.
- We used Mafft to align all these clusters, and built HMM profiles on them. We calibrated most of the profiles (the calibration of a few very big alignments has failed)
|Total number of families before filtering:||404,108|
|Total number of families after filtering:||128,233|
Breakdown by source and nomenclature:
Notes and References
- PANTHER HMM scoring tools - Version 1.03. Can be downloaded here
Mafft: Katoh K, Standley DM. "MAFFT multiple sequence alignment software version 7: improvements in performance and usability." Mol Biol Evol. 2013 Apr;30(4):772-80
We use the version 7.113 with the command line options: --auto
- Li, H et al., Hcluster_sg: hierarchical clustering software for sparse graphs.
- "trimAl: a tool for automated alignment trimming in large-scale phylogenetic analyses." Salvador Capella-Gutierrez; Jose M. Silla-Martinez; Toni Gabaldon. Bioinformatics 2009 25: 1972-1973.
- "A Inferring duplications, losses, transfers and incomplete lineage sorting with nonbinary species trees." M. Stolzer, H. Lai, M. Xu, D. Sathaye, B. Vernot, D. Durand. 2012. Bioinformatics, 28 (18): i409-i415.