Encoding | |
---|---|
ubase = new usm('acggctgctatctgcgtacggtcgac') | |
uprobe = new usm('aaagctatctgaaaggtcaaa',ubase.abc) | |
u = new usm(null, 'acgt') | |
Reviewing coordinates of positions highlighted in Table 1 and 2 | |
ubase.cgrForward[7] | uprobe.cgrForward[4] |
[0.4225834224013004, 0.6976523056276487] | [0.2517343767806896, 0.502943755599859] |
ubase.cgrBackward[7] | uprobe.cgrBackward[4] |
[0.3390888473255761, 0.8645502159677478] | [0.33679262961989864, 0.8595585153381897] |
Calculating one step at a time, and | |
u.distCGR([0.4225834224013004, 0.6976523056276487],[0.2517343767806896, 0.502943755599859]) 2 | |
u.distCGR([0.3390888473255761, 0.8645502159677478],[0.33679262961989864, 0.8595585153381897]) 7 | |
Applying Equation 5 directly to find length of similar segment = 2+7-1 = 8 | |