Skip to main content


Springer Nature is making SARS-CoV-2 and COVID-19 research free. View research | View latest news | Sign up for updates

Figure 1 | Source Code for Biology and Medicine

Figure 1

From: A web server for interactive and zoomable Chaos Game Representation images

Figure 1

Algorithm for CGR and k -mer table. (a) CGR is generated by iterating the movement of pointer to the midpoint of current position and the vertex corresponding to the next nucleotide within a given sequence in reverse order. Here the reverse order is used to match the coordinate system of CGR and k-mer table. (b) k-mer table is generated by repeated division of the square into four quadrants representing the four nucleotides. Note that ACGT position is identical in CGR and k-mer table.

Back to article page