基於 Profile HMM 的第三代定序之長序列錯誤自更正演算法
A Profile HMM-Based Error Self-Correction Algorithm for Third Generation Sequencing Long Reads
摘要
高通量及高精確度的次世代定序發展至今已相當成熟,但是僅有數百長度的缺點使得它難以處理複雜基因組區段。第三代定序採單分子實時定序原理,其序列長度長達數萬鹼基,能良好被應用在基因組組裝和結構變異偵測等等。然而長定序技術尚未進展成熟,其資料錯誤率高達15%左右,在高精度需求的分析 (如:基因分型) 無法與次世代定序競爭。因此近年有研究者著重研究錯誤更正演算法,目的是僅透過計算方法將現有長定序資料之錯誤率降低,提高可用程度。
現行長定序錯誤更正演算法可劃分為兩大類:一是有次世代定序資料之輔助的混和式更正;二是只依靠長序列間的重疊資訊產生共識序列的自更正。由於自更正演算法不需要短定序資料,相較之下大幅節省了定序的時間與金錢成本,成為目前更正演算法的主流。現今長定序自更正演算法的相關研究有Canu、CONSENT與LoRMA等等,在我們實測部分工具後,發現更正成效仍有進步空間,且某些工具會過度裁切甚至丟棄它們無法更正的序列,丟失定序資訊將會不易下游應用,例如導致更正序列組裝後的結果甚至不如原始序列。
我們研發出一套基於機率統計模型的自更正演算法工具:Triceps,先利用對齊工具找出長序列間的重疊資訊後,使用分治法切分重疊區域,在計算出重疊序列的多重序列對齊後,以Profile Hidden Markov Model表達該多重序列對齊,並以Viterbi演算法解析出隱含狀態路徑求得共識序列,最後再利用EM演算法重複更正,得出最有可能的共識序列。
本研究使用模擬工具產生具有正確答案的資料,以不同定序深度的資料測試後,我們的Triceps在深度70下有99.89%的更正成效,在深度20仍有99%左右的表現。後續基因組裝的成效也勝過其他工具 (CONSENT、Canu與LoRMA),其長度最高甚至有2倍的差距,具有一定的實用價值。
現行長定序錯誤更正演算法可劃分為兩大類:一是有次世代定序資料之輔助的混和式更正;二是只依靠長序列間的重疊資訊產生共識序列的自更正。由於自更正演算法不需要短定序資料,相較之下大幅節省了定序的時間與金錢成本,成為目前更正演算法的主流。現今長定序自更正演算法的相關研究有Canu、CONSENT與LoRMA等等,在我們實測部分工具後,發現更正成效仍有進步空間,且某些工具會過度裁切甚至丟棄它們無法更正的序列,丟失定序資訊將會不易下游應用,例如導致更正序列組裝後的結果甚至不如原始序列。
我們研發出一套基於機率統計模型的自更正演算法工具:Triceps,先利用對齊工具找出長序列間的重疊資訊後,使用分治法切分重疊區域,在計算出重疊序列的多重序列對齊後,以Profile Hidden Markov Model表達該多重序列對齊,並以Viterbi演算法解析出隱含狀態路徑求得共識序列,最後再利用EM演算法重複更正,得出最有可能的共識序列。
本研究使用模擬工具產生具有正確答案的資料,以不同定序深度的資料測試後,我們的Triceps在深度70下有99.89%的更正成效,在深度20仍有99%左右的表現。後續基因組裝的成效也勝過其他工具 (CONSENT、Canu與LoRMA),其長度最高甚至有2倍的差距,具有一定的實用價值。
The development of high-throughput and high-precision next-generation sequencing is mature, but the shortcomings of length make it difficult to handle complex genome regions. Third-generation sequencing adopts the principle of single molecule real-time sequencing, and its sequence length is tens of thousands of bases, which can be well applied to genome assembly and structural variation detection, etc.
The current long reads error correction algorithms are categorized into two types. One is the hybrid correction assisted by the next-generation sequencing data. The other is the self-correction of the consensus sequence that only relies on the overlapping information between the long reads. Since the self-correcting algorithm does not require short reads data, it saves a lot of time and money for sequencing and has become the mainstream of the current correction algorithm. Current research on long-sequencing self-correction algorithms includes Canu, CONSENT, LoRMA, etc. After testing some tools, we found that there is still room for improvement in the correction effect, and some methods will over-cut or even discard reads that they cannot correct. The loss of sequencing information will be difficult for downstream applications. For example, the result after assembly of the corrected reads is even worse than the original sequence.
We have developed a set of self-correcting algorithm tools based on probabilistic models: Triceps. First, use the alignment tool to find the overlap information between the long-sequences, then use the divide-and-conquer method to segment the overlap area. After computing the multiple sequence alignment (MSA) of the overlapping sequence, use the Profile Hidden Markov Model to express MSA, and use the Viterbi algorithm to estimate the hidden state path to obtain the consensus sequence. Finally, use the EM algorithm to repeat the correction to compute the most likely consensus sequence.
This study uses the simulator to generate data with correct answers. After testing with different sequencing depths, Triceps have a correction effect of 99.89% at a depth of 70x. And it still has a performance of about 99% at a depth of 20x. The effectiveness of genome assembly is also better than other tools (CONSENT, Canu, and LoRMA), and its length is even twice as long, showing a practical value.
The current long reads error correction algorithms are categorized into two types. One is the hybrid correction assisted by the next-generation sequencing data. The other is the self-correction of the consensus sequence that only relies on the overlapping information between the long reads. Since the self-correcting algorithm does not require short reads data, it saves a lot of time and money for sequencing and has become the mainstream of the current correction algorithm. Current research on long-sequencing self-correction algorithms includes Canu, CONSENT, LoRMA, etc. After testing some tools, we found that there is still room for improvement in the correction effect, and some methods will over-cut or even discard reads that they cannot correct. The loss of sequencing information will be difficult for downstream applications. For example, the result after assembly of the corrected reads is even worse than the original sequence.
We have developed a set of self-correcting algorithm tools based on probabilistic models: Triceps. First, use the alignment tool to find the overlap information between the long-sequences, then use the divide-and-conquer method to segment the overlap area. After computing the multiple sequence alignment (MSA) of the overlapping sequence, use the Profile Hidden Markov Model to express MSA, and use the Viterbi algorithm to estimate the hidden state path to obtain the consensus sequence. Finally, use the EM algorithm to repeat the correction to compute the most likely consensus sequence.
This study uses the simulator to generate data with correct answers. After testing with different sequencing depths, Triceps have a correction effect of 99.89% at a depth of 70x. And it still has a performance of about 99% at a depth of 20x. The effectiveness of genome assembly is also better than other tools (CONSENT, Canu, and LoRMA), and its length is even twice as long, showing a practical value.