Download HMMingbird: A parallel compiler for Hidden Markov Models
Transcript
6 Comparisons 16 No. of Seq. 2500 5000 7500 10000 HMMingbird 0.126 0.149 0.206 0.222 HMMoC1.3 2.611 5.526 8.406 11.028 Speed Up 20.72 37.09 40.81 49.68 Fig. 7: HMMingbird versus HMMoC1.3 on the Occasionally Dishonest Casino As a simple test for speed versus HMMoC we use a set of pre-generated sequences of various lengths. 6.2 Profile Hidden Markov Model The structure of a profile hidden markov model is described in Section 3.2. A profile HMM is one of the most widely used applications for HMM within bioinformatics. HMMER is a tool that can create profile HMM’s and use them to search vast databases of sequences. It has been in development for over fifteen years, and is highly optimised. In particular, it uses forms of corner cutting to remove swathes of computations. Various attempts have been made to port HMMER to use GPU’s. The most widely known example is GPU-HMMER [11], which provides a CUDA based mechanism for searching databases. 7 Time in Seconds 6 5 4 HMMingbird HMMer2 GPU-HMMeR 3 2 1 0 5000 13355 25000 50000 75000 Number of Sequences Fig. 8: Chart for a 10 state profile recognising the Thymidine kinase (TK) family, using the viterbi algorithm to determine the best scoring path. Our results show a significant (x2-x4) increase over HMMER, in line with the performance gains shown by GPUHMMER. It is particularly worth noting that GPU-HMMER is a hand-coded and optimised application for a specific subset of HMM’s, yet HMMingbird outperforms it by between 15%-45% in these tests. Examining the two programs under a profiler suggests that GPU-HMMER has a faster kernel, however this is offset by an inefficient data transfer process. Another note of caution is that GPU-HMMER does some post-processing, which may also account for some of the difference. No. of Seq. 5000 13355 25000 50000 75000 HMMoC1.3 4.809s 25.68s 49.548s 90.8s 168.376s HMMingbird 0.161s 0.449s 0.65s 1.111s 1.638s Speed Up x29.87 x57.19 x76.23 x81.73 x102.79 Fig. 9: Speed up versus HMMoC We also see significant performance gains when compared to HMMoC, with greater gains as we evaluate larger and larger sequence databases.