Skip to main content
. Author manuscript; available in PMC: 2019 Oct 28.
Published in final edited form as: KDD. 2012 Aug;2012:262–270. doi: 10.1145/2339530.2339576

Table 4:

An algorithm to convert DNA to time series

T1 = 0, for i = 1 to |DNAstring|
if DNAstringi = A, then Ti+1 = Ti + 2
if DNAstringi = G, then Ti+1 = Ti + 1
if DNAstringi = C, then Ti+1 = Ti − 1
if DNAstringi = T, then Ti+1 = Ti − 2